@byteluck-fe/model-driven-controls 2.3.13 → 2.3.14

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 M0=Object.defineProperty,N0=Object.defineProperties;var $0=Object.getOwnPropertyDescriptors;var Ic=Object.getOwnPropertySymbols;var L0=Object.prototype.hasOwnProperty,V0=Object.prototype.propertyIsEnumerable;var wc=(h,N,U)=>N in h?M0(h,N,{enumerable:!0,configurable:!0,writable:!0,value:U}):h[N]=U,ve=(h,N)=>{for(var U in N||(N={}))L0.call(N,U)&&wc(h,U,N[U]);if(Ic)for(var U of Ic(N))V0.call(N,U)&&wc(h,U,N[U]);return h},ln=(h,N)=>N0(h,$0(N));var ka=(h,N,U)=>new Promise((ae,on)=>{var Bi=de=>{try{rt(U.next(de))}catch(lt){on(lt)}},Ti=de=>{try{rt(U.throw(de))}catch(lt){on(lt)}},rt=de=>de.done?ae(de.value):Promise.resolve(de.value).then(Bi,Ti);rt((U=U.apply(h,N)).next())});(function(h,N){typeof exports=="object"&&typeof module!="undefined"?N(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],N):(h=typeof globalThis!="undefined"?globalThis:h||self,N(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,N){"use strict";function U(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ae=U(N),on="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Bi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ti="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",rt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",de="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",lt="{caption}\u5FC5\u586B",Ac="\u8BF7\u8F93\u5165\u6807\u9898",Sc="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",_c="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Bc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Tc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Rc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Pc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Dc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",xc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Fc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",kc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Oc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Mc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Nc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",$c="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Lc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Vc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Hc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",jc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",qc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Uc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Wc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Kc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",zc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Gc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Xc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Qc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Jc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Yc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",pc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",es="\u8BF7\u9009\u62E9\u7701",ts="\u8BF7\u9009\u62E9\u5E02",ns="\u8BF7\u9009\u62E9\u533A",is="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",us="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",as="\u8BF7\u8F93\u5165\u5217\u5BBD",rs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ls="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",os="\u8BF7\u9009\u62E9\u63A7\u4EF6",cs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ss="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ds="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",fs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",hs="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ys="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ms="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",vs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",gs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",bs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Es="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Cs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Is="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ws="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",As="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ss="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",_s="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Bs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ts="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Rs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ps="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ds={isNotNumber:on,isNotString:Bi,isNotObject:Ti,isNotArray:rt,isNotBoolean:de,runtimeRequired:lt,pleaseEnterCaption:Ac,pleaseEnterCaptionTip:Sc,pleaseEnterPlaceholder:_c,pleaseEnterFieldCode:Bc,pleaseEnterForm:Tc,pleaseEnterList:Rc,pleaseEnterProcess:Pc,pleaseEnterLabel:Dc,pleaseEnterValue:xc,bizKeyNotBindFiled:Fc,pleaseSelectOneField:kc,pleaseEnterNumberRange:Oc,pleaseEnterAValueGreaterThanMin:Mc,pleaseEnterAValueLessThanMax:Nc,numberRangeSetError:$c,stringRangeError:Lc,attachmentMaxSize:Vc,pleaseEnterTotalScoreSetting:Hc,theTotalScoreMustNotBeLessThan1:jc,scoreDefaultValueRange:qc,attachmentLimitError:Uc,PleaseReselectTheOptionalQuantity:Wc,TheMaximumLengthIsGreaterThanTheMinimumLength:Kc,TheMinimumLengthIsGreaterThanTheMaximumLength:zc,PleaseSelectTheCorrectOptionSettings:Gc,optionIdIsRepeat:Xc,optionIsRequired:Qc,pleaseEnterDataCode:Jc,pleaseEnterValueFieldCode:Zc,pleaseEnterSvcCode:Yc,pleaseBindAtLeastOneDisplayValue:pc,pleaseSelectProvince:es,pleaseSelectCity:ts,pleaseSelectDistrict:ns,limitRowsCannotBeLessThan0:is,TheNumberOfRowsCannotBeLessThanMinRows:us,pleaseEnterColumnWidth:as,pleaseSetTheLogicalRelationshipOfAllRuleConditions:rs,pleaseCompleteAllRulesAndConditions:ls,pleaseSelectControl:os,pleaseSelectAtLeastOneColumn:cs,pleaseSelectFillBackMode:ss,pleaseSelectDashboard:ds,rootNodeIsRequired:fs,theViewNameCannotBeEmpty:hs,pleaseSelectOcrType:ys,pleaseSelectAtLeastOneFieldToFillIn:ms,pleaseChooseAtLeastOne:vs,pleaseEnterButtonContent:gs,pleaseEnterDataCodeInDataSetting:bs,pleaseEnterValueFieldCodeInDataSetting:Es,pleaseEnterSvcCodeInDataSetting:Cs,pleaseBindAtLeastOneDisplayValueInDataSetting:Is,rootNodeIsRequiredInDataSetting:ws,pleaseEnterMaxHeight:As,pleaseEnter:Ss,pleaseEnterWatermark:_s,pleaseEnterFileName:Bs,pleaseUploadAtLeastOnePrintTemplate:Ts,pleaseAssignBusiness:Rs,pleaseAssignExternal:Ps},xs="Please enter a number",Fs="Please enter a string",ks="Please enter an object",Os="Please enter an array",Ms="Please enter a boolean",Ns="{caption} Required",$s="Please enter the title",Ls="Please enter the bubble prompt",Vs="Please enter the prompt text",Hs="Please bind data items",js="Please bind the form",qs="Please bind the list",Us="Please bind the process",Ws="Please enter the displayed value",Ks="Please enter the stored value",zs="The document number is not bound to the data item",Gs="Please select at least one display field",Xs="Please enter a value greater than or equal to {min} and less than or equal to {max}",Qs="Please enter a value greater than or equal to {min}",Js="Please enter a value less than or equal to {max}",Zs="The value range is set incorrectly",Ys="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ps="The attachment size must be between 0MB and 1000MB",ed="Please fill in the total score setting",td="The total score cannot be less than 1",nd="The default value must be between {min} and {max}",id="The number of attachments uploaded must be between {min} and {max}",ud="Please re-select the optional quantity",ad="The maximum length of the control must be greater than the minimum length",rd="The minimum length of the control must be less than the maximum length",ld="Please select the correct option setting",od="Option ID cannot be repeated",cd="Please enter at least one option",sd="Please bind the data source",dd="Please bind the stored value",fd="Please bind the service",hd="At least one display value must be bound",yd="Please select a province",md="Please select a city",vd="Please select a district",gd="The minimum number of lines to fill in cannot be less than 0",bd="The number of rows cannot be less than {min} rows",Ed="Please enter the column width",Cd="Please set the logical relationship of all rule conditions",Id="Please complete all rules and conditions",wd="please select control",Ad="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Sd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_d="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Bd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Td="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Rd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",kd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Od="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Md="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Nd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",$d="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ld="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Vd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Hd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jd={isNotNumber:xs,isNotString:Fs,isNotObject:ks,isNotArray:Os,isNotBoolean:Ms,runtimeRequired:Ns,pleaseEnterCaption:$s,pleaseEnterCaptionTip:Ls,pleaseEnterPlaceholder:Vs,pleaseEnterFieldCode:Hs,pleaseEnterForm:js,pleaseEnterList:qs,pleaseEnterProcess:Us,pleaseEnterLabel:Ws,pleaseEnterValue:Ks,bizKeyNotBindFiled:zs,pleaseSelectOneField:Gs,pleaseEnterNumberRange:Xs,pleaseEnterAValueGreaterThanMin:Qs,pleaseEnterAValueLessThanMax:Js,numberRangeSetError:Zs,stringRangeError:Ys,attachmentMaxSize:ps,pleaseEnterTotalScoreSetting:ed,theTotalScoreMustNotBeLessThan1:td,scoreDefaultValueRange:nd,attachmentLimitError:id,PleaseReselectTheOptionalQuantity:ud,TheMaximumLengthIsGreaterThanTheMinimumLength:ad,TheMinimumLengthIsGreaterThanTheMaximumLength:rd,PleaseSelectTheCorrectOptionSettings:ld,optionIdIsRepeat:od,optionIsRequired:cd,pleaseEnterDataCode:sd,pleaseEnterValueFieldCode:dd,pleaseEnterSvcCode:fd,pleaseBindAtLeastOneDisplayValue:hd,pleaseSelectProvince:yd,pleaseSelectCity:md,pleaseSelectDistrict:vd,limitRowsCannotBeLessThan0:gd,TheNumberOfRowsCannotBeLessThanMinRows:bd,pleaseEnterColumnWidth:Ed,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Cd,pleaseCompleteAllRulesAndConditions:Id,pleaseSelectControl:wd,pleaseSelectDashboard:Ad,theViewNameCannotBeEmpty:Sd,pleaseSelectOcrType:_d,pleaseSelectAtLeastOneFieldToFillIn:Bd,pleaseChooseAtLeastOne:Td,pleaseEnterButtonContent:Rd,pleaseEnterDataCodeInDataSetting:Pd,pleaseEnterValueFieldCodeInDataSetting:Dd,pleaseEnterSvcCodeInDataSetting:xd,pleaseBindAtLeastOneDisplayValueInDataSetting:Fd,rootNodeIsRequiredInDataSetting:kd,pleaseEnterMaxHeight:Od,pleaseEnter:Md,pleaseEnterWatermark:Nd,pleaseEnterFileName:$d,pleaseUploadAtLeastOnePrintTemplate:Ld,pleaseAssignBusiness:Vd,pleaseAssignExternal:Hd},qd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ud="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gd="{caption}\u5FC5\u9808",Xd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jd="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ef="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",af="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",of="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",sf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",df="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ff="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",yf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",mf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",vf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gf="\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",bf="\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",Ef="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Cf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",If="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",wf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Af="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_f="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Bf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Tf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Rf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Pf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Df="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",xf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Of="please select control",Mf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Nf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$f="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Lf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Vf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Hf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",jf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Wf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Kf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",zf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Gf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Xf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Qf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Jf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Zf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Yf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",pf={isNotNumber:qd,isNotString:Ud,isNotObject:Wd,isNotArray:Kd,isNotBoolean:zd,runtimeRequired:Gd,pleaseEnterCaption:Xd,pleaseEnterCaptionTip:Qd,pleaseEnterPlaceholder:Jd,pleaseEnterFieldCode:Zd,pleaseEnterForm:Yd,pleaseEnterList:pd,pleaseEnterProcess:ef,pleaseEnterLabel:tf,pleaseEnterValue:nf,bizKeyNotBindFiled:uf,pleaseSelectOneField:af,pleaseEnterNumberRange:rf,pleaseEnterAValueGreaterThanMin:lf,pleaseEnterAValueLessThanMax:of,numberRangeSetError:cf,stringRangeError:sf,attachmentMaxSize:df,pleaseEnterTotalScoreSetting:ff,theTotalScoreMustNotBeLessThan1:hf,scoreDefaultValueRange:yf,attachmentLimitError:mf,PleaseReselectTheOptionalQuantity:vf,TheMaximumLengthIsGreaterThanTheMinimumLength:gf,TheMinimumLengthIsGreaterThanTheMaximumLength:bf,PleaseSelectTheCorrectOptionSettings:Ef,optionIdIsRepeat:Cf,optionIsRequired:If,pleaseEnterDataCode:wf,pleaseEnterValueFieldCode:Af,pleaseEnterSvcCode:Sf,pleaseBindAtLeastOneDisplayValue:_f,pleaseSelectProvince:Bf,pleaseSelectCity:Tf,pleaseSelectDistrict:Rf,limitRowsCannotBeLessThan0:Pf,TheNumberOfRowsCannotBeLessThanMinRows:Df,pleaseEnterColumnWidth:xf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ff,pleaseCompleteAllRulesAndConditions:kf,pleaseSelectControl:Of,pleaseSelectDashboard:Mf,theViewNameCannotBeEmpty:Nf,pleaseSelectOcrType:$f,pleaseSelectAtLeastOneFieldToFillIn:Lf,pleaseChooseAtLeastOne:Vf,pleaseEnterButtonContent:Hf,pleaseEnterDataCodeInDataSetting:jf,pleaseEnterValueFieldCodeInDataSetting:qf,pleaseEnterSvcCodeInDataSetting:Uf,pleaseBindAtLeastOneDisplayValueInDataSetting:Wf,rootNodeIsRequiredInDataSetting:Kf,pleaseEnterMaxHeight:zf,pleaseEnter:Gf,pleaseEnterWatermark:Xf,pleaseEnterFileName:Qf,pleaseUploadAtLeastOnePrintTemplate:Jf,pleaseAssignBusiness:Zf,pleaseAssignExternal:Yf},eh={zhCN:Ds,enUS:jd,jaJP:pf},Oa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Oa||(Oa={}));var Ma;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ma||(Ma={}));var th="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 Na;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Na||(Na={}));var I;(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.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.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.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"})(I||(I={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var X;X={},p(X,g.ARRAY,I.ARRAY_COLUMN),p(X,g.AUTO_NUMBER,I.AUTO_NUMBER_COLUMN),p(X,g.DECIMAL,I.DECIMAL_COLUMN),p(X,g.DEPARTMENTS,I.DEPARTMENT_COLUMN),p(X,g.FILE,I.FILE_COLUMN),p(X,g.IMAGE,I.IMAGE_COLUMN),p(X,g.ADDRESS,I.LOCATION_COLUMN),p(X,g.EMPLOYEES,I.EMPLOYEE_COLUMN),p(X,g.TEXT,I.TEXT_COLUMN),p(X,g.TIMESCOPE,I.TIMESCOPE_COLUMN),p(X,g.TIMESTAMP,I.TIMESTAMP_COLUMN),p(X,g.VARCHAR,I.VARCHAR_COLUMN),p(X,g.RELATION,I.VARCHAR_COLUMN);var ge;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(ge||(ge={}));var $a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",nh=$a+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?$a:nh,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Ri(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function ih(t){if(Array.isArray(t))return Ri(t)}function uh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function La(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ah(){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 ah()?cn=Reflect.construct:cn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&ct(d,l.prototype),d},cn.apply(null,arguments)}function ot(t){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ot(t)}function Va(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&&ct(t,e)}function rh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function lh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function oh(){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 ch(t,e){return e&&(sh(e)==="object"||typeof e=="function")?e:uh(t)}function ct(t,e){return ct=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ct(t,e)}function Ha(t){return ih(t)||lh(t)||dh(t)||oh()}var sh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dh(t,e){if(!!t){if(typeof t=="string")return Ri(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 Ri(t,e)}}function Pi(t){var e=typeof Map=="function"?new Map:void 0;return Pi=function(u){if(u===null||!rh(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return cn(u,arguments,ot(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ct(a,u)},Pi(t)}function fh(){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 ja(t){var e=fh();return function(){var u=ot(t),a;if(e){var r=ot(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ch(this,a)}}var Di=console;function hh(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Di).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ha(a)))}function qa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Di).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(Ha(a)))}function yh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var xi=function(t){Va(n,t);var e=ja(n);function n(u){La(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?yh(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Pi(Error)),mh=function(t){Va(n,t);var e=ja(n);function n(u){La(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(xi);function Ua(t){throw new xi(t)}function Wa(t){throw new mh(t)}function vh(t){Di.error(new xi(t))}var gh=Object.prototype.toString;function Ka(t,e){return gh.call(t)==="[object "+e+"]"}function bh(t){return Ka(t,"String")}function Eh(t){return Ka(t,"Promise")}var Ch=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),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 u=this.getMessageData();Eh(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,r,l,o){if(a!==void 0){var s=a[r];if(!(l===o.length-1&&!bh(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var r=n[a];return r!==void 0?String(r):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=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 Ih(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function za(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function wh(t,e,n){return e&&za(t.prototype,e),n&&za(t,n),t}var f=function(){function t(){Ih(this,t)}return wh(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:th;return new Ch({locale:n,messages:eh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function Ah(t,e,n){var u=e.replace(/\[(\d)]/g,function(r,l){return"."+l}).split("."),a=!1;return u.reduce(function(r,l,o,s){var d=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,l)){hh("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),r,r);return}return o===s.length-1&&!Object.is(d[l],n)&&(d[l]=n,a=!0),d[l]}},t),a}var Sh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},_h={exports:{}};(function(t){(function(e){var n=function(y,S,w){if(!d(S)||m(S)||b(S)||C(S)||s(S))return S;var F,O=0,ie=0;if(v(S))for(F=[],ie=S.length;O<ie;O++)F.push(n(y,S[O],w));else{F={};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&(F[y(x,w)]=n(y,S[x],w))}return F},u=function(y,S){S=S||{};var w=S.separator||"_",F=S.split||/(?=[A-Z])/;return y.split(F).join(w)},a=function(y){return A(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(S,w){return w?w.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var S=a(y);return S.substr(0,1).toUpperCase()+S.substr(1)},l=function(y,S){return u(y,S).toLowerCase()},o=Object.prototype.toString,s=function(y){return typeof y=="function"},d=function(y){return y===Object(y)},v=function(y){return o.call(y)=="[object Array]"},m=function(y){return o.call(y)=="[object Date]"},b=function(y){return o.call(y)=="[object RegExp]"},C=function(y){return o.call(y)=="[object Boolean]"},A=function(y){return y=y-0,y===y},E=function(y,S){var w=S&&"process"in S?S.process:S;return typeof w!="function"?y:function(F,O){return w(F,y,O)}},_={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(y,S){return n(E(a,S),y)},decamelizeKeys:function(y,S){return n(E(l,S),y,S)},pascalizeKeys:function(y,S){return n(E(r,S),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=_:e.humps=_})(Sh)})(_h);var Ga={};Object.defineProperty(Ga,"__esModule",{value:!0});function Fi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Fi(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Fi(u)}return e}}var Bh=Ga.default=Fi;function be(t){if(t!==void 0)return typeof t=="object"?Bh(t):t}function Th(t){return Object.prototype.toString.call(t)==="[object Object]"}function ki(t){return Array.isArray(t)}function Rh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Oi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Ph(t){if(Array.isArray(t))return Oi(t)}function Xa(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Dh(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Xa(r,u,a,l,o,"next",s)}function o(s){Xa(r,u,a,l,o,"throw",s)}l(void 0)})}}function xh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qa(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Fh(t,e,n){return e&&Qa(t.prototype,e),n&&Qa(t,n),t}function kh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Oh(){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 Mi(t){return Ph(t)||kh(t)||Mh(t)||Oh()}function Mh(t,e){if(!!t){if(typeof t=="string")return Oi(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 Oi(t,e)}}var Nh=function(){function t(){xh(this,t),this._events=new Map,this.debug=!1}return Fh(t,[{key:"emit",value:function(n){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 Dh(ae.default.mark(function o(){var s,d,v,m,b,C,A,E,_,y;return ae.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(s=l._events.get(n),d=[],!s){w.next=42;break}v=s.slice(),m=!0,b=!1,C=void 0,w.prev=5,A=v[Symbol.iterator]();case 7:if(m=(E=A.next()).done){w.next=28;break}if(_=E.value,s.includes(_)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,l.debug&&qa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Mi(a))),w.next=15,_.apply(null,Mi(a));case 15:if(y=w.sent,l.debug&&qa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Mi(a),[y])),d.push(y),y!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),vh(String(w.t0)+":"+String(w.t0.stack));case 25:m=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),b=!0,C=w.t1;case 34:w.prev=34,w.prev=35,!m&&A.return!=null&&A.return();case 37:if(w.prev=37,!b){w.next=40;break}throw C;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",d);case 43:case"end":return w.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}(),$h=[];new Set($h.map(function(t){return t.Designer.controlType}));function Ja(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t){return sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sn(t)}function oe(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&&Ni(t,e)}function Za(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Lh(t,e){return e&&(Vh(e)==="object"||typeof e=="function")?e:Ja(t)}function Ni(t,e){return Ni=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ni(t,e)}var Vh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof 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 ce(t){var e=Hh();return function(){var u=sn(t),a;if(e){var r=sn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Lh(this,a)}}var re=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:""},Ya=function t(e){B(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 u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},$i=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:240;var l;return a.widthType=(l=u==null?void 0:u.widthType)!==null&&l!==void 0?l:"auto",a}return n}(Ya),jh=function t(e){B(this,t),this.pc=new $i(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new $i(e==null?void 0:e.mobile):new $i({width:130,minWidth:180})},qh=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var u;this.customOptions=(u=e==null?void 0:e.customOptions)!==null&&u!==void 0?u:[]},Li=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},Uh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;return a.primaryControlId=(r=u==null?void 0:u.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(Li),pa=function t(e){B(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},er=function t(e){B(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new pa(l)}))!==null&&r!==void 0?r:[]},Wh=function t(e){B(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:g.VARCHAR},Kh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.title=(r=u==null?void 0:u.title)!==null&&r!==void 0?r:"";var l;a.svcCode=(l=u==null?void 0:u.svcCode)!==null&&l!==void 0?l:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(Li),zh=function t(e){B(this,t);var n,u;this.type="sublist-page",this.formBind=new Li(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new Wh(l)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(l){return new Kh(l)}))!==null&&r!==void 0?r:[]},Gh=function t(e){B(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},st=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},Xh=function t(e){B(this,t),this.type="conditions";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();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;if(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)){var l=this;e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=l.children)===null||s===void 0||s.push(d)}else{var v,m=new tr(o);(v=l.children)===null||v===void 0||v.push(m)}})}},tr=function t(e){B(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new Gh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new st(e==null?void 0:e.rightVariableBo)},ee=function t(e){B(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Vi=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},Qh=function t(e){B(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function Hi(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Xh(l):new tr(l)}))!==null&&n!==void 0?n:[],Za(this,Q)||Za(this,ji)){var u,a,r;this.orders=(r=(u=t)===null||u===void 0||(a=u.orders)===null||a===void 0?void 0:a.map(function(l){return new Qh(l)}))!==null&&r!==void 0?r:[]}}var Q=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;if(this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)){var r=this;e==null||e.displayBoList.map(function(s){var d;(d=r.displayBoList)===null||d===void 0||d.push(new Vi(s))})}var l;this.showOrder=(l=e==null?void 0:e.showOrder)!==null&&l!==void 0?l:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Hi.call(this,e)},Jh=function t(e){B(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Vi(l)}))!==null&&r!==void 0?r:[]},dn=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a,r;a=e.call(this,u);var l;return a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(o){return new Jh(o)}))!==null&&l!==void 0?l:[],a}return n}(Q),Zh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this,u),a.rootNode=new st(u==null?void 0:u.rootNode),a}return n}(dn),nr=function t(e){B(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&r!==void 0?r:[]},ji=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this,u),Hi.call(Ja(a),u),a}return n}(nr),ir=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.mode=(r=u==null?void 0:u.mode)!==null&&r!==void 0?r:"current";var l;return a.multiple=(l=u==null?void 0:u.multiple)!==null&&l!==void 0?l:!1,a}return n}(nr),ur=function t(e){B(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},Yh=function t(e){B(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function he(t){var e;return(e=t==null?void 0:t.map(function(n){return new Yh(n)}))!==null&&e!==void 0?e:[]}var qi=function t(){B(this,t)},ph=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.amount=new re(u==null?void 0:u.amount),a.currency=new re(u==null?void 0:u.currency),a}return n}(qi),ey=function t(e){B(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:fn.CNY},ty=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.min=new re(u==null?void 0:u.min),a.max=new re(u==null?void 0:u.max),a}return n}(qi),ny=function t(e){B(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},iy=function t(e){B(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},uy=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.result=new re(u==null?void 0:u.result),a.unit=new re(u==null?void 0:u.unit),a}return n}(qi),ay=function t(e){B(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},fn;(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"})(fn||(fn={}));var c;(function(t){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.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"})(c||(c={}));var Ui;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Ui||(Ui={}));var Ee=function t(e){B(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},ry=function t(e){B(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:fe(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new pa(l)}))!==null&&r!==void 0?r:[],Hi.call(this,e)},ly=function t(e){B(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function oy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cy(){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 hn(t,e,n){return cy()?hn=Reflect.construct:hn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&ft(d,l.prototype),d},hn.apply(null,arguments)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function sy(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&&ft(t,e)}function dy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function fy(t,e){return e&&(hy(e)==="object"||typeof e=="function")?e:oy(t)}function ft(t,e){return ft=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ft(t,e)}var hy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(u){if(u===null||!dy(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return hn(u,arguments,dt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ft(a,u)},Ki(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 my(t){var e=yy();return function(){var u=dt(t),a;if(e){var r=dt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return fy(this,a)}}var L=function t(e){Wi(this,t),this.isHide={type:"boolean"}},Be=function(t){sy(n,t);var e=my(n);function n(u){return Wi(this,n),e.call(this)}return n}(Ki(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Wi(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new ly(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};q.Rules=L,q.RuntimeRules=Be;function se(){return se=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},se.apply(this,arguments)}function vy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function zi(t){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(t)}function yn(t,e){return yn=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},yn(t,e)}function gy(){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 mn(t,e,n){return gy()?mn=Reflect.construct:mn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&yn(d,l.prototype),d},mn.apply(null,arguments)}function by(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gi(t){var e=typeof Map=="function"?new Map:void 0;return Gi=function(u){if(u===null||!by(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return mn(u,arguments,zi(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),yn(a,u)},Gi(t)}var Ey=/%[sdj%]/g,ar=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ar=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function Xi(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var l=String(a).replace(Ey,function(o){if(o==="%%")return"%";if(u>=r)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return l}return a}function Cy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Cy(e)&&typeof t=="string"&&!t)}function Iy(t,e,n){var u=[],a=0,r=t.length;function l(o){u.push.apply(u,o),a++,a===r&&n(u)}t.forEach(function(o){e(o,l)})}function rr(t,e,n){var u=0,a=t.length;function r(l){if(l&&l.length){n(l);return}var o=u;u=u+1,o<a?e(t[o],r):n([])}r([])}function wy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var lr=function(t){vy(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(Gi(Error));function Ay(t,e,n,u){if(e.first){var a=new Promise(function(m,b){var C=function(_){return u(_),_.length?b(new lr(_,Xi(_))):m()},A=wy(t);rr(A,n,C)});return a.catch(function(m){return m}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],v=new Promise(function(m,b){var C=function(E){if(d.push.apply(d,E),s++,s===o)return u(d),d.length?b(new lr(d,Xi(d))):m()};l.length||(u(d),m()),l.forEach(function(A){var E=t[A];r.indexOf(A)!==-1?rr(E,n,C):Iy(E,n,C)})});return v.catch(function(m){return m}),v}function or(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 cr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=se(se({},t[n]),u):t[n]=u}}return t}function sr(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||V(e,r||t.type))&&u.push(te(a.messages.required,t.fullField))}function Sy(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(te(a.messages.whitespace,t.fullField))}var Qi={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},ht={integer:function(e){return ht.number(e)&&parseInt(e,10)===e},float:function(e){return ht.number(e)&&!ht.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"&&!ht.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Qi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Qi.url)},hex:function(e){return typeof e=="string"&&!!e.match(Qi.hex)}};function _y(t,e,n,u,a){if(t.required&&e===void 0){sr(t,e,n,u,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;r.indexOf(l)>-1?ht[l](e)||u.push(te(a.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&u.push(te(a.messages.types[l],t.fullField,t.type))}function By(t,e,n,u,a){var r=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,v=null,m=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(m?v="number":b?v="string":C&&(v="array"),!v)return!1;C&&(d=e.length),b&&(d=e.replace(s,"_").length),r?d!==t.len&&u.push(te(a.messages[v].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(te(a.messages[v].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(te(a.messages[v].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(te(a.messages[v].range,t.fullField,t.min,t.max))}var Ke="enum";function Ty(t,e,n,u,a){t[Ke]=Array.isArray(t[Ke])?t[Ke]:[],t[Ke].indexOf(e)===-1&&u.push(te(a.messages[Ke],t.fullField,t[Ke].join(", ")))}function Ry(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:sr,whitespace:Sy,type:_y,range:By,enum:Ty,pattern:Ry};function Py(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();T.required(t,e,u,r,a,"string"),V(e,"string")||(T.type(t,e,u,r,a),T.range(t,e,u,r,a),T.pattern(t,e,u,r,a),t.whitespace===!0&&T.whitespace(t,e,u,r,a))}n(r)}function Dy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T.type(t,e,u,r,a)}n(r)}function xy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&(T.type(t,e,u,r,a),T.range(t,e,u,r,a))}n(r)}function Fy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T.type(t,e,u,r,a)}n(r)}function ky(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),V(e)||T.type(t,e,u,r,a)}n(r)}function Oy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&(T.type(t,e,u,r,a),T.range(t,e,u,r,a))}n(r)}function My(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&(T.type(t,e,u,r,a),T.range(t,e,u,r,a))}n(r)}function Ny(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();T.required(t,e,u,r,a,"array"),e!=null&&(T.type(t,e,u,r,a),T.range(t,e,u,r,a))}n(r)}function $y(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T.type(t,e,u,r,a)}n(r)}var Ly="enum";function Vy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T[Ly](t,e,u,r,a)}n(r)}function Hy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();T.required(t,e,u,r,a),V(e,"string")||T.pattern(t,e,u,r,a)}n(r)}function jy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"date")&&!t.required)return n();if(T.required(t,e,u,r,a),!V(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),T.type(t,o,u,r,a),o&&T.range(t,o.getTime(),u,r,a)}}n(r)}function qy(t,e,n,u,a){var r=[],l=Array.isArray(e)?"array":typeof e;T.required(t,e,u,r,a,l),n(r)}function Ji(t,e,n,u,a){var r=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(V(e,r)&&!t.required)return n();T.required(t,e,u,l,a,r),V(e,r)||T.type(t,e,u,l,a)}n(l)}function Uy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a)}n(r)}var yt={string:Py,method:Dy,number:xy,boolean:Fy,regexp:ky,integer:Oy,float:My,array:Ny,object:$y,enum:Vy,pattern:Hy,date:jy,url:Ji,hex:Ji,email:Ji,required:qy,any:Uy};function Zi(){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 Yi=Zi();function Ce(t){this.rules=null,this._messages=Yi,this.define(t)}Ce.prototype={messages:function(e){return e&&(this._messages=cr(Zi(),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,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var r=e,l=n,o=u;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var _,y=[],S={};function w(F){if(Array.isArray(F)){var O;y=(O=y).concat.apply(O,F)}else y.push(F)}for(_=0;_<E.length;_++)w(E[_]);y.length?S=Xi(y):(y=null,S=null),o(y,S)}if(l.messages){var d=this.messages();d===Yi&&(d=Zi()),cr(d,l.messages),l.messages=d}else l.messages=this.messages();var v,m,b={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){v=a.rules[E],m=r[E],v.forEach(function(_){var y=_;typeof y.transform=="function"&&(r===e&&(r=se({},r)),m=r[E]=y.transform(m)),typeof y=="function"?y={validator:y}:y=se({},y),y.validator=a.getValidationMethod(y),y.field=E,y.fullField=y.fullField||E,y.type=a.getType(y),!!y.validator&&(b[E]=b[E]||[],b[E].push({rule:y,value:m,source:r,field:E}))})});var A={};return Ay(b,l,function(E,_){var y=E.rule,S=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");S=S&&(y.required||!y.required&&E.value),y.field=E.field;function w(ie,x){return se(se({},x),{},{fullField:y.fullField+"."+ie})}function F(ie){ie===void 0&&(ie=[]);var x=ie;if(Array.isArray(x)||(x=[x]),!l.suppressWarning&&x.length&&Ce.warning("async-validator:",x),x.length&&y.message!==void 0&&(x=[].concat(y.message)),x=x.map(or(y)),l.first&&x.length)return A[y.field]=1,_(x);if(!S)_(x);else{if(y.required&&!E.value)return y.message!==void 0?x=[].concat(y.message).map(or(y)):l.error&&(x=[l.error(y,te(l.messages.required,y.field))]),_(x);var ue={};if(y.defaultField)for(var rn in E.value)E.value.hasOwnProperty(rn)&&(ue[rn]=y.defaultField);ue=se(se({},ue),E.rule.fields);for(var me in ue)if(ue.hasOwnProperty(me)){var O0=Array.isArray(ue[me])?ue[me]:[ue[me]];ue[me]=O0.map(w.bind(null,me))}var Cc=new Ce(ue);Cc.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),Cc.validate(E.value,E.rule.options||l,function(Fa){var at=[];x&&x.length&&at.push.apply(at,x),Fa&&Fa.length&&at.push.apply(at,Fa),_(at.length?at:null)})}}var O;y.asyncValidator?O=y.asyncValidator(y,E.value,F,E.source,l):y.validator&&(O=y.validator(y,E.value,F,E.source,l),O===!0?F():O===!1?F(y.message||y.field+" fails"):O instanceof Array?F(O):O instanceof Error&&F(O.message)),O&&O.then&&O.then(function(){return F()},function(ie){return F(ie)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!yt.hasOwnProperty(e.type))throw new Error(te("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),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?yt.required:yt[this.getType(e)]||!1}},Ce.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");yt[e]=n},Ce.warning=ar,Ce.messages=Yi,Ce.validators=yt;var Wy={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 Ky(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ce(t);return n.messages(Object.assign(Wy,e)),n}var zy=new Nh;function pi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Gy(t){if(Array.isArray(t))return t}function Xy(t){if(Array.isArray(t))return pi(t)}function dr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function fr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){dr(r,u,a,l,o,"next",s)}function o(s){dr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Qy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Jy(t,e,n){return e&&hr(t.prototype,e),n&&hr(t,n),t}function Zy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function mr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Yy(){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 py(){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 vr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Zy(t,a,n[a])})}return t}function em(t){return Gy(t)||mr(t)||gr(t,i)||Yy()}function eu(t){return Xy(t)||mr(t)||gr(t)||py()}function gr(t,e){if(!!t){if(typeof t=="string")return pi(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 pi(t,e)}}var k=function(){function e(n){var u=this;Qy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Er,this.removeSetting=br,this._callControlHooks("preInstance",n);var a=yr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,o=a.controlType,s=a.controlFieldType,d=a.controlEventKeys,v=a.controlCustomEvents,m=a.name,b=a.setting;r&&l&&o||Wa("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:fe(10),this.name=r,this.icon=l;var A;this.type=(A=n==null?void 0:n.type)!==null&&A!==void 0?A:o,this.props=new q(n==null?void 0:n.props,(yr(this,e)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=be(b);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=be(d),this.customEvents=be(v),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return Jy(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}},{key:"_callControlHooks",value:function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,o=em(a),s=o[0],d=o.slice(1);return(l=zy).emit.apply(l,[s,this].concat(eu(d)))}},{key:"preUpdate",value:function(u,a){this._callControlHooks("preUpdateProps",u,a)}},{key:"postUpdate",value:function(u,a){this._callControlHooks("postUpdateProps",u,a)}},{key:"updateProps",value:function(u,a){this.preUpdate(u,a),Ah(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return fr(ae.default.mark(function a(){var r,l,o;return ae.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return r=vr({},u.rules),d.next=3,u._callControlHooks("preValidate",r);case 3:return l=d.sent,o=l[l.length-1],d.abrupt("return",o===!1?void 0:o);case 6:case"end":return d.stop()}},a)}))()}},{key:"validate",value:function(u,a){var r=this;return fr(ae.default.mark(function l(){var o,s,d;return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,r.preValidate();case 2:return o=m.sent,s=o!==void 0?o:vr({},r.rules),Array.isArray(a)&&a.forEach(function(b){s.hasOwnProperty(b)&&delete s[b]}),d=Ky(s,u),m.prev=6,m.next=9,d.validate(r.props);case 9:return m.abrupt("return",!0);case 12:throw m.prev=12,m.t0=m.catch(6),m.t0.control||(m.t0.control=r),m.t0;case 16:case"end":return m.stop()}},l,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,o=this.props,s=o.dataBind,d=o.datasourceBind,v=o.optionConfig,m=o.caption,b=o.required,C=o.maxLength,A=o.options,E=o.encrypted,_=o.encryptedMode;if(!(!a&&!s&&!d)){var y={parentId:u,fieldType:a,controlId:r,caption:m,type:l,props:{}};switch(s&&(y.dataBind=s),v){case"datasource":case void 0:d&&(y.datasourceBind=d);break;case"custom":y.props.options=A;break}return b!==void 0&&(y.required=b),C!==void 0&&(y.maxLength=C),E!==void 0&&(y.encrypted=E),_!==void 0&&(y.encryptedMode=_),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:be(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,eu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();k.controlName="\u63A7\u4EF6",k.controlIcon="icon",k.controlType="control",k.controlEventKeys=[],k.controlCustomEvents=[],k.setting=[],k.__is_control__=!0,k.removeSettingItem=br,k.updateSettingItem=Er;function br(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a=typeof u!="string",r=e.setting.findIndex(function(s){return s.key===(a?u.key:u)});if(r!==-1){var l,o;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(s){return!u.hideItems.includes(s)}):e.setting.splice(r,1),a&&!((o=e.setting[r].showItems)===null||o===void 0?void 0:o.length)&&e.setting.splice(r,1)}})}function Er(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(a){var r=n.setting.find(function(d){return d.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,eu(e.showItems))}}}})}function tm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function nm(t,e,n){return e&&Cr(t.prototype,e),n&&Cr(t,n),t}function im(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){tm(this,e),this.customEvents=[],this.parent=null;var u=im(this,e)?this.constructor:void 0,a=u.controlType,r=u.controlFieldType,l=u.name,o=u.controlCustomEvents;a||Wa("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:fe(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:Ui.UNKNOWN}return nm(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var a=new u(this.props);return Array.from(a)}return[]}}]),e}();W.controlType="control",W.__is_control__=!0,W.controlCustomEvents=[];function tu(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,u,a){u.length===0&&a(f.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,u,a){var r=u.map(function(o){return o.value}),l=Rh(r);r.length!==l.length?a(f.getMessage("optionIdIsRepeat")):a()},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,u,a){u.length===0&&a(f.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},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 nu(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(a,r,l){r.length===0&&l(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},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 Ir(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function bn(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 um(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function am(t,e){return e&&(rm(e)==="object"||typeof e=="function")?e:Ir(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},iu(t,e)}var rm=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 En(t){var e=lm();return function(){var u=gn(t),a;if(e){var r=gn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return am(this,a)}}var J=function(t){bn(n,t);var e=En(n);function n(u){vn(this,n);var a;a=e.call(this,u),a.dataBind={},a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.isHideCaption={type:"boolean"},a.labelPosition={type:"enum",enum:["top","left"]},a.defaultState={type:"enum",enum:["default","readonly"]},a.required={type:"boolean"},a.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(um(u.dataBind,re))a.dataBind={type:"object",required:!0,fields:be(r),message:f.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:be(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(L),M=function(t){bn(n,t);var e=En(n);function n(u){vn(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(Be),R=function(t){bn(n,t);var e=En(n);function n(u){vn(this,n);var a;a=e.call(this,u);var r;a.caption=(r=u==null?void 0:u.caption)!==null&&r!==void 0?r:"";var l;a.isHideCaption=(l=u==null?void 0:u.isHideCaption)!==null&&l!==void 0?l:!1;var o;a.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;a.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;a.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var v;a.labelPosition=(v=u==null?void 0:u.labelPosition)!==null&&v!==void 0?v:"top";var m;a.placeholder=(m=u==null?void 0:u.placeholder)!==null&&m!==void 0?m:"";var b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var C;a.requiredMessage=(C=u==null?void 0:u.requiredMessage)!==null&&C!==void 0?C:"",a.dataBind=new re(u==null?void 0:u.dataBind);var A;return a.defaultValue=(A=u==null?void 0:u.defaultValue)!==null&&A!==void 0?A:"",a}return n}(q);R.Rules=J,R.RuntimeRules=M;var ze=function(t){bn(n,t);var e=En(n);function n(u){vn(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],tu.call(Ir(a),u),a}return n}(J);function om(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function sm(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 dm(t,e){return e&&(fm(e)==="object"||typeof e=="function")?e:om(t)}function uu(t,e){return uu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},uu(t,e)}var fm=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 ym(t){var e=hm();return function(){var u=Cn(t),a;if(e){var r=Cn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return dm(this,a)}}var P=function(t){sm(n,t);var e=ym(n);function n(u){cm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new R(u==null?void 0:u.props),a}return n}(k);P.controlEventKeys=["on_change","on_focus","on_blur"];function mm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function gm(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&&(Em(e)==="object"||typeof e=="function")?e:mm(t)}function au(t,e){return au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},au(t,e)}var Em=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cm(){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 Im(t){var e=Cm();return function(){var u=In(t),a;if(e){var r=In(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return bm(this,a)}}var D=function(t){gm(n,t);var e=Im(n);function n(u){vm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new R(u==null?void 0:u.props),a}return n}(W);function wm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Am(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 Sm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ru(t,e)}function _m(t,e){return e&&(Bm(e)==="object"||typeof e=="function")?e:wm(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ru(t,e)}var Bm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tm(){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 Rm(t){var e=Tm();return function(){var u=wn(t),a;if(e){var r=wn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return _m(this,a)}}var $=function(t){Sm(n,t);var e=Rm(n);function n(u){return Am(this,n),e.call(this,u)}return n}(q);function lu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Pm(t){if(Array.isArray(t))return lu(t)}function Dm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xm(){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 Pm(t)||Dm(t)||Fm(t)||xm()}function Fm(t,e){if(!!t){if(typeof t=="string")return lu(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 lu(t,e)}}function km(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function Ar(t,e){t.parent=e,km(t,"parent")}function Om(t,e){t.forEach(function(n){Ar(n,e)})}var Sr=Symbol("targetKey");function _r(t){var e;return(e=t[Sr])!==null&&e!==void 0?e:t}function Br(t,e){return Om(t,e),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),o=2;o<r;o++)l[o-2]=arguments[o];var s;return a===Sr?u:(s=Reflect).get.apply(s,[u,a].concat(wr(l)))},set:function(u,a,r){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var d;if(ki(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(wr(o)));return Th(r)&&Ar(r,e),v}})}function ye(t,e,n,u){var a=u!=null?u:t,r=Br(_r(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return r},set:function(o){r=Br(_r(o),a)},enumerable:!0})}function ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Mm(t){if(Array.isArray(t))return ou(t)}function Tr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Nm(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Rr(r,u,a,l,o,"next",s)}function o(s){Rr(r,u,a,l,o,"throw",s)}l(void 0)})}}function $m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Lm(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(t,n),t}function Vm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ge(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ge=Reflect.get:Ge=function(a,r,l){var o=zm(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},Ge(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(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&&cu(t,e)}function jm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function qm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Um(){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 Wm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Vm(t,a,n[a])})}return t}function Km(t,e){return e&&(Gm(e)==="object"||typeof e=="function")?e:Tr(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},cu(t,e)}function zm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function Dr(t){return Mm(t)||qm(t)||Xm(t)||Um()}var Gm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xm(t,e){if(!!t){if(typeof t=="string")return ou(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ou(t,e)}}function Qm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jm(t){var e=Qm();return function(){var u=Ie(t),a;if(e){var r=Ie(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Km(this,a)}}var Zm=1e4,H=function(e){Hm(u,e);var n=Jm(u);function u(a){$m(this,u);var r;r=n.call(this,a),r.controlType="layout";var l=jm(this,u)?this.constructor:void 0,o=l.excludes,s=l.childrenMaxLength;return r.props=new $(a==null?void 0:a.props),ye(Tr(r),"children",a==null?void 0:a.children),r.excludes=be(o),r.childrenMaxLength=s,r}return Lm(u,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,l){var o=this,s=this,d=function(){return Ge(Ie(u.prototype),"validate",o)};return Nm(ae.default.mark(function v(){return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,r,l);case 2:return b.next=4,Promise.all(s.children.map(function(C){return C.validate(r,l)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},v)}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=Ge(Ie(u.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(s,d){var v=d.toDataBindModel(r);if(Array.isArray(v)){var m=v.filter(function(b){return!!b});return Dr(s).concat(Dr(m))}return v&&s.push(v),s},o)}},{key:"toSchema",value:function(){var r=Ge(Ie(u.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var s=o.toSchema();return s});return Wm({},r,{children:l})}}]),u}(k);H.excludes=!1,H.childrenMaxLength=Zm;function xr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ym(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function pm(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&&su(t,e)}function ev(t,e){return e&&(tv(e)==="object"||typeof e=="function")?e:xr(t)}function su(t,e){return su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},su(t,e)}var tv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function nv(){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 iv(t){var e=nv();return function(){var u=An(t),a;if(e){var r=An(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ev(this,a)}}var K=function(t){pm(n,t);var e=iv(n);function n(u){Ym(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new $(u==null?void 0:u.props),ye(xr(a),"children",u==null?void 0:u.children),a}return n}(W);function Fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(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&&du(t,e)}function rv(t,e){return e&&(lv(e)==="object"||typeof e=="function")?e:Fr(t)}function du(t,e){return du=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},du(t,e)}var lv=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 cv(t){var e=ov();return function(){var u=Sn(t),a;if(e){var r=Sn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return rv(this,a)}}var _n=function(t){av(n,t);var e=cv(n);function n(u,a){uv(this,n);var r;return r=e.call(this,a),ye(Fr(r),"headers",a==null?void 0:a.headers,u),r}return n}(q);function fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function sv(t){if(Array.isArray(t))return fu(t)}function kr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Or(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function dv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Or(r,u,a,l,o,"next",s)}function o(s){Or(r,u,a,l,o,"throw",s)}l(void 0)})}}function fv(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 u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function hv(t,e,n){return e&&Mr(t.prototype,e),n&&Mr(t,n),t}function yv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xe(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Xe=Reflect.get:Xe=function(a,r,l){var o=Ev(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},Xe(t,e,n||t)}function we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},we(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&&hu(t,e)}function vv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gv(){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 Nr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){yv(t,a,n[a])})}return t}function bv(t,e){return e&&(Cv(e)==="object"||typeof e=="function")?e:kr(t)}function hu(t,e){return hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},hu(t,e)}function Ev(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=we(t),t!==null););return t}function $r(t){return sv(t)||vv(t)||Iv(t)||gv()}var Cv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Iv(t,e){if(!!t){if(typeof t=="string")return fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fu(t,e)}}function wv(){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=wv();return function(){var u=we(t),a;if(e){var r=we(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return bv(this,a)}}var yu=function(t){mv(n,t);var e=Av(n);function n(u){fv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new _n(kr(a),u==null?void 0:u.props),a}return hv(n,[{key:"validate",value:function(a,r){var l=this,o=this,s=function(){return Xe(we(n.prototype),"validate",l)};return dv(ae.default.mark(function d(){return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,s().call(o,a);case 2:return m.next=4,Promise.all(o.props.headers.map(function(b){return b.validate(a,r)}));case 4:return m.abrupt("return",!0);case 5:case"end":return m.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=Xe(we(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(o,s){var d=s.toDataBindModel(l);if(Array.isArray(d)){var v=d.filter(function(m){return!!m});return $r(o).concat($r(v))}return d&&o.push(d),o},r)}},{key:"toSchema",value:function(){var a=Xe(we(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Nr({},a,{props:Nr({},this.props,{headers:r})})}}]),n}(k);yu.controlFieldType=g.LIST;function mu(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 Lr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function _v(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(t,n),t}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(t)}function Bv(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&&vu(t,e)}function Tv(t,e){return e&&(Rv(e)==="object"||typeof e=="function")?e:mu(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},vu(t,e)}var Rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pv(){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 Dv(t){var e=Pv();return function(){var u=Bn(t),a;if(e){var r=Bn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Tv(this,a)}}var Vr=function(t){Bv(n,t);var e=Dv(n);function n(u){Sv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new _n(mu(a),u==null?void 0:u.props),ye(mu(a),"children",u==null?void 0:u.children),a}return _v(n,[{key:"length",get:function(){return this.children.length}}]),n}(W);function Hr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function bu(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&&Eu(t,e)}function xv(t,e){return e&&(Fv(e)==="object"||typeof e=="function")?e:Hr(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Eu(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 Cu(t){var e=kv();return function(){var u=Tn(t),a;if(e){var r=Tn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return xv(this,a)}}var Iu=function(t){bu(n,t);var e=Cu(n);function n(u){gu(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}(L),j=function(t){bu(n,t);var e=Cu(n);function n(u){gu(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:150,a.widthType=(u==null?void 0:u.widthType)||"auto";var l;a.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var o;a.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",a.autoWidth=new Ya(u==null?void 0:u.autoWidth),a.dataBind=new re(u==null?void 0:u.dataBind);var s;a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan;var d;return a.autoHeight=(d=u==null?void 0:u.autoHeight)!==null&&d!==void 0?d:!1,a}return n}(q);j.Rules=Iu;var jr=function(t){bu(n,t);var e=Cu(n);function n(u){gu(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],tu.call(Hr(a),u),a}return n}(Iu);function Ov(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mv(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 Nv(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 $v(t,e){return e&&(Lv(e)==="object"||typeof e=="function")?e:Ov(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},wu(t,e)}var Lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vv(){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 Hv(t){var e=Vv();return function(){var u=Rn(t),a;if(e){var r=Rn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return $v(this,a)}}var z=function(t){Nv(n,t);var e=Hv(n);function n(u){Mv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(k);function jv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function Uv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Au(t,e)}function Wv(t,e){return e&&(Kv(e)==="object"||typeof e=="function")?e:jv(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Au(t,e)}var Kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function zv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gv(t){var e=zv();return function(){var u=Pn(t),a;if(e){var r=Pn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Wv(this,a)}}var G=function(t){Uv(n,t);var e=Gv(n);function n(u){qv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(W);function Xv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(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&&Su(t,e)}function Zv(t,e){return e&&(Yv(e)==="object"||typeof e=="function")?e:Xv(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Su(t,e)}var Yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pv(){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 eg(t){var e=pv();return function(){var u=Dn(t),a;if(e){var r=Dn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Zv(this,a)}}var _u=function(t){Jv(n,t);var e=eg(n);function n(u){Qv(this,n);var a;return a=e.call(this,u),a.dataBind=new re(u==null?void 0:u.dataBind),a}return n}($);function tg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ng(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 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&&Bu(t,e)}function ug(t,e){return e&&(ag(e)==="object"||typeof e=="function")?e:tg(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Bu(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 u=xn(t),a;if(e){var r=xn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ug(this,a)}}var og=function(t){ig(n,t);var e=lg(n);function n(u){ng(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new _u(u==null?void 0:u.props),a}return n}(H);function cg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(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&&Tu(t,e)}function fg(t,e){return e&&(hg(e)==="object"||typeof e=="function")?e:cg(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Tu(t,e)}var hg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mg(t){var e=yg();return function(){var u=Fn(t),a;if(e){var r=Fn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return fg(this,a)}}var vg=function(t){dg(n,t);var e=mg(n);function n(u){sg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new _u(u==null?void 0:u.props),a}return n}(K);class Ru extends q{constructor(e){super(e);var n,u,a,r,l;this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57"}}class qr extends k{static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}constructor(e){super(e);this.props=new Ru(e==null?void 0:e.props)}}qr.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class gg extends W{static get controlType(){return"text"}constructor(e){super(e);this.props=new Ru(e==null?void 0:e.props)}}var Ur={Designer:qr,Runtime:gg,Property:Ru};class Pu extends q{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class Du extends k{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new Pu(e==null?void 0:e.props)}}Du.controlEventKeys=["on_click"],Du.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class bg extends W{static get controlType(){return"link"}constructor(e){super(e);this.props=new Pu(e==null?void 0:e.props)}}var Wr={Designer:Du,Runtime:bg,Property:Pu};class Z extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",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.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Y extends k{static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ne extends W{static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}var Kr={Designer:Y,Runtime:ne,Property:Z},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||{}),zr=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(zr||{}),Gr=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Gr||{});class kn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var xu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(xu||{});class On{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var Fu=(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))(Fu||{});class ku{constructor(e){var n,u,a,r,l,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new st((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new st((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new st((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class Xr{constructor(e){var n,u,a,r,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new ku(s)))!=null?a:[new ku],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ou{constructor(e){var n,u,a,r,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Mu{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class Qr{constructor(e){var n,u,a,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Mu(e==null?void 0:e.watermark),this.autoRename=new Mu(e==null?void 0:e.autoRename)}}const Jr=480;function mt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Zr{constructor(e){var n,u,a,r,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(l=e.rules)!=null?l:[]}}class Yr{constructor(e){var n,u,a;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var pr=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(pr||{}),Nu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Nu||{}),$u=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))($u||{}),Qe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Qe||{}),Lu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Lu||{});class Vu extends q{constructor(e){super(e);var n,u;this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:Fu.SOLID}}class el extends k{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new Vu(e==null?void 0:e.props)}}el.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Eg extends W{static get controlType(){return"divider"}constructor(e){super(e);this.props=new Vu(e==null?void 0:e.props)}}var tl={Designer:el,Runtime:Eg,Property:Vu};class Cg extends L{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 Mn extends q{constructor(e){super(e);var n,u,a,r;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=(a=(u=e==null?void 0:e.caption)!=null?u:Je==null?void 0:Je.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Mn.Rules=Cg;class Je extends k{static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}constructor(e){super(e);this.props=new Mn(e==null?void 0:e.props)}}Je.controlFieldType=g.AUTO_NUMBER,Je.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Ig extends W{static get controlType(){return"title"}constructor(e){super(e);this.props=new Mn(e==null?void 0:e.props)}}var nl={Designer:Je,Runtime:Ig,Property:Mn};class wg extends L{constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Nn extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:vt.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Nn.Rules=wg;class vt extends Y{static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new Nn(e==null?void 0:e.props)}}vt.controlEventKeys=["on_click","on_click_finish"],vt.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 Ag extends ne{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new Nn(e==null?void 0:e.props)}}var il={Designer:vt,Runtime:Ag,Property:Nn};class Sg extends L{constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class $n extends Z{constructor(e){super(e);var n,u,a,r,l,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:gt.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}$n.Rules=Sg;class gt extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new $n(e==null?void 0:e.props)}}gt.controlEventKeys=["on_click","on_click_finish"],gt.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 _g extends ne{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new $n(e==null?void 0:e.props)}}var ul={Designer:gt,Runtime:_g,Property:$n};class Hu extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:bt.controlIcon}}class bt extends Y{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"}constructor(e){super(e);this.props=new Hu(e==null?void 0:e.props)}}bt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class Bg extends ne{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new Hu(e==null?void 0:e.props)}}var al={Designer:bt,Runtime:Bg,Property:Hu};class ju extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Et.controlName,this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Ou(l)))!=null?r:[new Ou({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Et extends Y{static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ju(e==null?void 0:e.props)}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 Tg extends ne{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ju(e==null?void 0:e.props)}}var rl={Designer:Et,Runtime:Tg,Property:ju};class qu extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ct.controlIcon}}class Ct extends Y{static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new qu(e==null?void 0:e.props)}}Ct.controlEventKeys=["on_click"],Ct.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 Rg extends ne{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new qu(e==null?void 0:e.props)}}var ll={Designer:Ct,Runtime:Rg,Property:qu};class Pg{constructor(e){this.dataCode=e.dataCode}}class Uu extends Z{constructor(e){super(e);var n,u,a,r;this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:It.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new Pg(l)))!=null?r:[]}}class It extends Y{static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}It.controlEventKeys=["on_click","on_click_finish"],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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Dg extends ne{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}var ol={Designer:It,Runtime:Dg,Property:Uu};function Ln(){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 xg extends L{constructor(e){super(e);this.fillPayload={type:"object",fields:ve({},Ln())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ve({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ln())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Vn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:wt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new ji(e==null?void 0:e.fillPayload),this.formBind=new Uh(e==null?void 0:e.formBind),this.fillBack=new ir(e==null?void 0:e.fillBack)}}Vn.Rules=xg;class wt extends Y{static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Vn(e==null?void 0:e.props)}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Fg extends ne{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Vn(e==null?void 0:e.props)}}var cl={Designer:wt,Runtime:Fg,Property:Vn};class kg extends L{constructor(e){super(e);this.fillPayload={type:"object",fields:ve({},Ln())},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:ve({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ln())}}}class Hn extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:At.controlIcon,this.fillPayload=new ji(e==null?void 0:e.fillPayload),this.listPageBind=new er(e==null?void 0:e.listPageBind),this.fillBack=new ir(e==null?void 0:e.fillBack)}}Hn.Rules=kg;class At extends Y{static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Hn(e==null?void 0:e.props)}}At.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Og extends ne{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Hn(e==null?void 0:e.props)}}var sl={Designer:At,Runtime:Og,Property:Hn};class Mg extends L{constructor(e){super(e)}}class Ng extends Be{constructor(e){super(e)}}class St extends q{constructor(e){super(e)}}St.Rules=Mg,St.RuntimeRules=Ng;class dl extends k{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new St(e==null?void 0:e.props)}}dl.setting=[];class $g extends W{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new St(e==null?void 0:e.props)}}var fl={Designer:dl,Runtime:$g,Property:St};class Lg extends L{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 jn extends q{constructor(e){super(e);var n,u,a,r,l,o;this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}jn.Rules=Lg;class hl extends k{static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new jn(e==null?void 0:e.props)}}hl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Vg extends W{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new jn(e==null?void 0:e.props)}}var yl={Designer:hl,Runtime:Vg,Property:jn};class Hg extends L{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 qn extends q{constructor(e){super(e);var n,u,a;this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(u=e==null?void 0:e.viewList)==null?void 0:u.map(r=>new ry(r)))!=null?a:[]}}qn.Rules=Hg;class ml extends k{static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new qn(e==null?void 0:e.props)}}ml.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class jg extends W{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new qn(e==null?void 0:e.props)}}var vl={Designer:ml,Runtime:jg,Property:qn};class qg extends L{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,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Un extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,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",this.content=(o=e==null?void 0:e.content)!=null?o:Ze.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ze.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(m=(v=e==null?void 0:e.fillList)==null?void 0:v.map(b=>new ee(b)))!=null?m:[]}}Un.Rules=qg;class Ze extends Y{static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new Un(e==null?void 0:e.props)}}Ze.controlEventKeys=["on_click","on_click_finish"],Ze.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ug extends ne{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new Un(e==null?void 0:e.props)}}var gl={Designer:Ze,Runtime:Ug,Property:Un};class Wg extends L{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,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wn extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,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",this.content=(o=e==null?void 0:e.content)!=null?o:Ye.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ye.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(m=(v=e==null?void 0:e.fillList)==null?void 0:v.map(b=>new ee(b)))!=null?m:[]}}Wn.Rules=Wg;class Ye extends Y{static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new Wn(e==null?void 0:e.props)}}Ye.controlEventKeys=["on_click","on_click_finish"],Ye.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Kg extends ne{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new Wn(e==null?void 0:e.props)}}var bl={Designer:Ye,Runtime:Kg,Property:Wn};class zg extends L{constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Kn extends Z{constructor(e){super(e);var n,u,a,r,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:_t.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new Zr(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Kn.Rules=zg;class _t extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}_t.controlEventKeys=["on_click","on_click_finish"],_t.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 Gg extends ne{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}var El={Designer:_t,Runtime:Gg,Property:Kn};class Wu extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Bt.controlIcon}}class Bt extends Y{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"}constructor(e){super(e);this.props=new Wu(e==null?void 0:e.props)}}Bt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class Xg extends ne{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new Wu(e==null?void 0:e.props)}}var Cl={Designer:Bt,Runtime:Xg,Property:Wu};class Qg extends L{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 zn extends q{constructor(e){super(e);var n,u,a,r,l;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"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=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}zn.Rules=Qg;class Gn extends k{static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}Gn.controlEventKeys=["on_click"],Gn.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Jg extends W{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}var Il={Designer:Gn,Runtime:Jg,Property:zn};class Ku extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Tt.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(v=e==null?void 0:e.isLoading)!=null?v:!1}}class Tt extends k{static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Ku(e==null?void 0:e.props)}}Tt.controlEventKeys=["on_click"],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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Zg extends W{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Ku(e==null?void 0:e.props)}}var wl={Designer:Tt,Runtime:Zg,Property:Ku},Yg=Object.freeze({__proto__:null,Text:Ur,Link:Wr,Button:Kr,Divider:tl,Title:nl,CreateFormListButton:il,BatchSubmissionListButton:ul,SubmissionRecordListButton:al,ExportListButton:rl,ExportRecordListButton:ll,ImportRecordListButton:ol,FormSelectButton:cl,ListSelectButton:sl,Pagination:fl,Dashboard:yl,ListViewSelect:vl,TextOcrButton:gl,InvoiceCheckButton:bl,BatchPrintListButton:El,BatchPrintRecordListButton:Cl,OperationButton:Il,BatchDeleteButton:wl});class pg extends J{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=mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class eb extends M{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:mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class pe extends R{constructor(e){super(e);var n,u,a,r,l,o,s;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new ur(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:et.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}pe.Rules=pg,pe.RuntimeRules=eb;class et extends P{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}constructor(e){super(e);this.props=new pe(e==null?void 0:e.props)}}et.controlEventKeys=["on_change","on_input","on_focus","on_blur"],et.controlFieldType=g.VARCHAR,et.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Al extends D{static get controlType(){return"input"}constructor(e){super(e);this.props=new pe(e==null?void 0:e.props)}}Al.controlFieldType=g.VARCHAR;var Sl={Designer:et,Runtime:Al,Property:pe};class tb extends ze{constructor(e){super(e);this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class nb extends M{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 Rt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C,A;this.options=he((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=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(v=e==null?void 0:e.caption)!=null?v:Pt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new ee(E))}))}}Rt.Rules=tb,Rt.RuntimeRules=nb;class Pt extends P{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Rt(e==null?void 0:e.props)}}Pt.controlEventKeys=["on_change","on_click"],Pt.controlFieldType=g.ARRAY,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class _l extends D{static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Rt(e==null?void 0:e.props)}}_l.controlFieldType=g.ARRAY;var Bl={Designer:Pt,Runtime:_l,Property:Rt};class ib extends ze{constructor(e){super(e)}}class Xn extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.options=he((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=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(v=e==null?void 0:e.caption)!=null?v:Dt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var A;(A=this.multistageFilling)==null||A.push(new ee(C))}))}}Xn.Rules=ib;class Dt extends P{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new Xn(e==null?void 0:e.props)}}Dt.controlEventKeys=["on_change","on_click"],Dt.controlFieldType=g.VARCHAR,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Tl extends D{static get controlType(){return"radio"}constructor(e){super(e);this.props=new Xn(e==null?void 0:e.props)}}Tl.controlFieldType=g.VARCHAR;var Rl={Designer:Dt,Runtime:Tl,Property:Xn};class ub extends J{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,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class ab extends M{constructor(e){super(e);this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class xt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C,A;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(v=e==null?void 0:e.unitPosition)!=null?v:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:Ft.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:"",this.regularRules=new ur(e==null?void 0:e.regularRules)}}xt.Rules=ub,xt.RuntimeRules=ab;class Ft extends P{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new xt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=g.DECIMAL,Ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Pl extends D{static get controlType(){return"number"}constructor(e){super(e);this.props=new xt(e==null?void 0:e.props)}}Pl.controlFieldType=g.DECIMAL;var Dl={Designer:Ft,Runtime:Pl,Property:xt};class zu extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.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.caption=(l=e==null?void 0:e.caption)!=null?l:Qn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(v=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(C=>new kn(C)))!=null?v:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class Qn extends P{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new zu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}Qn.controlFieldType=g.TIMESTAMP,Qn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class xl extends D{static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new zu(e==null?void 0:e.props)}}xl.controlFieldType=g.TIMESTAMP;var Fl={Designer:Qn,Runtime:xl,Property:zu};class rb extends M{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 Jn extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.dataBind=new ty(e==null?void 0:e.dataBind),this.defaultValue=new ny(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.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=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Zn.controlName,this.limitDateList=(b=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(C=>new kn(C)))!=null?b:[]}}Jn.RuntimeRules=rb;class Zn extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}Zn.controlFieldType=g.TIMESCOPE,Zn.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class kl extends D{static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}kl.controlFieldType=g.TIMESCOPE;var Ol={Designer:Zn,Runtime:kl,Property:Jn};class lb extends J{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 ob extends M{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 kt extends R{constructor(e){super(e);var n,u,a,r,l,o;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ot.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}kt.Rules=lb,kt.RuntimeRules=ob;class Ot extends P{static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Ot.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ot.controlFieldType=g.TEXT,Ot.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Ml extends D{static get controlType(){return"textarea"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Ml.controlFieldType=g.TEXT;var Nl={Designer:Ot,Runtime:Ml,Property:kt};class cb extends J{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 sb extends M{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 Mt extends R{constructor(e){super(e);var n,u,a,r,l;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Nt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}Mt.Rules=cb,Mt.RuntimeRules=sb;class Nt extends P{static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new Mt(e==null?void 0:e.props)}}Nt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Nt.controlFieldType=g.TEXT,Nt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class $l extends D{static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new Mt(e==null?void 0:e.props)}}$l.controlFieldType=g.TEXT;var Ll={Designer:Nt,Runtime:$l,Property:Mt};class db extends ze{constructor(e){super(e)}}class Yn extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.options=he((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=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:pn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var m;(m=this.multistageFilling)==null||m.push(new ee(v))}))}}Yn.Rules=db;class pn extends P{static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}pn.controlFieldType=g.VARCHAR,pn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Vl extends D{static get controlType(){return"select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}Vl.controlFieldType=g.VARCHAR;var Hl={Designer:pn,Runtime:Vl,Property:Yn};class fb extends ze{constructor(e){super(e)}}class hb extends M{constructor(e){super(e);this[0].type="array"}}class $t extends R{constructor(e){super(e);var n,u,a,r,l,o,s;this.options=he((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=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:ei.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var v;(v=this.multistageFilling)==null||v.push(new ee(d))}))}}$t.Rules=fb,$t.RuntimeRules=hb;class ei extends P{static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new $t(e==null?void 0:e.props)}}ei.controlFieldType=g.ARRAY,ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class jl extends D{static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new $t(e==null?void 0:e.props)}}jl.controlFieldType=g.ARRAY;var ql={Designer:ei,Runtime:jl,Property:$t};class yb extends M{constructor(e){super(e);this[0].type="array"}}class ti extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:ni.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new ee(m))}))}}ti.RuntimeRules=yb;class ni extends P{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}ni.controlFieldType=g.EMPLOYEES,ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Ul extends D{static get controlType(){return"employee"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}Ul.controlFieldType=g.EMPLOYEES;var Wl={Designer:ni,Runtime:Ul,Property:ti};const mb=10485760,vb=104857600,gb=1048576e3;class bb extends J{constructor(e){super(e);this.maxSize={type:"number",min:0,max:gb,message:f.getMessage("attachmentMaxSize")}}}class Eb extends M{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 tt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:vb,this.caption=(s=e==null?void 0:e.caption)!=null?s:nt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}tt.Rules=bb,tt.RuntimeRules=Eb;class nt extends P{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new tt(e==null?void 0:e.props)}}nt.controlEventKeys=["on_change"],nt.controlFieldType=g.FILE,nt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Gu extends D{static get controlType(){return"attachment"}constructor(e){super(e);this.props=new tt(e==null?void 0:e.props)}}Gu.controlFieldType=g.FILE;var Kl={Designer:nt,Runtime:Gu,Property:tt};const zl=class extends nt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){super(t);var e,n,u,a;this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:zl.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let Xu=zl;Xu.controlFieldType=g.IMAGE,Xu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Cb extends Gu{static get controlType(){return"image"}constructor(e){super(e);var n,u,a,r,l,o;this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class Ib extends tt{constructor(e){super(e)}}var Gl={Designer:Xu,Runtime:Cb,Property:Ib};class wb extends ze{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,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class Ab extends M{constructor(e){super(e);this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[ln(ve({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class Lt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new ph(e==null?void 0:e.dataBind),this.datasourceBind=new Q((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Vi({value:"name"})]}),this.defaultValue=new ey((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:fn.CNY}),this.options=he(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Vt.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Lt.Rules=wb,Lt.RuntimeRules=Ab;class Vt extends P{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=g.MONEY,Vt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Xl extends D{static get controlType(){return"amount"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}}Xl.controlFieldType=g.MONEY;var Ql={Designer:Vt,Runtime:Xl,Property:Lt};class Sb extends J{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 _b extends M{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 Ht extends R{constructor(e){super(e);var n,u,a,r,l,o,s;this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:xu.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(l=(r=e==null?void 0:e.explain)==null?void 0:r.map(d=>new On(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new On),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:jt.controlName}}Ht.Rules=Sb,Ht.RuntimeRules=_b;class jt extends P{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new Ht(e==null?void 0:e.props)}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 u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new On);this.props.explain.push(...a)}}super.postUpdate(e,n)}}jt.controlEventKeys=["on_change","on_click"],jt.controlFieldType=g.DECIMAL,jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Jl extends D{static get controlType(){return"score"}constructor(e){super(e);this.props=new Ht(e==null?void 0:e.props)}}Jl.controlFieldType=g.DECIMAL;var Zl={Designer:jt,Runtime:Jl,Property:Ht};class Bb extends M{constructor(e){super(e);if(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 ii extends R{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:ui.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new iy((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}ii.RuntimeRules=Bb;class ui extends P{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new ii(e==null?void 0:e.props)}}ui.controlFieldType=g.ADDRESS,ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Yl extends D{static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}constructor(e){super(e);this.props=new ii(e==null?void 0:e.props)}}Yl.controlFieldType=g.ADDRESS;var pl={Designer:ui,Runtime:Yl,Property:ii};class Tb extends M{constructor(e){super(e);this[0].type="array"}}class ai extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:ri.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var A;(A=this.multistageFilling)==null||A.push(new ee(C))}))}}ai.RuntimeRules=Tb;class ri extends P{static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new ai(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ri.controlFieldType=g.DEPARTMENTS,ri.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class eo extends D{static get controlType(){return"department"}constructor(e){super(e);this.props=new ai(e==null?void 0:e.props)}}eo.controlFieldType=g.DEPARTMENTS;var to={Designer:ri,Runtime:eo,Property:ai};class Qu extends R{constructor(e){super(e);var n,u,a;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:qt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class qt extends P{static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Qu(e==null?void 0:e.props)}}qt.controlEventKeys=["on_change"],qt.controlFieldType=g.AUTO_NUMBER,qt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class no extends D{static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Qu(e==null?void 0:e.props)}}no.controlFieldType=g.AUTO_NUMBER;var io={Designer:qt,Runtime:no,Property:Qu};class Rb extends J{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 Pb extends M{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 Ut extends R{constructor(e){super(e);var n,u,a,r,l,o,s;this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new uy(e==null?void 0:e.dataBind),this.defaultValue=new ay(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Wt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}Ut.Rules=Rb,Ut.RuntimeRules=Pb;class Wt extends P{static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Wt.controlEventKeys=["on_change"],Wt.controlFieldType=g.CALC,Wt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class uo extends D{static get controlType(){return"calc"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}}uo.controlFieldType=g.CALC;var ao={Designer:Wt,Runtime:uo,Property:Ut};class Db extends M{constructor(e){super(e);this[0].type="array",this.push({validator(n,u){return e.required&&u.every(r=>!r)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class li extends R{constructor(e){super(e);var n,u,a,r,l,o;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:oi.controlName}}li.RuntimeRules=Db;class oi extends P{static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}}oi.controlFieldType=g.DECIMAL_RANGE,oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ro extends D{static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}}ro.controlFieldType=g.DECIMAL_RANGE;var lo={Designer:oi,Runtime:ro,Property:li};class xb extends M{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 R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:ge.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(v=e==null?void 0:e.placeholderEnd)!=null?v:"\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:si.controlName,this.limitDateList=(C=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(A=>new kn(A)))!=null?C:[]}}ci.RuntimeRules=xb;class si extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new ci(e==null?void 0:e.props)}}si.controlFieldType=g.ARRAY,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class oo extends D{static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new ci(e==null?void 0:e.props)}}oo.controlFieldType=g.ARRAY;var co={Designer:si,Runtime:oo,Property:ci};class Fb extends J{constructor(e){super(e);this.dataBind={type:"any"}}}class kb extends M{constructor(e){super(e);this[0].type="any"}}class Kt extends R{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:zt.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Kt.Rules=Fb,Kt.RuntimeRules=kb;class zt extends P{static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Kt(e==null?void 0:e.props)}}zt.controlFieldType=g.ANY,zt.controlEventKeys=[],zt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class so extends D{static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Kt(e==null?void 0:e.props)}}so.controlFieldType=g.ANY;var fo={Designer:zt,Runtime:so,Property:Kt};class Ob extends ze{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 di extends R{constructor(e){super(e);var n,u,a,r,l,o,s;this.options=he((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new er(e==null?void 0:e.listPageBind),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Gt.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=(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(d=>{var v;(v=this.multistageFilling)==null||v.push(new ee(d))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1}}di.Rules=Ob;class Gt extends P{static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}Gt.controlFieldType=g.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Gt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class ho extends D{static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}ho.controlFieldType=g.VARCHAR;var yo={Designer:Gt,Runtime:ho,Property:di};class Ju extends pe{constructor(e){super(e)}}class mo extends et{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new Ju(e==null?void 0:e.props)}}mo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class vo extends D{static get controlType(){return"search-input"}constructor(e){super(e);this.props=new Ju(e==null?void 0:e.props)}}vo.controlFieldType=g.VARCHAR;var go={Designer:mo,Runtime:vo,Property:Ju};class Mb extends J{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],nu.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"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Nb extends M{constructor(e){super(e);this[0].type="array"}}class Xt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C,A,E;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(d=e==null?void 0:e.defaultCollapse)!=null?d:"all",this.defaultCollapseLevel=(v=e==null?void 0:e.defaultCollapseLevel)!=null?v:1,this.datasourceBind=new Zh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=(A=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(_=>new ee(_)))!=null?A:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[]}}Xt.Rules=Mb,Xt.RuntimeRules=Nb;class Te extends P{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}]}constructor(e){super(e);this.props=new Xt(e==null?void 0:e.props)}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=g.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class bo extends D{static get controlType(){return"tree"}constructor(e){super(e);this.props=new Xt(e==null?void 0:e.props)}}bo.controlFieldType=g.ARRAY;var Eo={Designer:Te,Runtime:bo,Property:Xt};class $b extends J{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},nu.call(this,e,it.controlCustomAttributes),e.externalType===Qe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Lb extends M{constructor(e){super(e);this[0].type="array"}}class Qt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C,A,E;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:it.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new dn((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:it.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Nu.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Lu.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Qe.ALL,this.externalScope=(A=e==null?void 0:e.externalScope)!=null?A:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var y;(y=this.multistageFilling)==null||y.push(new ee(_))}))}}Qt.Rules=$b,Qt.RuntimeRules=Lb;class it extends P{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}]}constructor(e){super(e);this.props=new Qt(e==null?void 0:e.props)}}it.controlFieldType=g.EMPLOYEES,it.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Co extends D{static get controlType(){return"employee2"}constructor(e){super(e);this.props=new Qt(e==null?void 0:e.props)}}Co.controlFieldType=g.EMPLOYEES;var Io={Designer:it,Runtime:Co,Property:Qt};class Vb extends J{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,u,a)=>(n[a]={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(r,l,o){if(u.type==="public"&&ki(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&u.signatureType.includes("company")&&ki(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class fi extends R{constructor(e){super(e);var n,u,a,r,l,o;this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Jt.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Xr(e==null?void 0:e.signatureConfig)}}fi.Rules=Vb;class Jt extends P{static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new fi(e==null?void 0:e.props)}}Jt.controlEventKeys=["on_click","on_click_finish"],Jt.controlFieldType=g.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class wo extends D{static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new fi(e==null?void 0:e.props)}}wo.controlFieldType=g.VARCHAR;var Ao={Designer:Jt,Runtime:wo,Property:fi};class Hb extends J{constructor(e){super(e);this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class jb extends M{constructor(e){super(e);this[0].type="array"}}class Zt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C;this.caption=(n=e==null?void 0:e.caption)!=null?n:Yt.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(v=e==null?void 0:e.canDelete)!=null?v:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:mb,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Qr(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}Zt.Rules=Hb,Zt.RuntimeRules=jb;class Yt extends P{static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}constructor(e){super(e);this.props=new Zt(e==null?void 0:e.props)}}Yt.controlEventKeys=["on_change","on_wps_open"],Yt.controlFieldType=g.FILE,Yt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class So extends D{static get controlType(){return"wps"}constructor(e){super(e);this.props=new Zt(e==null?void 0:e.props)}}So.controlFieldType=g.FILE;var _o={Designer:Yt,Runtime:So,Property:Zt};class qb extends J{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},nu.call(this,e,ut.controlCustomAttributes),e.businessType===Qe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Ub extends M{constructor(e){super(e);this[0].type="array"}}class pt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C,A,E,_;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:ut.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new dn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:ut.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:$u.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Qe.ALL,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var S;(S=this.multistageFilling)==null||S.push(new ee(y))}))}}pt.Rules=qb,pt.RuntimeRules=Ub;class ut extends P{static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new pt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ut.controlFieldType=g.DEPARTMENTS,ut.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-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 Bo extends D{static get controlType(){return"department2"}constructor(e){super(e);this.props=new pt(e==null?void 0:e.props)}}Bo.controlFieldType=g.DEPARTMENTS;var To={Designer:ut,Runtime:Bo,Property:pt},Wb=Object.freeze({__proto__:null,Input:Sl,Checkbox:Bl,Radio:Rl,Number:Dl,DatePicker:Fl,DateRange:Ol,Textarea:Nl,RichText:Ll,Select:Hl,SelectMultiple:ql,Employee:Wl,Image:Gl,Attachment:Kl,Amount:Ql,Score:Zl,Address:pl,Department:to,AutoNumber:io,Calc:ao,SearchNumberRange:lo,SearchDateRange:co,VueFormItem:fo,SelectRelation:yo,SearchInput:go,Tree:Eo,Employee2:Io,ElectronicSignature:Ao,WPS:_o,Department2:To});class Ro extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ro.excludes=[I.GRID];class Kb extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var Po={Designer:Ro,Runtime:Kb,Property:$};const zb=24;class Re extends ${constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:zb,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class en extends H{static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new Re(e==null?void 0:e.props)}}en.excludes=[I.COL,I.CARD_GROUP,I.SUBTABLE,I.SUBTABLE_COLUMN,I.DIVIDER],en.childrenMaxLength=1;class Zu extends K{static get controlType(){return"col"}constructor(e){super(e);this.props=new Re(e==null?void 0:e.props)}}var Do={Designer:en,Runtime:Zu,Property:Re};class hi extends ${constructor(e){super(e);var n,u;this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class yi extends H{static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}yi.excludes=[I.ROW],yi.setting=[{key:"col-setting",visible:!0}];class xo extends K{static get controlType(){return"row"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}var Fo={Designer:yi,Runtime:xo,Property:hi};const Gb=4;class mi extends yi{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)}}mi.excludes=[I.GRID_ROW],mi.setting=[],mi.childrenMaxLength=Gb;class Xb extends xo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Qb extends hi{constructor(e){super(e)}}var ko={Designer:mi,Runtime:Xb,Property:Qb};class Jb extends $.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class vi extends ${constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}vi.Rules=Jb;class Yu extends H{static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}Yu.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Yu.excludes=[I.CARD_GROUP];class Zb extends K{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}var Oo={Designer:Yu,Runtime:Zb,Property:vi};class Yb extends L{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 gi extends ${constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=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.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new jh(e==null?void 0:e.metaAutoWidth)}}gi.Rules=Yb;class le extends H{constructor(e){super(e);this.props=new gi(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=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],le.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Mo extends K{constructor(e){super(e);this.props=new gi(e==null?void 0:e.props)}}Mo.controlType="subtable-column";var No={Designer:le,Runtime:Mo,Property:gi};class pu extends ${constructor(e){super(e)}}class Pe extends H{constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}Pe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Pe.controlType="subtable-row",Pe.controlIcon="subtable-row",Pe.childrenMaxLength=1,Pe.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],Pe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class pb extends K{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}var $o={Designer:Pe,Runtime:pb,Property:pu};class ea extends ${constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m;this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:g.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(v=e==null?void 0:e.timestampDateType)!=null?v:ge.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class De extends H{constructor(e){super(e);this.props=new ea(e==null?void 0:e.props)}}De.controlName="\u5217\u8868\u5355\u5143\u683C",De.controlType="gridtable-column",De.controlIcon="gridtable-column",De.childrenMaxLength=1,De.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],De.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Lo extends K{constructor(e){super(e);this.props=new ea(e==null?void 0:e.props)}}Lo.controlType="gridtable-column";var Vo={Designer:De,Runtime:Lo,Property:ea};class ta extends ${constructor(e){super(e)}}class e0 extends L{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class bi extends ${constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:nn.controlName}}bi.Rules=e0;class tn extends H{static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}tn.excludes=[I.TAB],tn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class t0 extends K{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}var Ho={Designer:tn,Runtime:t0,Property:bi};class nn extends H{static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}constructor(e){super(e);var n;this.props=new ta(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new tn,new tn]}}nn.excludes=[I.TAB],nn.controlEventKeys=["on_change_tab"],nn.setting=[{key:"super-setting",visible:!0}];class n0 extends K{static get controlType(){return"tab"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}var jo={Designer:nn,Runtime:n0,Property:ta};class qo extends ${constructor(e){super(e)}}class Uo extends H{static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new qo({}),this.children=(e==null?void 0:e.children)||[new en({props:new Re({span:12})}),new en({props:new Re({span:12})})]}}Uo.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class i0 extends K{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new Zu({props:new Re({span:12})}),new Zu({props:new Re({span:12})})]}}var Wo={Designer:Uo,Runtime:i0,Property:qo};class u0 extends Be{constructor(e){super(e);this.push({type:"object",fields:{}})}}class a0 extends L{constructor(e){super(e);if(this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),tu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class un extends ${constructor(e){super(e);var n,u,a,r,l,o,s,d;this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new zh(e==null?void 0:e.sublistPage),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(d=e==null?void 0:e.isAllLoaded)!=null?d:!0,this.countType=e==null?void 0:e.countType}}un.Rules=a0,un.RuntimeRules=u0;class Ei extends H{static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}Ei.excludes=[I.ROW],Ei.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"],Ei.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class r0 extends K{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}var Ko={Designer:Ei,Runtime:r0,Property:un};class l0 extends Be{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Ci extends ${constructor(e){super(e);var n,u,a,r,l,o;this.save=new Ee((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ee((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ee((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ee((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Ee(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind)}}Ci.RuntimeRules=l0;class zo extends H{static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}zo.excludes=[];class o0 extends K{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}var Go={Designer:zo,Runtime:o0,Property:Ci};class c0 extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class s0 extends K{static get controlType(){return"page"}constructor(e){super(e)}}class d0 extends ${constructor(e){super(e);var n;this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Xo={Designer:c0,Runtime:s0,Property:d0};class f0 extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class h0 extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class y0 extends ${constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Yr(e==null?void 0:e.flexConfig)}}var Qo={Designer:f0,Runtime:h0,Property:y0};class m0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class v0 extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class g0 extends ${constructor(e){super(e)}}var Jo={Designer:m0,Runtime:v0,Property:g0};class b0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class E0 extends K{static get controlType(){return"position"}constructor(e){super(e)}}class C0 extends ${constructor(e){super(e);var n,u,a,r;this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Zo={Designer:b0,Runtime:E0,Property:C0},I0=Object.freeze({__proto__:null,Grid:Po,Col:Do,Row:Fo,GridRow:ko,CardGroup:Oo,SubTableColumn:No,SubTableRow:$o,GridTableColumn:Vo,Tab:jo,TabPane:Ho,Toolbox:Wo,ListView:Ko,DataView:Go,Page:Xo,AdvancedContainer:Qo,PositioningContainer:Jo,Position:Zo});class w0 extends L{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")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class A0 extends Be{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,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class an extends _n{constructor(e,n){super(e,n);var u,a,r,l,o,s,d,v,m,b,C,A,E,_,y,S,w,F,O,ie,x,ue,rn,me;this.caption=(u=n==null?void 0:n.caption)!=null?u:Ii.controlName,this.isHideCaption=(a=n==null?void 0:n.isHideCaption)!=null?a:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(l=n==null?void 0:n.labelPosition)!=null?l:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(v=n==null?void 0:n.maxHeight)!=null?v:Jr,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.defaultRows=(C=n==null?void 0:n.defaultRows)!=null?C:1,this.datasourceBind=new Q(n==null?void 0:n.datasourceBind),this.canAdd=(A=n==null?void 0:n.canAdd)!=null?A:!0,this.canDelete=(E=n==null?void 0:n.canDelete)!=null?E:!0,this.canCheck=(_=n==null?void 0:n.canCheck)!=null?_:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(S=n==null?void 0:n.canImport)!=null?S:!1,this.canExport=(w=n==null?void 0:n.canExport)!=null?w:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(O=n==null?void 0:n.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ie=n==null?void 0:n.isShowCaptionTip)!=null?ie:!1,this.captionTip=(x=n==null?void 0:n.captionTip)!=null?x:"",this.mobileShowType=(ue=n==null?void 0:n.mobileShowType)!=null?ue:"list",this.dataStorageDoc=(rn=n==null?void 0:n.dataStorageDoc)!=null?rn:new qh,this.fixedColumn=(me=n==null?void 0:n.fixedColumn)!=null?me:[]}}an.Rules=w0,an.RuntimeRules=A0;class Ii extends yu{static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}constructor(e){super(e);var n;this.props=new an(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])}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new le,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Ii.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ii.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{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 S0 extends Vr{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new an(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Ua("Method not implemented.")}getChildrenFormControl(){return[]}}var Yo={Designer:Ii,Runtime:S0,Property:an};class na extends _n{constructor(e,n){super(e,n);var u,a,r,l;this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0}}class _0 extends Iu{constructor(e){super(e);this.caption.required=!1}}class wi extends j{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:xe.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(l=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}wi.Rules=_0;class xe extends z{constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}xe.controlType="order-column",xe.controlName="\u5E8F\u53F7",xe.controlIcon="order-column",xe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ia extends G{constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}ia.controlType="order-column",ia.controlFieldType=g.DECIMAL;var po={Designer:xe,Runtime:ia,Property:wi};class ua extends j{constructor(e){super(e);var n,u,a,r,l,o;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=e==null?void 0:e.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Fe.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Fe extends z{constructor(e){super(e);this.props=new ua(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Gn.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return ln(ve({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return ka(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}Fe.controlType="operation-column",Fe.controlName="\u64CD\u4F5C",Fe.controlIcon="operation-column",Fe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class aa extends G{constructor(e){super(e);this.props=new ua(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}aa.controlType="operation-column",aa.controlFieldType=g.FILE;var ec={Designer:Fe,Runtime:aa,Property:ua};class tc extends yu{static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new na(this,e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new xe,new Fe])}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return ln(ve({},e),{children:n})}validate(e,n){var u=a=>super[a];return ka(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}tc.setting=[{key:"list-fixed-header",visible:!0}];class B0 extends Vr{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new na(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Ua("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var nc={Designer:tc,Runtime:B0,Property:na},T0=Object.freeze({__proto__:null,SubTable:Yo,GridTable:nc});class R0 extends jr{constructor(e){super(e)}}class Ai extends j{constructor(e){super(e);var n,u,a,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ai.Rules=R0;class ke extends z{constructor(e){super(e);this.props=new Ai(e==null?void 0:e.props)}}ke.controlType="varchar-column",ke.controlName="\u77ED\u6587\u672C",ke.controlIcon="varchar-column",ke.controlFieldType=g.VARCHAR,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class ra extends G{constructor(e){super(e);this.props=new Ai(e==null?void 0:e.props)}}ra.controlType="varchar-column",ra.controlFieldType=g.VARCHAR;var ic={Designer:ke,Runtime:ra,Property:Ai};class la extends j{constructor(e){super(e);var n,u,a;this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:Oe.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class Oe extends z{constructor(e){super(e);this.props=new la(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}Oe.controlType="text-column",Oe.controlName="\u957F\u6587\u672C",Oe.controlIcon="text-column",Oe.controlFieldType=g.TEXT,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class oa extends G{constructor(e){super(e);this.props=new la(e==null?void 0:e.props)}}oa.controlType="text-column",oa.controlFieldType=g.TEXT;var uc={Designer:Oe,Runtime:oa,Property:la};class ca extends j{constructor(e){super(e);var n,u,a,r,l,o;this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((o=e==null?void 0:e.options)!=null?o:[{}])}}class Me extends z{constructor(e){super(e);this.props=new ca(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Me.controlType="decimal-column",Me.controlName="\u6570\u503C",Me.controlIcon="decimal-column",Me.controlFieldType=g.DECIMAL,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class sa extends G{constructor(e){super(e);this.props=new ca(e==null?void 0:e.props)}}sa.controlType="decimal-column",sa.controlFieldType=g.DECIMAL;var ac={Designer:Me,Runtime:sa,Property:ca};class da extends j{constructor(e){super(e);var n,u;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:Ne.controlName}}class Ne extends z{constructor(e){super(e);this.props=new da(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Ne.controlType="timescope-column",Ne.controlName="\u65E5\u671F\u533A\u95F4",Ne.controlIcon="timescope-column",Ne.controlFieldType=g.TIMESCOPE,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class fa extends G{constructor(e){super(e);this.props=new da(e==null?void 0:e.props)}}fa.controlType="timescope-column",fa.controlFieldType=g.TIMESCOPE;var rc={Designer:Ne,Runtime:fa,Property:da};class ha extends j{constructor(e){super(e);var n,u;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:$e.controlName}}class $e extends z{constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}$e.controlType="timestamp-column",$e.controlName="\u65E5\u671F",$e.controlIcon="timestamp-column",$e.controlFieldType=g.TIMESTAMP,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ya extends G{constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}ya.controlType="timestamp-column",ya.controlFieldType=g.TIMESTAMP;var lc={Designer:$e,Runtime:ya,Property:ha};class P0 extends jr{constructor(e){super(e)}}class Si extends j{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}])}}Si.Rules=P0;class Le extends z{constructor(e){super(e);this.props=new Si(e==null?void 0:e.props)}}Le.controlType="array-column",Le.controlName="\u6570\u7EC4",Le.controlIcon="array-column",Le.controlFieldType=g.ARRAY,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ma extends G{constructor(e){super(e);this.props=new Si(e==null?void 0:e.props)}}ma.controlType="array-column",ma.controlFieldType=g.ARRAY;var oc={Designer:Le,Runtime:ma,Property:Si};class va extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class Ve 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:u}=this.props;n.props.displayLevel=u}return n}}Ve.controlType="department-column",Ve.controlName="\u90E8\u95E8",Ve.controlIcon="department-column",Ve.controlFieldType=g.DEPARTMENTS,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ga extends G{constructor(e){super(e);this.props=new va(e==null?void 0:e.props)}}ga.controlType="department-column",ga.controlFieldType=g.DEPARTMENTS;var cc={Designer:Ve,Runtime:ga,Property:va};class ba extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends z{constructor(e){super(e);this.props=new ba(e==null?void 0:e.props)}}He.controlType="auto-number-column",He.controlName="\u81EA\u52A8\u7F16\u53F7",He.controlIcon="auto-number-column",He.controlFieldType=g.AUTO_NUMBER,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ea extends G{constructor(e){super(e);this.props=new ba(e==null?void 0:e.props)}}Ea.controlType="auto-number-column",Ea.controlFieldType=g.AUTO_NUMBER;var sc={Designer:He,Runtime:Ea,Property:ba};class Ca extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends z{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props)}}je.controlType="file-column",je.controlName="\u9644\u4EF6",je.controlIcon="file-column",je.controlFieldType=g.FILE,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ia extends G{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props)}}Ia.controlType="file-column",Ia.controlFieldType=g.FILE;var dc={Designer:je,Runtime:Ia,Property:Ca};class wa extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName}}class qe extends z{constructor(e){super(e);this.props=new wa(e==null?void 0:e.props)}}qe.controlType="image-column",qe.controlName="\u56FE\u7247",qe.controlIcon="image-column",qe.controlFieldType=g.IMAGE,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Aa extends G{constructor(e){super(e);this.props=new wa(e==null?void 0:e.props)}}Aa.controlType="image-column",Aa.controlFieldType=g.IMAGE;var fc={Designer:qe,Runtime:Aa,Property:wa};class Sa extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName}}class Ue extends z{constructor(e){super(e);this.props=new Sa(e==null?void 0:e.props)}}Ue.controlType="people-column",Ue.controlName="\u4EBA\u5458",Ue.controlIcon="people-column",Ue.controlFieldType=g.EMPLOYEES,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class _a extends G{constructor(e){super(e);this.props=new Sa(e==null?void 0:e.props)}}_a.controlType="people-column",_a.controlFieldType=g.EMPLOYEES;var hc={Designer:Ue,Runtime:_a,Property:Sa};class Ba extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName}}class We extends z{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}We.controlType="location-column",We.controlName="\u5730\u5740",We.controlIcon="location-column",We.controlFieldType=g.ADDRESS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ta extends G{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}Ta.controlType="location-column",Ta.controlFieldType=g.ADDRESS;var yc={Designer:We,Runtime:Ta,Property:Ba};class Ra extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Se.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const D0=1;class Se extends z{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new Ra(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),this.excludes=be(n),this.childrenMaxLength=u}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:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return ln(ve({},e),{children:this.children.map(n=>n.toSchema())})}}Se.controlType="custom-column",Se.controlName="\u81EA\u5B9A\u4E49",Se.controlIcon="custom-column",Se.excludes=[],Se.childrenMaxLength=D0,Se.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class mc extends G{constructor(e){super(e);this.props=new Ra(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}mc.controlType="custom-column";var vc={Designer:Se,Runtime:mc,Property:Ra};class Pa extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.datasourceBind=new dn((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:_e.controlCustomAttributes})}}class _e extends z{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new Pa(e==null?void 0:e.props)}}_e.controlType="employee-column",_e.controlName="\u4EBA\u5458",_e.controlIcon="employee-column",_e.controlFieldType=g.EMPLOYEES,_e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Da extends G{constructor(e){super(e);this.props=new Pa(e==null?void 0:e.props)}}Da.controlType="employee-column",Da.controlFieldType=g.EMPLOYEES;var gc={Designer:_e,Runtime:Da,Property:Pa},x0=Object.freeze({__proto__:null,VarcharColumn:ic,TextColumn:uc,DecimalColumn:ac,TimescopeColumn:rc,TimestampColumn:lc,ArrayColumn:oc,DepartmentColumn:cc,AutoNumberColumn:sc,FileColumn:dc,ImageColumn:fc,PeopleColumn:hc,LocationColumn:yc,CustomColumn:vc,OrderColumn:po,OperationColumn:ec,EmployeeColumn:gc});class F0 extends Be{constructor(e){super(e);this.push({type:"object",fields:{}})}}class _i extends _u{constructor(e){super(e);var n,u,a,r,l,o,s;this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ee((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ee((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=((o=e==null?void 0:e.custom)!=null?o:[]).map(d=>new Ee(d)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}_i.RuntimeRules=F0;class xa extends og{constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}xa.controlType="simple-search",xa.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class bc extends vg{constructor(e){super(e);var n;this.props=new _i(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}bc.controlType="simple-search";var Ec={Designer:xa,Runtime:bc,Property:_i},k0=Object.freeze({__proto__:null,SimpleSearch:Ec});h.Address=pl,h.AdvancedContainer=Qo,h.Amount=Ql,h.ArrayColumn=oc,h.AssignType=Qe,h.Attachment=Kl,h.AutoNumber=io,h.AutoNumberColumn=sc,h.BatchDeleteButton=wl,h.BatchPrintListButton=El,h.BatchPrintRecordListButton=Cl,h.BatchSubmissionListButton=ul,h.Button=Kr,h.Calc=ao,h.CardGroup=Oo,h.Checkbox=Bl,h.Col=Do,h.CreateFormListButton=il,h.CustomColumn=vc,h.DATE_CONFIG_TYPE=zr,h.DATE_LIMIT_TYPE=Gr,h.Dashboard=yl,h.DataView=Go,h.DatePicker=Fl,h.DateRange=Ol,h.DecimalColumn=ac,h.Department=to,h.Department2=To,h.DepartmentColumn=cc,h.DepartmentType=$u,h.Divider=tl,h.ElectronicSignature=Ao,h.ElectronicSignatureConfig=Xr,h.Employee=Wl,h.Employee2=Io,h.EmployeeColumn=gc,h.EncryptTypeEnum=pr,h.Explain=On,h.ExportListButton=rl,h.ExportRecordListButton=ll,h.ExportTemplate=Ou,h.FileColumn=dc,h.FlexStyleConfig=Yr,h.FormSelectButton=cl,h.Grid=Po,h.GridRow=ko,h.GridTable=nc,h.GridTableColumn=Vo,h.Image=Gl,h.ImageColumn=fc,h.ImportRecordListButton=ol,h.Input=Sl,h.InternalType=Lu,h.InvoiceCheckButton=bl,h.LINE_STYLE=Fu,h.LimitDate=kn,h.Link=Wr,h.ListSelectButton=sl,h.ListView=Ko,h.ListViewSelect=vl,h.LocationColumn=yc,h.Number=Dl,h.OperationButton=Il,h.OperationColumn=ec,h.OrderColumn=po,h.OrganizeType=Nu,h.Page=Xo,h.Pagination=fl,h.PeopleColumn=hc,h.Position=Zo,h.PositioningContainer=Jo,h.PrintTemplate=Zr,h.Radio=Rl,h.RichText=Ll,h.Row=Fo,h.SCORE_TYPE=xu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=Jr,h.Score=Zl,h.SearchDateRange=co,h.SearchInput=go,h.SearchNumberRange=lo,h.Select=Hl,h.SelectMultiple=ql,h.SelectRelation=yo,h.SimpleSearch=Ec,h.SubTable=Yo,h.SubTableColumn=No,h.SubTableRow=$o,h.SubmissionRecordListButton=al,h.Tab=jo,h.TabPane=Ho,h.Text=Ur,h.TextColumn=uc,h.TextOcrButton=gl,h.Textarea=Nl,h.TimescopeColumn=rc,h.TimestampColumn=lc,h.Title=nl,h.TitleConfigEnum=Ae,h.Toolbox=Wo,h.Tree=Eo,h.UndersignedPerson=ku,h.VarcharColumn=ic,h.VueFormItem=fo,h.WPS=_o,h.WPSSetting=Qr,h.WpsOperationItem=Mu,h.baseControls=Yg,h.columnControls=x0,h.formControls=Wb,h.initExpression=mt,h.layoutControls=I0,h.listControls=T0,h.searchControls=k0,Object.defineProperty(h,"__esModule",{value:!0})});
1
+ var M0=Object.defineProperty,N0=Object.defineProperties;var $0=Object.getOwnPropertyDescriptors;var Ic=Object.getOwnPropertySymbols;var L0=Object.prototype.hasOwnProperty,V0=Object.prototype.propertyIsEnumerable;var wc=(h,N,U)=>N in h?M0(h,N,{enumerable:!0,configurable:!0,writable:!0,value:U}):h[N]=U,ve=(h,N)=>{for(var U in N||(N={}))L0.call(N,U)&&wc(h,U,N[U]);if(Ic)for(var U of Ic(N))V0.call(N,U)&&wc(h,U,N[U]);return h},ln=(h,N)=>N0(h,$0(N));var ka=(h,N,U)=>new Promise((ae,on)=>{var Bi=de=>{try{rt(U.next(de))}catch(lt){on(lt)}},Ti=de=>{try{rt(U.throw(de))}catch(lt){on(lt)}},rt=de=>de.done?ae(de.value):Promise.resolve(de.value).then(Bi,Ti);rt((U=U.apply(h,N)).next())});(function(h,N){typeof exports=="object"&&typeof module!="undefined"?N(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],N):(h=typeof globalThis!="undefined"?globalThis:h||self,N(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,N){"use strict";function U(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ae=U(N),on="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Bi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ti="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",rt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",de="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",lt="{caption}\u5FC5\u586B",Ac="\u8BF7\u8F93\u5165\u6807\u9898",Sc="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",_c="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Bc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Tc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Rc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Pc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Dc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",xc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Fc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",kc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Oc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Mc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Nc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",$c="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Lc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Vc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Hc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",jc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",qc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Uc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Wc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Kc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",zc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Gc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Xc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Qc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Jc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Yc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",pc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",es="\u8BF7\u9009\u62E9\u7701",ts="\u8BF7\u9009\u62E9\u5E02",ns="\u8BF7\u9009\u62E9\u533A",is="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",us="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",as="\u8BF7\u8F93\u5165\u5217\u5BBD",rs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ls="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",os="\u8BF7\u9009\u62E9\u63A7\u4EF6",cs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ss="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ds="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",fs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",hs="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ys="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ms="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",vs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",gs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",bs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Es="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Cs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Is="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ws="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",As="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ss="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",_s="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Bs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ts="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Rs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ps="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ds={isNotNumber:on,isNotString:Bi,isNotObject:Ti,isNotArray:rt,isNotBoolean:de,runtimeRequired:lt,pleaseEnterCaption:Ac,pleaseEnterCaptionTip:Sc,pleaseEnterPlaceholder:_c,pleaseEnterFieldCode:Bc,pleaseEnterForm:Tc,pleaseEnterList:Rc,pleaseEnterProcess:Pc,pleaseEnterLabel:Dc,pleaseEnterValue:xc,bizKeyNotBindFiled:Fc,pleaseSelectOneField:kc,pleaseEnterNumberRange:Oc,pleaseEnterAValueGreaterThanMin:Mc,pleaseEnterAValueLessThanMax:Nc,numberRangeSetError:$c,stringRangeError:Lc,attachmentMaxSize:Vc,pleaseEnterTotalScoreSetting:Hc,theTotalScoreMustNotBeLessThan1:jc,scoreDefaultValueRange:qc,attachmentLimitError:Uc,PleaseReselectTheOptionalQuantity:Wc,TheMaximumLengthIsGreaterThanTheMinimumLength:Kc,TheMinimumLengthIsGreaterThanTheMaximumLength:zc,PleaseSelectTheCorrectOptionSettings:Gc,optionIdIsRepeat:Xc,optionIsRequired:Qc,pleaseEnterDataCode:Jc,pleaseEnterValueFieldCode:Zc,pleaseEnterSvcCode:Yc,pleaseBindAtLeastOneDisplayValue:pc,pleaseSelectProvince:es,pleaseSelectCity:ts,pleaseSelectDistrict:ns,limitRowsCannotBeLessThan0:is,TheNumberOfRowsCannotBeLessThanMinRows:us,pleaseEnterColumnWidth:as,pleaseSetTheLogicalRelationshipOfAllRuleConditions:rs,pleaseCompleteAllRulesAndConditions:ls,pleaseSelectControl:os,pleaseSelectAtLeastOneColumn:cs,pleaseSelectFillBackMode:ss,pleaseSelectDashboard:ds,rootNodeIsRequired:fs,theViewNameCannotBeEmpty:hs,pleaseSelectOcrType:ys,pleaseSelectAtLeastOneFieldToFillIn:ms,pleaseChooseAtLeastOne:vs,pleaseEnterButtonContent:gs,pleaseEnterDataCodeInDataSetting:bs,pleaseEnterValueFieldCodeInDataSetting:Es,pleaseEnterSvcCodeInDataSetting:Cs,pleaseBindAtLeastOneDisplayValueInDataSetting:Is,rootNodeIsRequiredInDataSetting:ws,pleaseEnterMaxHeight:As,pleaseEnter:Ss,pleaseEnterWatermark:_s,pleaseEnterFileName:Bs,pleaseUploadAtLeastOnePrintTemplate:Ts,pleaseAssignBusiness:Rs,pleaseAssignExternal:Ps},xs="Please enter a number",Fs="Please enter a string",ks="Please enter an object",Os="Please enter an array",Ms="Please enter a boolean",Ns="{caption} Required",$s="Please enter the title",Ls="Please enter the bubble prompt",Vs="Please enter the prompt text",Hs="Please bind data items",js="Please bind the form",qs="Please bind the list",Us="Please bind the process",Ws="Please enter the displayed value",Ks="Please enter the stored value",zs="The document number is not bound to the data item",Gs="Please select at least one display field",Xs="Please enter a value greater than or equal to {min} and less than or equal to {max}",Qs="Please enter a value greater than or equal to {min}",Js="Please enter a value less than or equal to {max}",Zs="The value range is set incorrectly",Ys="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ps="The attachment size must be between 0MB and 1000MB",ed="Please fill in the total score setting",td="The total score cannot be less than 1",nd="The default value must be between {min} and {max}",id="The number of attachments uploaded must be between {min} and {max}",ud="Please re-select the optional quantity",ad="The maximum length of the control must be greater than the minimum length",rd="The minimum length of the control must be less than the maximum length",ld="Please select the correct option setting",od="Option ID cannot be repeated",cd="Please enter at least one option",sd="Please bind the data source",dd="Please bind the stored value",fd="Please bind the service",hd="At least one display value must be bound",yd="Please select a province",md="Please select a city",vd="Please select a district",gd="The minimum number of lines to fill in cannot be less than 0",bd="The number of rows cannot be less than {min} rows",Ed="Please enter the column width",Cd="Please set the logical relationship of all rule conditions",Id="Please complete all rules and conditions",wd="please select control",Ad="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Sd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_d="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Bd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Td="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Rd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",kd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Od="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Md="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Nd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",$d="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ld="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Vd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Hd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jd={isNotNumber:xs,isNotString:Fs,isNotObject:ks,isNotArray:Os,isNotBoolean:Ms,runtimeRequired:Ns,pleaseEnterCaption:$s,pleaseEnterCaptionTip:Ls,pleaseEnterPlaceholder:Vs,pleaseEnterFieldCode:Hs,pleaseEnterForm:js,pleaseEnterList:qs,pleaseEnterProcess:Us,pleaseEnterLabel:Ws,pleaseEnterValue:Ks,bizKeyNotBindFiled:zs,pleaseSelectOneField:Gs,pleaseEnterNumberRange:Xs,pleaseEnterAValueGreaterThanMin:Qs,pleaseEnterAValueLessThanMax:Js,numberRangeSetError:Zs,stringRangeError:Ys,attachmentMaxSize:ps,pleaseEnterTotalScoreSetting:ed,theTotalScoreMustNotBeLessThan1:td,scoreDefaultValueRange:nd,attachmentLimitError:id,PleaseReselectTheOptionalQuantity:ud,TheMaximumLengthIsGreaterThanTheMinimumLength:ad,TheMinimumLengthIsGreaterThanTheMaximumLength:rd,PleaseSelectTheCorrectOptionSettings:ld,optionIdIsRepeat:od,optionIsRequired:cd,pleaseEnterDataCode:sd,pleaseEnterValueFieldCode:dd,pleaseEnterSvcCode:fd,pleaseBindAtLeastOneDisplayValue:hd,pleaseSelectProvince:yd,pleaseSelectCity:md,pleaseSelectDistrict:vd,limitRowsCannotBeLessThan0:gd,TheNumberOfRowsCannotBeLessThanMinRows:bd,pleaseEnterColumnWidth:Ed,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Cd,pleaseCompleteAllRulesAndConditions:Id,pleaseSelectControl:wd,pleaseSelectDashboard:Ad,theViewNameCannotBeEmpty:Sd,pleaseSelectOcrType:_d,pleaseSelectAtLeastOneFieldToFillIn:Bd,pleaseChooseAtLeastOne:Td,pleaseEnterButtonContent:Rd,pleaseEnterDataCodeInDataSetting:Pd,pleaseEnterValueFieldCodeInDataSetting:Dd,pleaseEnterSvcCodeInDataSetting:xd,pleaseBindAtLeastOneDisplayValueInDataSetting:Fd,rootNodeIsRequiredInDataSetting:kd,pleaseEnterMaxHeight:Od,pleaseEnter:Md,pleaseEnterWatermark:Nd,pleaseEnterFileName:$d,pleaseUploadAtLeastOnePrintTemplate:Ld,pleaseAssignBusiness:Vd,pleaseAssignExternal:Hd},qd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ud="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gd="{caption}\u5FC5\u9808",Xd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jd="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ef="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",af="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",of="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",sf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",df="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ff="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",yf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",mf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",vf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gf="\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",bf="\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",Ef="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Cf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",If="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",wf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Af="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_f="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Bf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Tf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Rf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Pf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Df="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",xf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Of="please select control",Mf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Nf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$f="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Lf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Vf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Hf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",jf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Wf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Kf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",zf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Gf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Xf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Qf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Jf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Zf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Yf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",pf={isNotNumber:qd,isNotString:Ud,isNotObject:Wd,isNotArray:Kd,isNotBoolean:zd,runtimeRequired:Gd,pleaseEnterCaption:Xd,pleaseEnterCaptionTip:Qd,pleaseEnterPlaceholder:Jd,pleaseEnterFieldCode:Zd,pleaseEnterForm:Yd,pleaseEnterList:pd,pleaseEnterProcess:ef,pleaseEnterLabel:tf,pleaseEnterValue:nf,bizKeyNotBindFiled:uf,pleaseSelectOneField:af,pleaseEnterNumberRange:rf,pleaseEnterAValueGreaterThanMin:lf,pleaseEnterAValueLessThanMax:of,numberRangeSetError:cf,stringRangeError:sf,attachmentMaxSize:df,pleaseEnterTotalScoreSetting:ff,theTotalScoreMustNotBeLessThan1:hf,scoreDefaultValueRange:yf,attachmentLimitError:mf,PleaseReselectTheOptionalQuantity:vf,TheMaximumLengthIsGreaterThanTheMinimumLength:gf,TheMinimumLengthIsGreaterThanTheMaximumLength:bf,PleaseSelectTheCorrectOptionSettings:Ef,optionIdIsRepeat:Cf,optionIsRequired:If,pleaseEnterDataCode:wf,pleaseEnterValueFieldCode:Af,pleaseEnterSvcCode:Sf,pleaseBindAtLeastOneDisplayValue:_f,pleaseSelectProvince:Bf,pleaseSelectCity:Tf,pleaseSelectDistrict:Rf,limitRowsCannotBeLessThan0:Pf,TheNumberOfRowsCannotBeLessThanMinRows:Df,pleaseEnterColumnWidth:xf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ff,pleaseCompleteAllRulesAndConditions:kf,pleaseSelectControl:Of,pleaseSelectDashboard:Mf,theViewNameCannotBeEmpty:Nf,pleaseSelectOcrType:$f,pleaseSelectAtLeastOneFieldToFillIn:Lf,pleaseChooseAtLeastOne:Vf,pleaseEnterButtonContent:Hf,pleaseEnterDataCodeInDataSetting:jf,pleaseEnterValueFieldCodeInDataSetting:qf,pleaseEnterSvcCodeInDataSetting:Uf,pleaseBindAtLeastOneDisplayValueInDataSetting:Wf,rootNodeIsRequiredInDataSetting:Kf,pleaseEnterMaxHeight:zf,pleaseEnter:Gf,pleaseEnterWatermark:Xf,pleaseEnterFileName:Qf,pleaseUploadAtLeastOnePrintTemplate:Jf,pleaseAssignBusiness:Zf,pleaseAssignExternal:Yf},eh={zhCN:Ds,enUS:jd,jaJP:pf},Oa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Oa||(Oa={}));var Ma;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ma||(Ma={}));var th="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 Na;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Na||(Na={}));var I;(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.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.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.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"})(I||(I={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var X;X={},p(X,g.ARRAY,I.ARRAY_COLUMN),p(X,g.AUTO_NUMBER,I.AUTO_NUMBER_COLUMN),p(X,g.DECIMAL,I.DECIMAL_COLUMN),p(X,g.DEPARTMENTS,I.DEPARTMENT_COLUMN),p(X,g.FILE,I.FILE_COLUMN),p(X,g.IMAGE,I.IMAGE_COLUMN),p(X,g.ADDRESS,I.LOCATION_COLUMN),p(X,g.EMPLOYEES,I.EMPLOYEE_COLUMN),p(X,g.TEXT,I.TEXT_COLUMN),p(X,g.TIMESCOPE,I.TIMESCOPE_COLUMN),p(X,g.TIMESTAMP,I.TIMESTAMP_COLUMN),p(X,g.VARCHAR,I.VARCHAR_COLUMN),p(X,g.RELATION,I.VARCHAR_COLUMN);var ge;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(ge||(ge={}));var $a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",nh=$a+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?$a:nh,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Ri(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function ih(t){if(Array.isArray(t))return Ri(t)}function uh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function La(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ah(){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 ah()?cn=Reflect.construct:cn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&ct(d,l.prototype),d},cn.apply(null,arguments)}function ot(t){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ot(t)}function Va(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&&ct(t,e)}function rh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function lh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function oh(){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 ch(t,e){return e&&(sh(e)==="object"||typeof e=="function")?e:uh(t)}function ct(t,e){return ct=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ct(t,e)}function Ha(t){return ih(t)||lh(t)||dh(t)||oh()}var sh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dh(t,e){if(!!t){if(typeof t=="string")return Ri(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 Ri(t,e)}}function Pi(t){var e=typeof Map=="function"?new Map:void 0;return Pi=function(u){if(u===null||!rh(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return cn(u,arguments,ot(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ct(a,u)},Pi(t)}function fh(){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 ja(t){var e=fh();return function(){var u=ot(t),a;if(e){var r=ot(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ch(this,a)}}var Di=console;function hh(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Di).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ha(a)))}function qa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Di).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(Ha(a)))}function yh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var xi=function(t){Va(n,t);var e=ja(n);function n(u){La(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?yh(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Pi(Error)),mh=function(t){Va(n,t);var e=ja(n);function n(u){La(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(xi);function Ua(t){throw new xi(t)}function Wa(t){throw new mh(t)}function vh(t){Di.error(new xi(t))}var gh=Object.prototype.toString;function Ka(t,e){return gh.call(t)==="[object "+e+"]"}function bh(t){return Ka(t,"String")}function Eh(t){return Ka(t,"Promise")}var Ch=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),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 u=this.getMessageData();Eh(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,r,l,o){if(a!==void 0){var s=a[r];if(!(l===o.length-1&&!bh(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var r=n[a];return r!==void 0?String(r):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=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 Ih(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function za(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function wh(t,e,n){return e&&za(t.prototype,e),n&&za(t,n),t}var f=function(){function t(){Ih(this,t)}return wh(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:th;return new Ch({locale:n,messages:eh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function Ah(t,e,n){var u=e.replace(/\[(\d)]/g,function(r,l){return"."+l}).split("."),a=!1;return u.reduce(function(r,l,o,s){var d=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,l)){hh("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),r,r);return}return o===s.length-1&&!Object.is(d[l],n)&&(d[l]=n,a=!0),d[l]}},t),a}var Sh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},_h={exports:{}};(function(t){(function(e){var n=function(y,S,w){if(!d(S)||m(S)||b(S)||C(S)||s(S))return S;var F,O=0,ie=0;if(v(S))for(F=[],ie=S.length;O<ie;O++)F.push(n(y,S[O],w));else{F={};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&(F[y(x,w)]=n(y,S[x],w))}return F},u=function(y,S){S=S||{};var w=S.separator||"_",F=S.split||/(?=[A-Z])/;return y.split(F).join(w)},a=function(y){return A(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(S,w){return w?w.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var S=a(y);return S.substr(0,1).toUpperCase()+S.substr(1)},l=function(y,S){return u(y,S).toLowerCase()},o=Object.prototype.toString,s=function(y){return typeof y=="function"},d=function(y){return y===Object(y)},v=function(y){return o.call(y)=="[object Array]"},m=function(y){return o.call(y)=="[object Date]"},b=function(y){return o.call(y)=="[object RegExp]"},C=function(y){return o.call(y)=="[object Boolean]"},A=function(y){return y=y-0,y===y},E=function(y,S){var w=S&&"process"in S?S.process:S;return typeof w!="function"?y:function(F,O){return w(F,y,O)}},_={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(y,S){return n(E(a,S),y)},decamelizeKeys:function(y,S){return n(E(l,S),y,S)},pascalizeKeys:function(y,S){return n(E(r,S),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=_:e.humps=_})(Sh)})(_h);var Ga={};Object.defineProperty(Ga,"__esModule",{value:!0});function Fi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Fi(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Fi(u)}return e}}var Bh=Ga.default=Fi;function be(t){if(t!==void 0)return typeof t=="object"?Bh(t):t}function Th(t){return Object.prototype.toString.call(t)==="[object Object]"}function ki(t){return Array.isArray(t)}function Rh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Oi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Ph(t){if(Array.isArray(t))return Oi(t)}function Xa(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Dh(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Xa(r,u,a,l,o,"next",s)}function o(s){Xa(r,u,a,l,o,"throw",s)}l(void 0)})}}function xh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qa(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Fh(t,e,n){return e&&Qa(t.prototype,e),n&&Qa(t,n),t}function kh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Oh(){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 Mi(t){return Ph(t)||kh(t)||Mh(t)||Oh()}function Mh(t,e){if(!!t){if(typeof t=="string")return Oi(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 Oi(t,e)}}var Nh=function(){function t(){xh(this,t),this._events=new Map,this.debug=!1}return Fh(t,[{key:"emit",value:function(n){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 Dh(ae.default.mark(function o(){var s,d,v,m,b,C,A,E,_,y;return ae.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(s=l._events.get(n),d=[],!s){w.next=42;break}v=s.slice(),m=!0,b=!1,C=void 0,w.prev=5,A=v[Symbol.iterator]();case 7:if(m=(E=A.next()).done){w.next=28;break}if(_=E.value,s.includes(_)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,l.debug&&qa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Mi(a))),w.next=15,_.apply(null,Mi(a));case 15:if(y=w.sent,l.debug&&qa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Mi(a),[y])),d.push(y),y!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),vh(String(w.t0)+":"+String(w.t0.stack));case 25:m=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),b=!0,C=w.t1;case 34:w.prev=34,w.prev=35,!m&&A.return!=null&&A.return();case 37:if(w.prev=37,!b){w.next=40;break}throw C;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",d);case 43:case"end":return w.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}(),$h=[];new Set($h.map(function(t){return t.Designer.controlType}));function Ja(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t){return sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sn(t)}function oe(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&&Ni(t,e)}function Za(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Lh(t,e){return e&&(Vh(e)==="object"||typeof e=="function")?e:Ja(t)}function Ni(t,e){return Ni=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ni(t,e)}var Vh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof 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 ce(t){var e=Hh();return function(){var u=sn(t),a;if(e){var r=sn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Lh(this,a)}}var re=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:""},Ya=function t(e){B(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 u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},$i=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:240;var l;return a.widthType=(l=u==null?void 0:u.widthType)!==null&&l!==void 0?l:"auto",a}return n}(Ya),jh=function t(e){B(this,t),this.pc=new $i(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new $i(e==null?void 0:e.mobile):new $i({width:130,minWidth:180})},qh=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var u;this.customOptions=(u=e==null?void 0:e.customOptions)!==null&&u!==void 0?u:[]},Li=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},Uh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;return a.primaryControlId=(r=u==null?void 0:u.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(Li),pa=function t(e){B(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},er=function t(e){B(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new pa(l)}))!==null&&r!==void 0?r:[]},Wh=function t(e){B(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:g.VARCHAR},Kh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.title=(r=u==null?void 0:u.title)!==null&&r!==void 0?r:"";var l;a.svcCode=(l=u==null?void 0:u.svcCode)!==null&&l!==void 0?l:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(Li),zh=function t(e){B(this,t);var n,u;this.type="sublist-page",this.formBind=new Li(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new Wh(l)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(l){return new Kh(l)}))!==null&&r!==void 0?r:[]},Gh=function t(e){B(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},st=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},Xh=function t(e){B(this,t),this.type="conditions";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();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;if(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)){var l=this;e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=l.children)===null||s===void 0||s.push(d)}else{var v,m=new tr(o);(v=l.children)===null||v===void 0||v.push(m)}})}},tr=function t(e){B(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new Gh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new st(e==null?void 0:e.rightVariableBo)},ee=function t(e){B(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Vi=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},Qh=function t(e){B(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function Hi(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Xh(l):new tr(l)}))!==null&&n!==void 0?n:[],Za(this,Q)||Za(this,ji)){var u,a,r;this.orders=(r=(u=t)===null||u===void 0||(a=u.orders)===null||a===void 0?void 0:a.map(function(l){return new Qh(l)}))!==null&&r!==void 0?r:[]}}var Q=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;if(this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)){var r=this;e==null||e.displayBoList.map(function(s){var d;(d=r.displayBoList)===null||d===void 0||d.push(new Vi(s))})}var l;this.showOrder=(l=e==null?void 0:e.showOrder)!==null&&l!==void 0?l:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Hi.call(this,e)},Jh=function t(e){B(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Vi(l)}))!==null&&r!==void 0?r:[]},dn=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a,r;a=e.call(this,u);var l;return a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(o){return new Jh(o)}))!==null&&l!==void 0?l:[],a}return n}(Q),Zh=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this,u),a.rootNode=new st(u==null?void 0:u.rootNode),a}return n}(dn),nr=function t(e){B(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&r!==void 0?r:[]},ji=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this,u),Hi.call(Ja(a),u),a}return n}(nr),ir=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;a=e.call(this,u);var r;a.mode=(r=u==null?void 0:u.mode)!==null&&r!==void 0?r:"current";var l;return a.multiple=(l=u==null?void 0:u.multiple)!==null&&l!==void 0?l:!1,a}return n}(nr),ur=function t(e){B(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},Yh=function t(e){B(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function he(t){var e;return(e=t==null?void 0:t.map(function(n){return new Yh(n)}))!==null&&e!==void 0?e:[]}var qi=function t(){B(this,t)},ph=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.amount=new re(u==null?void 0:u.amount),a.currency=new re(u==null?void 0:u.currency),a}return n}(qi),ey=function t(e){B(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:fn.CNY},ty=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.min=new re(u==null?void 0:u.min),a.max=new re(u==null?void 0:u.max),a}return n}(qi),ny=function t(e){B(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},iy=function t(e){B(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},uy=function(t){oe(n,t);var e=ce(n);function n(u){B(this,n);var a;return a=e.call(this),a.result=new re(u==null?void 0:u.result),a.unit=new re(u==null?void 0:u.unit),a}return n}(qi),ay=function t(e){B(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},fn;(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"})(fn||(fn={}));var c;(function(t){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.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"})(c||(c={}));var Ui;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Ui||(Ui={}));var Ee=function t(e){B(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},ry=function t(e){B(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:fe(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new pa(l)}))!==null&&r!==void 0?r:[],Hi.call(this,e)},ly=function t(e){B(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function oy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cy(){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 hn(t,e,n){return cy()?hn=Reflect.construct:hn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&ft(d,l.prototype),d},hn.apply(null,arguments)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function sy(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&&ft(t,e)}function dy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function fy(t,e){return e&&(hy(e)==="object"||typeof e=="function")?e:oy(t)}function ft(t,e){return ft=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ft(t,e)}var hy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(u){if(u===null||!dy(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return hn(u,arguments,dt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ft(a,u)},Ki(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 my(t){var e=yy();return function(){var u=dt(t),a;if(e){var r=dt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return fy(this,a)}}var L=function t(e){Wi(this,t),this.isHide={type:"boolean"}},Be=function(t){sy(n,t);var e=my(n);function n(u){return Wi(this,n),e.call(this)}return n}(Ki(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Wi(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new ly(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};q.Rules=L,q.RuntimeRules=Be;function se(){return se=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},se.apply(this,arguments)}function vy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function zi(t){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(t)}function yn(t,e){return yn=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},yn(t,e)}function gy(){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 mn(t,e,n){return gy()?mn=Reflect.construct:mn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&yn(d,l.prototype),d},mn.apply(null,arguments)}function by(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gi(t){var e=typeof Map=="function"?new Map:void 0;return Gi=function(u){if(u===null||!by(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return mn(u,arguments,zi(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),yn(a,u)},Gi(t)}var Ey=/%[sdj%]/g,ar=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ar=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function Xi(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var l=String(a).replace(Ey,function(o){if(o==="%%")return"%";if(u>=r)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return l}return a}function Cy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Cy(e)&&typeof t=="string"&&!t)}function Iy(t,e,n){var u=[],a=0,r=t.length;function l(o){u.push.apply(u,o),a++,a===r&&n(u)}t.forEach(function(o){e(o,l)})}function rr(t,e,n){var u=0,a=t.length;function r(l){if(l&&l.length){n(l);return}var o=u;u=u+1,o<a?e(t[o],r):n([])}r([])}function wy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var lr=function(t){vy(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(Gi(Error));function Ay(t,e,n,u){if(e.first){var a=new Promise(function(m,b){var C=function(_){return u(_),_.length?b(new lr(_,Xi(_))):m()},A=wy(t);rr(A,n,C)});return a.catch(function(m){return m}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],v=new Promise(function(m,b){var C=function(E){if(d.push.apply(d,E),s++,s===o)return u(d),d.length?b(new lr(d,Xi(d))):m()};l.length||(u(d),m()),l.forEach(function(A){var E=t[A];r.indexOf(A)!==-1?rr(E,n,C):Iy(E,n,C)})});return v.catch(function(m){return m}),v}function or(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 cr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=se(se({},t[n]),u):t[n]=u}}return t}function sr(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||V(e,r||t.type))&&u.push(te(a.messages.required,t.fullField))}function Sy(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(te(a.messages.whitespace,t.fullField))}var Qi={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},ht={integer:function(e){return ht.number(e)&&parseInt(e,10)===e},float:function(e){return ht.number(e)&&!ht.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"&&!ht.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Qi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Qi.url)},hex:function(e){return typeof e=="string"&&!!e.match(Qi.hex)}};function _y(t,e,n,u,a){if(t.required&&e===void 0){sr(t,e,n,u,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;r.indexOf(l)>-1?ht[l](e)||u.push(te(a.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&u.push(te(a.messages.types[l],t.fullField,t.type))}function By(t,e,n,u,a){var r=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,v=null,m=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(m?v="number":b?v="string":C&&(v="array"),!v)return!1;C&&(d=e.length),b&&(d=e.replace(s,"_").length),r?d!==t.len&&u.push(te(a.messages[v].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(te(a.messages[v].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(te(a.messages[v].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(te(a.messages[v].range,t.fullField,t.min,t.max))}var Ke="enum";function Ty(t,e,n,u,a){t[Ke]=Array.isArray(t[Ke])?t[Ke]:[],t[Ke].indexOf(e)===-1&&u.push(te(a.messages[Ke],t.fullField,t[Ke].join(", ")))}function Ry(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:sr,whitespace:Sy,type:_y,range:By,enum:Ty,pattern:Ry};function Py(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();T.required(t,e,u,r,a,"string"),V(e,"string")||(T.type(t,e,u,r,a),T.range(t,e,u,r,a),T.pattern(t,e,u,r,a),t.whitespace===!0&&T.whitespace(t,e,u,r,a))}n(r)}function Dy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T.type(t,e,u,r,a)}n(r)}function xy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&(T.type(t,e,u,r,a),T.range(t,e,u,r,a))}n(r)}function Fy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T.type(t,e,u,r,a)}n(r)}function ky(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),V(e)||T.type(t,e,u,r,a)}n(r)}function Oy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&(T.type(t,e,u,r,a),T.range(t,e,u,r,a))}n(r)}function My(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&(T.type(t,e,u,r,a),T.range(t,e,u,r,a))}n(r)}function Ny(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();T.required(t,e,u,r,a,"array"),e!=null&&(T.type(t,e,u,r,a),T.range(t,e,u,r,a))}n(r)}function $y(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T.type(t,e,u,r,a)}n(r)}var Ly="enum";function Vy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T[Ly](t,e,u,r,a)}n(r)}function Hy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();T.required(t,e,u,r,a),V(e,"string")||T.pattern(t,e,u,r,a)}n(r)}function jy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"date")&&!t.required)return n();if(T.required(t,e,u,r,a),!V(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),T.type(t,o,u,r,a),o&&T.range(t,o.getTime(),u,r,a)}}n(r)}function qy(t,e,n,u,a){var r=[],l=Array.isArray(e)?"array":typeof e;T.required(t,e,u,r,a,l),n(r)}function Ji(t,e,n,u,a){var r=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(V(e,r)&&!t.required)return n();T.required(t,e,u,l,a,r),V(e,r)||T.type(t,e,u,l,a)}n(l)}function Uy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();T.required(t,e,u,r,a)}n(r)}var yt={string:Py,method:Dy,number:xy,boolean:Fy,regexp:ky,integer:Oy,float:My,array:Ny,object:$y,enum:Vy,pattern:Hy,date:jy,url:Ji,hex:Ji,email:Ji,required:qy,any:Uy};function Zi(){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 Yi=Zi();function Ce(t){this.rules=null,this._messages=Yi,this.define(t)}Ce.prototype={messages:function(e){return e&&(this._messages=cr(Zi(),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,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var r=e,l=n,o=u;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var _,y=[],S={};function w(F){if(Array.isArray(F)){var O;y=(O=y).concat.apply(O,F)}else y.push(F)}for(_=0;_<E.length;_++)w(E[_]);y.length?S=Xi(y):(y=null,S=null),o(y,S)}if(l.messages){var d=this.messages();d===Yi&&(d=Zi()),cr(d,l.messages),l.messages=d}else l.messages=this.messages();var v,m,b={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){v=a.rules[E],m=r[E],v.forEach(function(_){var y=_;typeof y.transform=="function"&&(r===e&&(r=se({},r)),m=r[E]=y.transform(m)),typeof y=="function"?y={validator:y}:y=se({},y),y.validator=a.getValidationMethod(y),y.field=E,y.fullField=y.fullField||E,y.type=a.getType(y),!!y.validator&&(b[E]=b[E]||[],b[E].push({rule:y,value:m,source:r,field:E}))})});var A={};return Ay(b,l,function(E,_){var y=E.rule,S=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");S=S&&(y.required||!y.required&&E.value),y.field=E.field;function w(ie,x){return se(se({},x),{},{fullField:y.fullField+"."+ie})}function F(ie){ie===void 0&&(ie=[]);var x=ie;if(Array.isArray(x)||(x=[x]),!l.suppressWarning&&x.length&&Ce.warning("async-validator:",x),x.length&&y.message!==void 0&&(x=[].concat(y.message)),x=x.map(or(y)),l.first&&x.length)return A[y.field]=1,_(x);if(!S)_(x);else{if(y.required&&!E.value)return y.message!==void 0?x=[].concat(y.message).map(or(y)):l.error&&(x=[l.error(y,te(l.messages.required,y.field))]),_(x);var ue={};if(y.defaultField)for(var rn in E.value)E.value.hasOwnProperty(rn)&&(ue[rn]=y.defaultField);ue=se(se({},ue),E.rule.fields);for(var me in ue)if(ue.hasOwnProperty(me)){var O0=Array.isArray(ue[me])?ue[me]:[ue[me]];ue[me]=O0.map(w.bind(null,me))}var Cc=new Ce(ue);Cc.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),Cc.validate(E.value,E.rule.options||l,function(Fa){var at=[];x&&x.length&&at.push.apply(at,x),Fa&&Fa.length&&at.push.apply(at,Fa),_(at.length?at:null)})}}var O;y.asyncValidator?O=y.asyncValidator(y,E.value,F,E.source,l):y.validator&&(O=y.validator(y,E.value,F,E.source,l),O===!0?F():O===!1?F(y.message||y.field+" fails"):O instanceof Array?F(O):O instanceof Error&&F(O.message)),O&&O.then&&O.then(function(){return F()},function(ie){return F(ie)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!yt.hasOwnProperty(e.type))throw new Error(te("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),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?yt.required:yt[this.getType(e)]||!1}},Ce.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");yt[e]=n},Ce.warning=ar,Ce.messages=Yi,Ce.validators=yt;var Wy={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 Ky(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ce(t);return n.messages(Object.assign(Wy,e)),n}var zy=new Nh;function pi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Gy(t){if(Array.isArray(t))return t}function Xy(t){if(Array.isArray(t))return pi(t)}function dr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function fr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){dr(r,u,a,l,o,"next",s)}function o(s){dr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Qy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Jy(t,e,n){return e&&hr(t.prototype,e),n&&hr(t,n),t}function Zy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function mr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Yy(){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 py(){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 vr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Zy(t,a,n[a])})}return t}function em(t){return Gy(t)||mr(t)||gr(t,i)||Yy()}function eu(t){return Xy(t)||mr(t)||gr(t)||py()}function gr(t,e){if(!!t){if(typeof t=="string")return pi(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 pi(t,e)}}var k=function(){function e(n){var u=this;Qy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Er,this.removeSetting=br,this._callControlHooks("preInstance",n);var a=yr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,o=a.controlType,s=a.controlFieldType,d=a.controlEventKeys,v=a.controlCustomEvents,m=a.name,b=a.setting;r&&l&&o||Wa("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:fe(10),this.name=r,this.icon=l;var A;this.type=(A=n==null?void 0:n.type)!==null&&A!==void 0?A:o,this.props=new q(n==null?void 0:n.props,(yr(this,e)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=be(b);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=be(d),this.customEvents=be(v),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return Jy(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}},{key:"_callControlHooks",value:function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,o=em(a),s=o[0],d=o.slice(1);return(l=zy).emit.apply(l,[s,this].concat(eu(d)))}},{key:"preUpdate",value:function(u,a){this._callControlHooks("preUpdateProps",u,a)}},{key:"postUpdate",value:function(u,a){this._callControlHooks("postUpdateProps",u,a)}},{key:"updateProps",value:function(u,a){this.preUpdate(u,a),Ah(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return fr(ae.default.mark(function a(){var r,l,o;return ae.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return r=vr({},u.rules),d.next=3,u._callControlHooks("preValidate",r);case 3:return l=d.sent,o=l[l.length-1],d.abrupt("return",o===!1?void 0:o);case 6:case"end":return d.stop()}},a)}))()}},{key:"validate",value:function(u,a){var r=this;return fr(ae.default.mark(function l(){var o,s,d;return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,r.preValidate();case 2:return o=m.sent,s=o!==void 0?o:vr({},r.rules),Array.isArray(a)&&a.forEach(function(b){s.hasOwnProperty(b)&&delete s[b]}),d=Ky(s,u),m.prev=6,m.next=9,d.validate(r.props);case 9:return m.abrupt("return",!0);case 12:throw m.prev=12,m.t0=m.catch(6),m.t0.control||(m.t0.control=r),m.t0;case 16:case"end":return m.stop()}},l,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,o=this.props,s=o.dataBind,d=o.datasourceBind,v=o.optionConfig,m=o.caption,b=o.required,C=o.maxLength,A=o.options,E=o.encrypted,_=o.encryptedMode;if(!(!a&&!s&&!d)){var y={parentId:u,fieldType:a,controlId:r,caption:m,type:l,props:{}};switch(s&&(y.dataBind=s),v){case"datasource":case void 0:d&&(y.datasourceBind=d);break;case"custom":y.props.options=A;break}return b!==void 0&&(y.required=b),C!==void 0&&(y.maxLength=C),E!==void 0&&(y.encrypted=E),_!==void 0&&(y.encryptedMode=_),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:be(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,eu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();k.controlName="\u63A7\u4EF6",k.controlIcon="icon",k.controlType="control",k.controlEventKeys=[],k.controlCustomEvents=[],k.setting=[],k.__is_control__=!0,k.removeSettingItem=br,k.updateSettingItem=Er;function br(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a=typeof u!="string",r=e.setting.findIndex(function(s){return s.key===(a?u.key:u)});if(r!==-1){var l,o;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(s){return!u.hideItems.includes(s)}):e.setting.splice(r,1),a&&!((o=e.setting[r].showItems)===null||o===void 0?void 0:o.length)&&e.setting.splice(r,1)}})}function Er(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(a){var r=n.setting.find(function(d){return d.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,eu(e.showItems))}}}})}function tm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function nm(t,e,n){return e&&Cr(t.prototype,e),n&&Cr(t,n),t}function im(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){tm(this,e),this.customEvents=[],this.parent=null;var u=im(this,e)?this.constructor:void 0,a=u.controlType,r=u.controlFieldType,l=u.name,o=u.controlCustomEvents;a||Wa("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:fe(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:Ui.UNKNOWN}return nm(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var a=new u(this.props);return Array.from(a)}return[]}}]),e}();W.controlType="control",W.__is_control__=!0,W.controlCustomEvents=[];function tu(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,u,a){u.length===0&&a(f.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,u,a){var r=u.map(function(o){return o.value}),l=Rh(r);r.length!==l.length?a(f.getMessage("optionIdIsRepeat")):a()},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,u,a){u.length===0&&a(f.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},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 nu(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(a,r,l){r.length===0&&l(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},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 Ir(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function bn(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 um(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function am(t,e){return e&&(rm(e)==="object"||typeof e=="function")?e:Ir(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},iu(t,e)}var rm=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 En(t){var e=lm();return function(){var u=gn(t),a;if(e){var r=gn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return am(this,a)}}var J=function(t){bn(n,t);var e=En(n);function n(u){vn(this,n);var a;a=e.call(this,u),a.dataBind={},a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.isHideCaption={type:"boolean"},a.labelPosition={type:"enum",enum:["top","left"]},a.defaultState={type:"enum",enum:["default","readonly"]},a.required={type:"boolean"},a.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(um(u.dataBind,re))a.dataBind={type:"object",required:!0,fields:be(r),message:f.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:be(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(L),M=function(t){bn(n,t);var e=En(n);function n(u){vn(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(Be),R=function(t){bn(n,t);var e=En(n);function n(u){vn(this,n);var a;a=e.call(this,u);var r;a.caption=(r=u==null?void 0:u.caption)!==null&&r!==void 0?r:"";var l;a.isHideCaption=(l=u==null?void 0:u.isHideCaption)!==null&&l!==void 0?l:!1;var o;a.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;a.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;a.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var v;a.labelPosition=(v=u==null?void 0:u.labelPosition)!==null&&v!==void 0?v:"top";var m;a.placeholder=(m=u==null?void 0:u.placeholder)!==null&&m!==void 0?m:"";var b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var C;a.requiredMessage=(C=u==null?void 0:u.requiredMessage)!==null&&C!==void 0?C:"",a.dataBind=new re(u==null?void 0:u.dataBind);var A;return a.defaultValue=(A=u==null?void 0:u.defaultValue)!==null&&A!==void 0?A:"",a}return n}(q);R.Rules=J,R.RuntimeRules=M;var ze=function(t){bn(n,t);var e=En(n);function n(u){vn(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],tu.call(Ir(a),u),a}return n}(J);function om(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function sm(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 dm(t,e){return e&&(fm(e)==="object"||typeof e=="function")?e:om(t)}function uu(t,e){return uu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},uu(t,e)}var fm=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 ym(t){var e=hm();return function(){var u=Cn(t),a;if(e){var r=Cn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return dm(this,a)}}var P=function(t){sm(n,t);var e=ym(n);function n(u){cm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new R(u==null?void 0:u.props),a}return n}(k);P.controlEventKeys=["on_change","on_focus","on_blur"];function mm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function gm(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&&(Em(e)==="object"||typeof e=="function")?e:mm(t)}function au(t,e){return au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},au(t,e)}var Em=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cm(){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 Im(t){var e=Cm();return function(){var u=In(t),a;if(e){var r=In(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return bm(this,a)}}var D=function(t){gm(n,t);var e=Im(n);function n(u){vm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new R(u==null?void 0:u.props),a}return n}(W);function wm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Am(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 Sm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ru(t,e)}function _m(t,e){return e&&(Bm(e)==="object"||typeof e=="function")?e:wm(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ru(t,e)}var Bm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tm(){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 Rm(t){var e=Tm();return function(){var u=wn(t),a;if(e){var r=wn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return _m(this,a)}}var $=function(t){Sm(n,t);var e=Rm(n);function n(u){return Am(this,n),e.call(this,u)}return n}(q);function lu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Pm(t){if(Array.isArray(t))return lu(t)}function Dm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xm(){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 Pm(t)||Dm(t)||Fm(t)||xm()}function Fm(t,e){if(!!t){if(typeof t=="string")return lu(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 lu(t,e)}}function km(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function Ar(t,e){t.parent=e,km(t,"parent")}function Om(t,e){t.forEach(function(n){Ar(n,e)})}var Sr=Symbol("targetKey");function _r(t){var e;return(e=t[Sr])!==null&&e!==void 0?e:t}function Br(t,e){return Om(t,e),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),o=2;o<r;o++)l[o-2]=arguments[o];var s;return a===Sr?u:(s=Reflect).get.apply(s,[u,a].concat(wr(l)))},set:function(u,a,r){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var d;if(ki(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(wr(o)));return Th(r)&&Ar(r,e),v}})}function ye(t,e,n,u){var a=u!=null?u:t,r=Br(_r(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return r},set:function(o){r=Br(_r(o),a)},enumerable:!0})}function ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Mm(t){if(Array.isArray(t))return ou(t)}function Tr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Nm(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Rr(r,u,a,l,o,"next",s)}function o(s){Rr(r,u,a,l,o,"throw",s)}l(void 0)})}}function $m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Lm(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(t,n),t}function Vm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ge(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ge=Reflect.get:Ge=function(a,r,l){var o=zm(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},Ge(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(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&&cu(t,e)}function jm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function qm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Um(){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 Wm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Vm(t,a,n[a])})}return t}function Km(t,e){return e&&(Gm(e)==="object"||typeof e=="function")?e:Tr(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},cu(t,e)}function zm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function Dr(t){return Mm(t)||qm(t)||Xm(t)||Um()}var Gm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xm(t,e){if(!!t){if(typeof t=="string")return ou(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ou(t,e)}}function Qm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jm(t){var e=Qm();return function(){var u=Ie(t),a;if(e){var r=Ie(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Km(this,a)}}var Zm=1e4,H=function(e){Hm(u,e);var n=Jm(u);function u(a){$m(this,u);var r;r=n.call(this,a),r.controlType="layout";var l=jm(this,u)?this.constructor:void 0,o=l.excludes,s=l.childrenMaxLength;return r.props=new $(a==null?void 0:a.props),ye(Tr(r),"children",a==null?void 0:a.children),r.excludes=be(o),r.childrenMaxLength=s,r}return Lm(u,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,l){var o=this,s=this,d=function(){return Ge(Ie(u.prototype),"validate",o)};return Nm(ae.default.mark(function v(){return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,r,l);case 2:return b.next=4,Promise.all(s.children.map(function(C){return C.validate(r,l)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},v)}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=Ge(Ie(u.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(s,d){var v=d.toDataBindModel(r);if(Array.isArray(v)){var m=v.filter(function(b){return!!b});return Dr(s).concat(Dr(m))}return v&&s.push(v),s},o)}},{key:"toSchema",value:function(){var r=Ge(Ie(u.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var s=o.toSchema();return s});return Wm({},r,{children:l})}}]),u}(k);H.excludes=!1,H.childrenMaxLength=Zm;function xr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ym(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function pm(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&&su(t,e)}function ev(t,e){return e&&(tv(e)==="object"||typeof e=="function")?e:xr(t)}function su(t,e){return su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},su(t,e)}var tv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function nv(){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 iv(t){var e=nv();return function(){var u=An(t),a;if(e){var r=An(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ev(this,a)}}var K=function(t){pm(n,t);var e=iv(n);function n(u){Ym(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new $(u==null?void 0:u.props),ye(xr(a),"children",u==null?void 0:u.children),a}return n}(W);function Fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(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&&du(t,e)}function rv(t,e){return e&&(lv(e)==="object"||typeof e=="function")?e:Fr(t)}function du(t,e){return du=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},du(t,e)}var lv=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 cv(t){var e=ov();return function(){var u=Sn(t),a;if(e){var r=Sn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return rv(this,a)}}var _n=function(t){av(n,t);var e=cv(n);function n(u,a){uv(this,n);var r;return r=e.call(this,a),ye(Fr(r),"headers",a==null?void 0:a.headers,u),r}return n}(q);function fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function sv(t){if(Array.isArray(t))return fu(t)}function kr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Or(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function dv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Or(r,u,a,l,o,"next",s)}function o(s){Or(r,u,a,l,o,"throw",s)}l(void 0)})}}function fv(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 u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function hv(t,e,n){return e&&Mr(t.prototype,e),n&&Mr(t,n),t}function yv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xe(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Xe=Reflect.get:Xe=function(a,r,l){var o=Ev(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},Xe(t,e,n||t)}function we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},we(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&&hu(t,e)}function vv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gv(){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 Nr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){yv(t,a,n[a])})}return t}function bv(t,e){return e&&(Cv(e)==="object"||typeof e=="function")?e:kr(t)}function hu(t,e){return hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},hu(t,e)}function Ev(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=we(t),t!==null););return t}function $r(t){return sv(t)||vv(t)||Iv(t)||gv()}var Cv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Iv(t,e){if(!!t){if(typeof t=="string")return fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fu(t,e)}}function wv(){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=wv();return function(){var u=we(t),a;if(e){var r=we(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return bv(this,a)}}var yu=function(t){mv(n,t);var e=Av(n);function n(u){fv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new _n(kr(a),u==null?void 0:u.props),a}return hv(n,[{key:"validate",value:function(a,r){var l=this,o=this,s=function(){return Xe(we(n.prototype),"validate",l)};return dv(ae.default.mark(function d(){return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,s().call(o,a);case 2:return m.next=4,Promise.all(o.props.headers.map(function(b){return b.validate(a,r)}));case 4:return m.abrupt("return",!0);case 5:case"end":return m.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=Xe(we(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(o,s){var d=s.toDataBindModel(l);if(Array.isArray(d)){var v=d.filter(function(m){return!!m});return $r(o).concat($r(v))}return d&&o.push(d),o},r)}},{key:"toSchema",value:function(){var a=Xe(we(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Nr({},a,{props:Nr({},this.props,{headers:r})})}}]),n}(k);yu.controlFieldType=g.LIST;function mu(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 Lr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function _v(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(t,n),t}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(t)}function Bv(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&&vu(t,e)}function Tv(t,e){return e&&(Rv(e)==="object"||typeof e=="function")?e:mu(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},vu(t,e)}var Rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pv(){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 Dv(t){var e=Pv();return function(){var u=Bn(t),a;if(e){var r=Bn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Tv(this,a)}}var Vr=function(t){Bv(n,t);var e=Dv(n);function n(u){Sv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new _n(mu(a),u==null?void 0:u.props),ye(mu(a),"children",u==null?void 0:u.children),a}return _v(n,[{key:"length",get:function(){return this.children.length}}]),n}(W);function Hr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function bu(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&&Eu(t,e)}function xv(t,e){return e&&(Fv(e)==="object"||typeof e=="function")?e:Hr(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Eu(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 Cu(t){var e=kv();return function(){var u=Tn(t),a;if(e){var r=Tn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return xv(this,a)}}var Iu=function(t){bu(n,t);var e=Cu(n);function n(u){gu(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}(L),j=function(t){bu(n,t);var e=Cu(n);function n(u){gu(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:150,a.widthType=(u==null?void 0:u.widthType)||"auto";var l;a.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var o;a.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",a.autoWidth=new Ya(u==null?void 0:u.autoWidth),a.dataBind=new re(u==null?void 0:u.dataBind);var s;a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan;var d;return a.autoHeight=(d=u==null?void 0:u.autoHeight)!==null&&d!==void 0?d:!1,a}return n}(q);j.Rules=Iu;var jr=function(t){bu(n,t);var e=Cu(n);function n(u){gu(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],tu.call(Hr(a),u),a}return n}(Iu);function Ov(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mv(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 Nv(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 $v(t,e){return e&&(Lv(e)==="object"||typeof e=="function")?e:Ov(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},wu(t,e)}var Lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vv(){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 Hv(t){var e=Vv();return function(){var u=Rn(t),a;if(e){var r=Rn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return $v(this,a)}}var z=function(t){Nv(n,t);var e=Hv(n);function n(u){Mv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(k);function jv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function Uv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Au(t,e)}function Wv(t,e){return e&&(Kv(e)==="object"||typeof e=="function")?e:jv(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Au(t,e)}var Kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function zv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gv(t){var e=zv();return function(){var u=Pn(t),a;if(e){var r=Pn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Wv(this,a)}}var G=function(t){Uv(n,t);var e=Gv(n);function n(u){qv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(W);function Xv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(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&&Su(t,e)}function Zv(t,e){return e&&(Yv(e)==="object"||typeof e=="function")?e:Xv(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Su(t,e)}var Yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pv(){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 eg(t){var e=pv();return function(){var u=Dn(t),a;if(e){var r=Dn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Zv(this,a)}}var _u=function(t){Jv(n,t);var e=eg(n);function n(u){Qv(this,n);var a;return a=e.call(this,u),a.dataBind=new re(u==null?void 0:u.dataBind),a}return n}($);function tg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ng(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 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&&Bu(t,e)}function ug(t,e){return e&&(ag(e)==="object"||typeof e=="function")?e:tg(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Bu(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 u=xn(t),a;if(e){var r=xn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ug(this,a)}}var og=function(t){ig(n,t);var e=lg(n);function n(u){ng(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new _u(u==null?void 0:u.props),a}return n}(H);function cg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(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&&Tu(t,e)}function fg(t,e){return e&&(hg(e)==="object"||typeof e=="function")?e:cg(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Tu(t,e)}var hg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mg(t){var e=yg();return function(){var u=Fn(t),a;if(e){var r=Fn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return fg(this,a)}}var vg=function(t){dg(n,t);var e=mg(n);function n(u){sg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new _u(u==null?void 0:u.props),a}return n}(K);class Ru extends q{constructor(e){super(e);var n,u,a,r,l;this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57"}}class qr extends k{static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}constructor(e){super(e);this.props=new Ru(e==null?void 0:e.props)}}qr.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class gg extends W{static get controlType(){return"text"}constructor(e){super(e);this.props=new Ru(e==null?void 0:e.props)}}var Ur={Designer:qr,Runtime:gg,Property:Ru};class Pu extends q{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class Du extends k{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new Pu(e==null?void 0:e.props)}}Du.controlEventKeys=["on_click"],Du.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class bg extends W{static get controlType(){return"link"}constructor(e){super(e);this.props=new Pu(e==null?void 0:e.props)}}var Wr={Designer:Du,Runtime:bg,Property:Pu};class Z extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",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.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Y extends k{static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ne extends W{static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}var Kr={Designer:Y,Runtime:ne,Property:Z},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||{}),zr=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(zr||{}),Gr=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Gr||{});class kn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var xu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(xu||{});class On{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var Fu=(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))(Fu||{});class ku{constructor(e){var n,u,a,r,l,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new st((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new st((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new st((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class Xr{constructor(e){var n,u,a,r,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new ku(s)))!=null?a:[new ku],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ou{constructor(e){var n,u,a,r,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Mu{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class Qr{constructor(e){var n,u,a,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Mu(e==null?void 0:e.watermark),this.autoRename=new Mu(e==null?void 0:e.autoRename)}}const Jr=480;function mt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Zr{constructor(e){var n,u,a,r,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(l=e.rules)!=null?l:[]}}class Yr{constructor(e){var n,u,a;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var pr=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(pr||{}),Nu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Nu||{}),$u=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))($u||{}),Qe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Qe||{}),Lu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Lu||{});class Vu extends q{constructor(e){super(e);var n,u;this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:Fu.SOLID}}class el extends k{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new Vu(e==null?void 0:e.props)}}el.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Eg extends W{static get controlType(){return"divider"}constructor(e){super(e);this.props=new Vu(e==null?void 0:e.props)}}var tl={Designer:el,Runtime:Eg,Property:Vu};class Cg extends L{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 Mn extends q{constructor(e){super(e);var n,u,a,r;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=(a=(u=e==null?void 0:e.caption)!=null?u:Je==null?void 0:Je.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Mn.Rules=Cg;class Je extends k{static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}constructor(e){super(e);this.props=new Mn(e==null?void 0:e.props)}}Je.controlFieldType=g.AUTO_NUMBER,Je.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Ig extends W{static get controlType(){return"title"}constructor(e){super(e);this.props=new Mn(e==null?void 0:e.props)}}var nl={Designer:Je,Runtime:Ig,Property:Mn};class wg extends L{constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Nn extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:vt.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Nn.Rules=wg;class vt extends Y{static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new Nn(e==null?void 0:e.props)}}vt.controlEventKeys=["on_click","on_click_finish"],vt.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 Ag extends ne{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new Nn(e==null?void 0:e.props)}}var il={Designer:vt,Runtime:Ag,Property:Nn};class Sg extends L{constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class $n extends Z{constructor(e){super(e);var n,u,a,r,l,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:gt.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}$n.Rules=Sg;class gt extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new $n(e==null?void 0:e.props)}}gt.controlEventKeys=["on_click","on_click_finish"],gt.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 _g extends ne{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new $n(e==null?void 0:e.props)}}var ul={Designer:gt,Runtime:_g,Property:$n};class Hu extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:bt.controlIcon}}class bt extends Y{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"}constructor(e){super(e);this.props=new Hu(e==null?void 0:e.props)}}bt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class Bg extends ne{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new Hu(e==null?void 0:e.props)}}var al={Designer:bt,Runtime:Bg,Property:Hu};class ju extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Et.controlName,this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Ou(l)))!=null?r:[new Ou({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Et extends Y{static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ju(e==null?void 0:e.props)}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 Tg extends ne{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ju(e==null?void 0:e.props)}}var rl={Designer:Et,Runtime:Tg,Property:ju};class qu extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ct.controlIcon}}class Ct extends Y{static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new qu(e==null?void 0:e.props)}}Ct.controlEventKeys=["on_click"],Ct.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 Rg extends ne{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new qu(e==null?void 0:e.props)}}var ll={Designer:Ct,Runtime:Rg,Property:qu};class Pg{constructor(e){this.dataCode=e.dataCode}}class Uu extends Z{constructor(e){super(e);var n,u,a,r;this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:It.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new Pg(l)))!=null?r:[]}}class It extends Y{static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}It.controlEventKeys=["on_click","on_click_finish"],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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Dg extends ne{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}var ol={Designer:It,Runtime:Dg,Property:Uu};function Ln(){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 xg extends L{constructor(e){super(e);this.fillPayload={type:"object",fields:ve({},Ln())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ve({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ln())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Vn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:wt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new ji(e==null?void 0:e.fillPayload),this.formBind=new Uh(e==null?void 0:e.formBind),this.fillBack=new ir(e==null?void 0:e.fillBack)}}Vn.Rules=xg;class wt extends Y{static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Vn(e==null?void 0:e.props)}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Fg extends ne{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Vn(e==null?void 0:e.props)}}var cl={Designer:wt,Runtime:Fg,Property:Vn};class kg extends L{constructor(e){super(e);this.fillPayload={type:"object",fields:ve({},Ln())},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:ve({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ln())}}}class Hn extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:At.controlIcon,this.fillPayload=new ji(e==null?void 0:e.fillPayload),this.listPageBind=new er(e==null?void 0:e.listPageBind),this.fillBack=new ir(e==null?void 0:e.fillBack)}}Hn.Rules=kg;class At extends Y{static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Hn(e==null?void 0:e.props)}}At.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Og extends ne{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Hn(e==null?void 0:e.props)}}var sl={Designer:At,Runtime:Og,Property:Hn};class Mg extends L{constructor(e){super(e)}}class Ng extends Be{constructor(e){super(e)}}class St extends q{constructor(e){super(e)}}St.Rules=Mg,St.RuntimeRules=Ng;class dl extends k{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new St(e==null?void 0:e.props)}}dl.setting=[];class $g extends W{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new St(e==null?void 0:e.props)}}var fl={Designer:dl,Runtime:$g,Property:St};class Lg extends L{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 jn extends q{constructor(e){super(e);var n,u,a,r,l,o;this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}jn.Rules=Lg;class hl extends k{static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new jn(e==null?void 0:e.props)}}hl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Vg extends W{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new jn(e==null?void 0:e.props)}}var yl={Designer:hl,Runtime:Vg,Property:jn};class Hg extends L{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 qn extends q{constructor(e){super(e);var n,u,a;this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(u=e==null?void 0:e.viewList)==null?void 0:u.map(r=>new ry(r)))!=null?a:[]}}qn.Rules=Hg;class ml extends k{static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new qn(e==null?void 0:e.props)}}ml.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class jg extends W{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new qn(e==null?void 0:e.props)}}var vl={Designer:ml,Runtime:jg,Property:qn};class qg extends L{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,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Un extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,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",this.content=(o=e==null?void 0:e.content)!=null?o:Ze.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ze.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(m=(v=e==null?void 0:e.fillList)==null?void 0:v.map(b=>new ee(b)))!=null?m:[]}}Un.Rules=qg;class Ze extends Y{static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new Un(e==null?void 0:e.props)}}Ze.controlEventKeys=["on_click","on_click_finish"],Ze.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ug extends ne{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new Un(e==null?void 0:e.props)}}var gl={Designer:Ze,Runtime:Ug,Property:Un};class Wg extends L{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,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wn extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,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",this.content=(o=e==null?void 0:e.content)!=null?o:Ye.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ye.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(m=(v=e==null?void 0:e.fillList)==null?void 0:v.map(b=>new ee(b)))!=null?m:[]}}Wn.Rules=Wg;class Ye extends Y{static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new Wn(e==null?void 0:e.props)}}Ye.controlEventKeys=["on_click","on_click_finish"],Ye.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Kg extends ne{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new Wn(e==null?void 0:e.props)}}var bl={Designer:Ye,Runtime:Kg,Property:Wn};class zg extends L{constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Kn extends Z{constructor(e){super(e);var n,u,a,r,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:_t.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new Zr(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Kn.Rules=zg;class _t extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}_t.controlEventKeys=["on_click","on_click_finish"],_t.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 Gg extends ne{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}var El={Designer:_t,Runtime:Gg,Property:Kn};class Wu extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Bt.controlIcon}}class Bt extends Y{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"}constructor(e){super(e);this.props=new Wu(e==null?void 0:e.props)}}Bt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class Xg extends ne{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new Wu(e==null?void 0:e.props)}}var Cl={Designer:Bt,Runtime:Xg,Property:Wu};class Qg extends L{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 zn extends q{constructor(e){super(e);var n,u,a,r,l;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"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=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}zn.Rules=Qg;class Gn extends k{static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}Gn.controlEventKeys=["on_click"],Gn.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Jg extends W{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}var Il={Designer:Gn,Runtime:Jg,Property:zn};class Ku extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Tt.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(v=e==null?void 0:e.isLoading)!=null?v:!1}}class Tt extends k{static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Ku(e==null?void 0:e.props)}}Tt.controlEventKeys=["on_click"],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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Zg extends W{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Ku(e==null?void 0:e.props)}}var wl={Designer:Tt,Runtime:Zg,Property:Ku},Yg=Object.freeze({__proto__:null,Text:Ur,Link:Wr,Button:Kr,Divider:tl,Title:nl,CreateFormListButton:il,BatchSubmissionListButton:ul,SubmissionRecordListButton:al,ExportListButton:rl,ExportRecordListButton:ll,ImportRecordListButton:ol,FormSelectButton:cl,ListSelectButton:sl,Pagination:fl,Dashboard:yl,ListViewSelect:vl,TextOcrButton:gl,InvoiceCheckButton:bl,BatchPrintListButton:El,BatchPrintRecordListButton:Cl,OperationButton:Il,BatchDeleteButton:wl});class pg extends J{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=mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class eb extends M{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:mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class pe extends R{constructor(e){super(e);var n,u,a,r,l,o,s;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new ur(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:et.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}pe.Rules=pg,pe.RuntimeRules=eb;class et extends P{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}constructor(e){super(e);this.props=new pe(e==null?void 0:e.props)}}et.controlEventKeys=["on_change","on_input","on_focus","on_blur"],et.controlFieldType=g.VARCHAR,et.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Al extends D{static get controlType(){return"input"}constructor(e){super(e);this.props=new pe(e==null?void 0:e.props)}}Al.controlFieldType=g.VARCHAR;var Sl={Designer:et,Runtime:Al,Property:pe};class tb extends ze{constructor(e){super(e);this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class nb extends M{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 Rt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C,A;this.options=he((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=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(v=e==null?void 0:e.caption)!=null?v:Pt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new ee(E))}))}}Rt.Rules=tb,Rt.RuntimeRules=nb;class Pt extends P{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Rt(e==null?void 0:e.props)}}Pt.controlEventKeys=["on_change","on_click"],Pt.controlFieldType=g.ARRAY,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class _l extends D{static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Rt(e==null?void 0:e.props)}}_l.controlFieldType=g.ARRAY;var Bl={Designer:Pt,Runtime:_l,Property:Rt};class ib extends ze{constructor(e){super(e)}}class Xn extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.options=he((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=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(v=e==null?void 0:e.caption)!=null?v:Dt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var A;(A=this.multistageFilling)==null||A.push(new ee(C))}))}}Xn.Rules=ib;class Dt extends P{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new Xn(e==null?void 0:e.props)}}Dt.controlEventKeys=["on_change","on_click"],Dt.controlFieldType=g.VARCHAR,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Tl extends D{static get controlType(){return"radio"}constructor(e){super(e);this.props=new Xn(e==null?void 0:e.props)}}Tl.controlFieldType=g.VARCHAR;var Rl={Designer:Dt,Runtime:Tl,Property:Xn};class ub extends J{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,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class ab extends M{constructor(e){super(e);this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class xt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C,A;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(v=e==null?void 0:e.unitPosition)!=null?v:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:Ft.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:"",this.regularRules=new ur(e==null?void 0:e.regularRules)}}xt.Rules=ub,xt.RuntimeRules=ab;class Ft extends P{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new xt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=g.DECIMAL,Ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Pl extends D{static get controlType(){return"number"}constructor(e){super(e);this.props=new xt(e==null?void 0:e.props)}}Pl.controlFieldType=g.DECIMAL;var Dl={Designer:Ft,Runtime:Pl,Property:xt};class zu extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.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.caption=(l=e==null?void 0:e.caption)!=null?l:Qn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(v=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(C=>new kn(C)))!=null?v:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class Qn extends P{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new zu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}Qn.controlFieldType=g.TIMESTAMP,Qn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class xl extends D{static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new zu(e==null?void 0:e.props)}}xl.controlFieldType=g.TIMESTAMP;var Fl={Designer:Qn,Runtime:xl,Property:zu};class rb extends M{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 Jn extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.dataBind=new ty(e==null?void 0:e.dataBind),this.defaultValue=new ny(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.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=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Zn.controlName,this.limitDateList=(b=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(C=>new kn(C)))!=null?b:[]}}Jn.RuntimeRules=rb;class Zn extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}Zn.controlFieldType=g.TIMESCOPE,Zn.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class kl extends D{static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}kl.controlFieldType=g.TIMESCOPE;var Ol={Designer:Zn,Runtime:kl,Property:Jn};class lb extends J{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 ob extends M{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 kt extends R{constructor(e){super(e);var n,u,a,r,l,o;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ot.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}kt.Rules=lb,kt.RuntimeRules=ob;class Ot extends P{static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Ot.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ot.controlFieldType=g.TEXT,Ot.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Ml extends D{static get controlType(){return"textarea"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Ml.controlFieldType=g.TEXT;var Nl={Designer:Ot,Runtime:Ml,Property:kt};class cb extends J{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 sb extends M{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 Mt extends R{constructor(e){super(e);var n,u,a,r,l;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Nt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}Mt.Rules=cb,Mt.RuntimeRules=sb;class Nt extends P{static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new Mt(e==null?void 0:e.props)}}Nt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Nt.controlFieldType=g.TEXT,Nt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class $l extends D{static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new Mt(e==null?void 0:e.props)}}$l.controlFieldType=g.TEXT;var Ll={Designer:Nt,Runtime:$l,Property:Mt};class db extends ze{constructor(e){super(e)}}class Yn extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.options=he((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=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:pn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var m;(m=this.multistageFilling)==null||m.push(new ee(v))}))}}Yn.Rules=db;class pn extends P{static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}pn.controlFieldType=g.VARCHAR,pn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Vl extends D{static get controlType(){return"select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}Vl.controlFieldType=g.VARCHAR;var Hl={Designer:pn,Runtime:Vl,Property:Yn};class fb extends ze{constructor(e){super(e)}}class hb extends M{constructor(e){super(e);this[0].type="array"}}class $t extends R{constructor(e){super(e);var n,u,a,r,l,o,s;this.options=he((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=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:ei.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var v;(v=this.multistageFilling)==null||v.push(new ee(d))}))}}$t.Rules=fb,$t.RuntimeRules=hb;class ei extends P{static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new $t(e==null?void 0:e.props)}}ei.controlFieldType=g.ARRAY,ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class jl extends D{static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new $t(e==null?void 0:e.props)}}jl.controlFieldType=g.ARRAY;var ql={Designer:ei,Runtime:jl,Property:$t};class yb extends M{constructor(e){super(e);this[0].type="array"}}class ti extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:ni.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new ee(m))}))}}ti.RuntimeRules=yb;class ni extends P{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}ni.controlFieldType=g.EMPLOYEES,ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Ul extends D{static get controlType(){return"employee"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}Ul.controlFieldType=g.EMPLOYEES;var Wl={Designer:ni,Runtime:Ul,Property:ti};const mb=10485760,vb=104857600,gb=1048576e3;class bb extends J{constructor(e){super(e);this.maxSize={type:"number",min:0,max:gb,message:f.getMessage("attachmentMaxSize")}}}class Eb extends M{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 tt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:vb,this.caption=(s=e==null?void 0:e.caption)!=null?s:nt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}tt.Rules=bb,tt.RuntimeRules=Eb;class nt extends P{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new tt(e==null?void 0:e.props)}}nt.controlEventKeys=["on_change"],nt.controlFieldType=g.FILE,nt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Gu extends D{static get controlType(){return"attachment"}constructor(e){super(e);this.props=new tt(e==null?void 0:e.props)}}Gu.controlFieldType=g.FILE;var Kl={Designer:nt,Runtime:Gu,Property:tt};const zl=class extends nt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){super(t);var e,n,u,a;this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:zl.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let Xu=zl;Xu.controlFieldType=g.IMAGE,Xu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Cb extends Gu{static get controlType(){return"image"}constructor(e){super(e);var n,u,a,r,l,o;this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class Ib extends tt{constructor(e){super(e)}}var Gl={Designer:Xu,Runtime:Cb,Property:Ib};class wb extends ze{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,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class Ab extends M{constructor(e){super(e);this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[ln(ve({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class Lt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new ph(e==null?void 0:e.dataBind),this.datasourceBind=new Q((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Vi({value:"name"})]}),this.defaultValue=new ey((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:fn.CNY}),this.options=he(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Vt.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Lt.Rules=wb,Lt.RuntimeRules=Ab;class Vt extends P{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=g.MONEY,Vt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Xl extends D{static get controlType(){return"amount"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}}Xl.controlFieldType=g.MONEY;var Ql={Designer:Vt,Runtime:Xl,Property:Lt};class Sb extends J{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 _b extends M{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 Ht extends R{constructor(e){super(e);var n,u,a,r,l,o,s;this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:xu.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(l=(r=e==null?void 0:e.explain)==null?void 0:r.map(d=>new On(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new On),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:jt.controlName}}Ht.Rules=Sb,Ht.RuntimeRules=_b;class jt extends P{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new Ht(e==null?void 0:e.props)}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 u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new On);this.props.explain.push(...a)}}super.postUpdate(e,n)}}jt.controlEventKeys=["on_change","on_click"],jt.controlFieldType=g.DECIMAL,jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Jl extends D{static get controlType(){return"score"}constructor(e){super(e);this.props=new Ht(e==null?void 0:e.props)}}Jl.controlFieldType=g.DECIMAL;var Zl={Designer:jt,Runtime:Jl,Property:Ht};class Bb extends M{constructor(e){super(e);if(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 ii extends R{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:ui.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new iy((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}ii.RuntimeRules=Bb;class ui extends P{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new ii(e==null?void 0:e.props)}}ui.controlFieldType=g.ADDRESS,ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Yl extends D{static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}constructor(e){super(e);this.props=new ii(e==null?void 0:e.props)}}Yl.controlFieldType=g.ADDRESS;var pl={Designer:ui,Runtime:Yl,Property:ii};class Tb extends M{constructor(e){super(e);this[0].type="array"}}class ai extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:ri.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var A;(A=this.multistageFilling)==null||A.push(new ee(C))}))}}ai.RuntimeRules=Tb;class ri extends P{static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new ai(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ri.controlFieldType=g.DEPARTMENTS,ri.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class eo extends D{static get controlType(){return"department"}constructor(e){super(e);this.props=new ai(e==null?void 0:e.props)}}eo.controlFieldType=g.DEPARTMENTS;var to={Designer:ri,Runtime:eo,Property:ai};class Qu extends R{constructor(e){super(e);var n,u,a;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:qt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class qt extends P{static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Qu(e==null?void 0:e.props)}}qt.controlEventKeys=["on_change"],qt.controlFieldType=g.AUTO_NUMBER,qt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class no extends D{static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Qu(e==null?void 0:e.props)}}no.controlFieldType=g.AUTO_NUMBER;var io={Designer:qt,Runtime:no,Property:Qu};class Rb extends J{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 Pb extends M{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 Ut extends R{constructor(e){super(e);var n,u,a,r,l,o,s;this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new uy(e==null?void 0:e.dataBind),this.defaultValue=new ay(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Wt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}Ut.Rules=Rb,Ut.RuntimeRules=Pb;class Wt extends P{static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Wt.controlEventKeys=["on_change"],Wt.controlFieldType=g.CALC,Wt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class uo extends D{static get controlType(){return"calc"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}}uo.controlFieldType=g.CALC;var ao={Designer:Wt,Runtime:uo,Property:Ut};class Db extends M{constructor(e){super(e);this[0].type="array",this.push({validator(n,u){return e.required&&u.every(r=>!r)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class li extends R{constructor(e){super(e);var n,u,a,r,l,o;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:oi.controlName}}li.RuntimeRules=Db;class oi extends P{static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}}oi.controlFieldType=g.DECIMAL_RANGE,oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ro extends D{static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}}ro.controlFieldType=g.DECIMAL_RANGE;var lo={Designer:oi,Runtime:ro,Property:li};class xb extends M{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 R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:ge.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(v=e==null?void 0:e.placeholderEnd)!=null?v:"\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:si.controlName,this.limitDateList=(C=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(A=>new kn(A)))!=null?C:[]}}ci.RuntimeRules=xb;class si extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new ci(e==null?void 0:e.props)}}si.controlFieldType=g.ARRAY,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class oo extends D{static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new ci(e==null?void 0:e.props)}}oo.controlFieldType=g.ARRAY;var co={Designer:si,Runtime:oo,Property:ci};class Fb extends J{constructor(e){super(e);this.dataBind={type:"any"}}}class kb extends M{constructor(e){super(e);this[0].type="any"}}class Kt extends R{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:zt.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Kt.Rules=Fb,Kt.RuntimeRules=kb;class zt extends P{static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Kt(e==null?void 0:e.props)}}zt.controlFieldType=g.ANY,zt.controlEventKeys=[],zt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class so extends D{static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Kt(e==null?void 0:e.props)}}so.controlFieldType=g.ANY;var fo={Designer:zt,Runtime:so,Property:Kt};class Ob extends ze{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 di extends R{constructor(e){super(e);var n,u,a,r,l,o,s;this.options=he((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new er(e==null?void 0:e.listPageBind),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Gt.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=(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(d=>{var v;(v=this.multistageFilling)==null||v.push(new ee(d))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1}}di.Rules=Ob;class Gt extends P{static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}Gt.controlFieldType=g.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Gt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class ho extends D{static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}ho.controlFieldType=g.VARCHAR;var yo={Designer:Gt,Runtime:ho,Property:di};class Ju extends pe{constructor(e){super(e)}}class mo extends et{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new Ju(e==null?void 0:e.props)}}mo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class vo extends D{static get controlType(){return"search-input"}constructor(e){super(e);this.props=new Ju(e==null?void 0:e.props)}}vo.controlFieldType=g.VARCHAR;var go={Designer:mo,Runtime:vo,Property:Ju};class Mb extends J{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],nu.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"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Nb extends M{constructor(e){super(e);this[0].type="array"}}class Xt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C,A,E;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(d=e==null?void 0:e.defaultCollapse)!=null?d:"all",this.defaultCollapseLevel=(v=e==null?void 0:e.defaultCollapseLevel)!=null?v:1,this.datasourceBind=new Zh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=(A=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(_=>new ee(_)))!=null?A:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[]}}Xt.Rules=Mb,Xt.RuntimeRules=Nb;class Te extends P{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}]}constructor(e){super(e);this.props=new Xt(e==null?void 0:e.props)}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=g.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class bo extends D{static get controlType(){return"tree"}constructor(e){super(e);this.props=new Xt(e==null?void 0:e.props)}}bo.controlFieldType=g.ARRAY;var Eo={Designer:Te,Runtime:bo,Property:Xt};class $b extends J{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},nu.call(this,e,it.controlCustomAttributes),e.externalType===Qe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Lb extends M{constructor(e){super(e);this[0].type="array"}}class Qt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C,A,E;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:it.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new dn((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:it.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Nu.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Lu.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Qe.ALL,this.externalScope=(A=e==null?void 0:e.externalScope)!=null?A:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var y;(y=this.multistageFilling)==null||y.push(new ee(_))}))}}Qt.Rules=$b,Qt.RuntimeRules=Lb;class it extends P{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}]}constructor(e){super(e);this.props=new Qt(e==null?void 0:e.props)}}it.controlFieldType=g.EMPLOYEES,it.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Co extends D{static get controlType(){return"employee2"}constructor(e){super(e);this.props=new Qt(e==null?void 0:e.props)}}Co.controlFieldType=g.EMPLOYEES;var Io={Designer:it,Runtime:Co,Property:Qt};class Vb extends J{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,u,a)=>(n[a]={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(r,l,o){if(u.type==="public"&&ki(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&u.signatureType.includes("company")&&ki(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class fi extends R{constructor(e){super(e);var n,u,a,r,l,o;this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Jt.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Xr(e==null?void 0:e.signatureConfig)}}fi.Rules=Vb;class Jt extends P{static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new fi(e==null?void 0:e.props)}}Jt.controlEventKeys=["on_click","on_click_finish"],Jt.controlFieldType=g.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class wo extends D{static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new fi(e==null?void 0:e.props)}}wo.controlFieldType=g.VARCHAR;var Ao={Designer:Jt,Runtime:wo,Property:fi};class Hb extends J{constructor(e){super(e);this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class jb extends M{constructor(e){super(e);this[0].type="array"}}class Zt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C;this.caption=(n=e==null?void 0:e.caption)!=null?n:Yt.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(v=e==null?void 0:e.canDelete)!=null?v:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:mb,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Qr(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}Zt.Rules=Hb,Zt.RuntimeRules=jb;class Yt extends P{static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}constructor(e){super(e);this.props=new Zt(e==null?void 0:e.props)}}Yt.controlEventKeys=["on_change","on_wps_open"],Yt.controlFieldType=g.FILE,Yt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class So extends D{static get controlType(){return"wps"}constructor(e){super(e);this.props=new Zt(e==null?void 0:e.props)}}So.controlFieldType=g.FILE;var _o={Designer:Yt,Runtime:So,Property:Zt};class qb extends J{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},nu.call(this,e,ut.controlCustomAttributes),e.businessType===Qe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Ub extends M{constructor(e){super(e);this[0].type="array"}}class pt extends R{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m,b,C,A,E,_;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:ut.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new dn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:ut.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:$u.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Qe.ALL,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var S;(S=this.multistageFilling)==null||S.push(new ee(y))}))}}pt.Rules=qb,pt.RuntimeRules=Ub;class ut extends P{static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new pt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ut.controlFieldType=g.DEPARTMENTS,ut.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-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 Bo extends D{static get controlType(){return"department2"}constructor(e){super(e);this.props=new pt(e==null?void 0:e.props)}}Bo.controlFieldType=g.DEPARTMENTS;var To={Designer:ut,Runtime:Bo,Property:pt},Wb=Object.freeze({__proto__:null,Input:Sl,Checkbox:Bl,Radio:Rl,Number:Dl,DatePicker:Fl,DateRange:Ol,Textarea:Nl,RichText:Ll,Select:Hl,SelectMultiple:ql,Employee:Wl,Image:Gl,Attachment:Kl,Amount:Ql,Score:Zl,Address:pl,Department:to,AutoNumber:io,Calc:ao,SearchNumberRange:lo,SearchDateRange:co,VueFormItem:fo,SelectRelation:yo,SearchInput:go,Tree:Eo,Employee2:Io,ElectronicSignature:Ao,WPS:_o,Department2:To});class Ro extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ro.excludes=[I.GRID];class Kb extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var Po={Designer:Ro,Runtime:Kb,Property:$};const zb=24;class Re extends ${constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:zb,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class en extends H{static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new Re(e==null?void 0:e.props)}}en.excludes=[I.COL,I.CARD_GROUP,I.SUBTABLE,I.SUBTABLE_COLUMN,I.DIVIDER],en.childrenMaxLength=1;class Zu extends K{static get controlType(){return"col"}constructor(e){super(e);this.props=new Re(e==null?void 0:e.props)}}var Do={Designer:en,Runtime:Zu,Property:Re};class hi extends ${constructor(e){super(e);var n,u;this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class yi extends H{static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}yi.excludes=[I.ROW],yi.setting=[{key:"col-setting",visible:!0}];class xo extends K{static get controlType(){return"row"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}var Fo={Designer:yi,Runtime:xo,Property:hi};const Gb=4;class mi extends yi{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)}}mi.excludes=[I.GRID_ROW],mi.setting=[],mi.childrenMaxLength=Gb;class Xb extends xo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Qb extends hi{constructor(e){super(e)}}var ko={Designer:mi,Runtime:Xb,Property:Qb};class Jb extends $.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class vi extends ${constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}vi.Rules=Jb;class Yu extends H{static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}Yu.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Yu.excludes=[I.CARD_GROUP];class Zb extends K{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}var Oo={Designer:Yu,Runtime:Zb,Property:vi};class Yb extends L{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 gi extends ${constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=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.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new jh(e==null?void 0:e.metaAutoWidth)}}gi.Rules=Yb;class le extends H{constructor(e){super(e);this.props=new gi(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=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],le.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Mo extends K{constructor(e){super(e);this.props=new gi(e==null?void 0:e.props)}}Mo.controlType="subtable-column";var No={Designer:le,Runtime:Mo,Property:gi};class pu extends ${constructor(e){super(e)}}class Pe extends H{constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}Pe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Pe.controlType="subtable-row",Pe.controlIcon="subtable-row",Pe.childrenMaxLength=1,Pe.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],Pe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class pb extends K{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}var $o={Designer:Pe,Runtime:pb,Property:pu};class ea extends ${constructor(e){super(e);var n,u,a,r,l,o,s,d,v,m;this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:g.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(v=e==null?void 0:e.timestampDateType)!=null?v:ge.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class De extends H{constructor(e){super(e);this.props=new ea(e==null?void 0:e.props)}}De.controlName="\u5217\u8868\u5355\u5143\u683C",De.controlType="gridtable-column",De.controlIcon="gridtable-column",De.childrenMaxLength=1,De.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],De.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Lo extends K{constructor(e){super(e);this.props=new ea(e==null?void 0:e.props)}}Lo.controlType="gridtable-column";var Vo={Designer:De,Runtime:Lo,Property:ea};class ta extends ${constructor(e){super(e)}}class e0 extends L{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class bi extends ${constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:nn.controlName}}bi.Rules=e0;class tn extends H{static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}tn.excludes=[I.TAB],tn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class t0 extends K{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}var Ho={Designer:tn,Runtime:t0,Property:bi};class nn extends H{static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}constructor(e){super(e);var n;this.props=new ta(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new tn,new tn]}}nn.excludes=[I.TAB],nn.controlEventKeys=["on_change_tab"],nn.setting=[{key:"super-setting",visible:!0}];class n0 extends K{static get controlType(){return"tab"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}var jo={Designer:nn,Runtime:n0,Property:ta};class qo extends ${constructor(e){super(e)}}class Uo extends H{static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new qo({}),this.children=(e==null?void 0:e.children)||[new en({props:new Re({span:12})}),new en({props:new Re({span:12})})]}}Uo.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class i0 extends K{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new Zu({props:new Re({span:12})}),new Zu({props:new Re({span:12})})]}}var Wo={Designer:Uo,Runtime:i0,Property:qo};class u0 extends Be{constructor(e){super(e);this.push({type:"object",fields:{}})}}class a0 extends L{constructor(e){super(e);if(this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),tu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class un extends ${constructor(e){super(e);var n,u,a,r,l,o,s,d;this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new zh(e==null?void 0:e.sublistPage),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(d=e==null?void 0:e.isAllLoaded)!=null?d:!0,this.countType=e==null?void 0:e.countType}}un.Rules=a0,un.RuntimeRules=u0;class Ei extends H{static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}Ei.excludes=[I.ROW],Ei.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"],Ei.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class r0 extends K{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}var Ko={Designer:Ei,Runtime:r0,Property:un};class l0 extends Be{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Ci extends ${constructor(e){super(e);var n,u,a,r,l,o;this.save=new Ee((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ee((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ee((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ee((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Ee(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind)}}Ci.RuntimeRules=l0;class zo extends H{static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}zo.excludes=[];class o0 extends K{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}var Go={Designer:zo,Runtime:o0,Property:Ci};class c0 extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class s0 extends K{static get controlType(){return"page"}constructor(e){super(e)}}class d0 extends ${constructor(e){super(e);var n;this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Xo={Designer:c0,Runtime:s0,Property:d0};class f0 extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class h0 extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class y0 extends ${constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Yr(e==null?void 0:e.flexConfig)}}var Qo={Designer:f0,Runtime:h0,Property:y0};class m0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class v0 extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class g0 extends ${constructor(e){super(e)}}var Jo={Designer:m0,Runtime:v0,Property:g0};class b0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class E0 extends K{static get controlType(){return"position"}constructor(e){super(e)}}class C0 extends ${constructor(e){super(e);var n,u,a,r;this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Zo={Designer:b0,Runtime:E0,Property:C0},I0=Object.freeze({__proto__:null,Grid:Po,Col:Do,Row:Fo,GridRow:ko,CardGroup:Oo,SubTableColumn:No,SubTableRow:$o,GridTableColumn:Vo,Tab:jo,TabPane:Ho,Toolbox:Wo,ListView:Ko,DataView:Go,Page:Xo,AdvancedContainer:Qo,PositioningContainer:Jo,Position:Zo});class w0 extends L{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")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class A0 extends Be{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,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class an extends _n{constructor(e,n){super(e,n);var u,a,r,l,o,s,d,v,m,b,C,A,E,_,y,S,w,F,O,ie,x,ue,rn,me;this.caption=(u=n==null?void 0:n.caption)!=null?u:Ii.controlName,this.isHideCaption=(a=n==null?void 0:n.isHideCaption)!=null?a:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(l=n==null?void 0:n.labelPosition)!=null?l:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(v=n==null?void 0:n.maxHeight)!=null?v:Jr,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.defaultRows=(C=n==null?void 0:n.defaultRows)!=null?C:1,this.datasourceBind=new Q(n==null?void 0:n.datasourceBind),this.canAdd=(A=n==null?void 0:n.canAdd)!=null?A:!0,this.canDelete=(E=n==null?void 0:n.canDelete)!=null?E:!0,this.canCheck=(_=n==null?void 0:n.canCheck)!=null?_:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(S=n==null?void 0:n.canImport)!=null?S:!1,this.canExport=(w=n==null?void 0:n.canExport)!=null?w:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(O=n==null?void 0:n.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ie=n==null?void 0:n.isShowCaptionTip)!=null?ie:!1,this.captionTip=(x=n==null?void 0:n.captionTip)!=null?x:"",this.mobileShowType=(ue=n==null?void 0:n.mobileShowType)!=null?ue:"list",this.dataStorageDoc=(rn=n==null?void 0:n.dataStorageDoc)!=null?rn:new qh,this.fixedColumn=(me=n==null?void 0:n.fixedColumn)!=null?me:[]}}an.Rules=w0,an.RuntimeRules=A0;class Ii extends yu{static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}constructor(e){super(e);var n;this.props=new an(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])}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new le,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Ii.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ii.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{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 S0 extends Vr{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new an(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Ua("Method not implemented.")}getChildrenFormControl(){return[]}}var Yo={Designer:Ii,Runtime:S0,Property:an};class na extends _n{constructor(e,n){super(e,n);var u,a,r,l;this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0}}class _0 extends Iu{constructor(e){super(e);this.caption.required=!1}}class wi extends j{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:xe.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(l=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}wi.Rules=_0;class xe extends z{constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}xe.controlType="order-column",xe.controlName="\u5E8F\u53F7",xe.controlIcon="order-column",xe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ia extends G{constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}ia.controlType="order-column",ia.controlFieldType=g.DECIMAL;var po={Designer:xe,Runtime:ia,Property:wi};class ua extends j{constructor(e){super(e);var n,u,a,r,l,o;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=e==null?void 0:e.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Fe.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Fe extends z{constructor(e){super(e);this.props=new ua(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Gn.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return ln(ve({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return ka(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}Fe.controlType="operation-column",Fe.controlName="\u64CD\u4F5C",Fe.controlIcon="operation-column",Fe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class aa extends G{constructor(e){super(e);this.props=new ua(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}aa.controlType="operation-column",aa.controlFieldType=g.FILE;var ec={Designer:Fe,Runtime:aa,Property:ua};class tc extends yu{static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new na(this,e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new xe,new Fe])}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return ln(ve({},e),{children:n})}validate(e,n){var u=a=>super[a];return ka(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}tc.setting=[{key:"list-fixed-header",visible:!0}];class B0 extends Vr{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new na(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Ua("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var nc={Designer:tc,Runtime:B0,Property:na},T0=Object.freeze({__proto__:null,SubTable:Yo,GridTable:nc});class R0 extends jr{constructor(e){super(e)}}class Ai extends j{constructor(e){super(e);var n,u,a,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ai.Rules=R0;class ke extends z{constructor(e){super(e);this.props=new Ai(e==null?void 0:e.props)}}ke.controlType="varchar-column",ke.controlName="\u77ED\u6587\u672C",ke.controlIcon="varchar-column",ke.controlFieldType=g.VARCHAR,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class ra extends G{constructor(e){super(e);this.props=new Ai(e==null?void 0:e.props)}}ra.controlType="varchar-column",ra.controlFieldType=g.VARCHAR;var ic={Designer:ke,Runtime:ra,Property:Ai};class la extends j{constructor(e){super(e);var n,u,a;this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:Oe.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class Oe extends z{constructor(e){super(e);this.props=new la(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}Oe.controlType="text-column",Oe.controlName="\u957F\u6587\u672C",Oe.controlIcon="text-column",Oe.controlFieldType=g.TEXT,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class oa extends G{constructor(e){super(e);this.props=new la(e==null?void 0:e.props)}}oa.controlType="text-column",oa.controlFieldType=g.TEXT;var uc={Designer:Oe,Runtime:oa,Property:la};class ca extends j{constructor(e){super(e);var n,u,a,r,l,o;this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((o=e==null?void 0:e.options)!=null?o:[{}])}}class Me extends z{constructor(e){super(e);this.props=new ca(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Me.controlType="decimal-column",Me.controlName="\u6570\u503C",Me.controlIcon="decimal-column",Me.controlFieldType=g.DECIMAL,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class sa extends G{constructor(e){super(e);this.props=new ca(e==null?void 0:e.props)}}sa.controlType="decimal-column",sa.controlFieldType=g.DECIMAL;var ac={Designer:Me,Runtime:sa,Property:ca};class da extends j{constructor(e){super(e);var n,u;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:Ne.controlName}}class Ne extends z{constructor(e){super(e);this.props=new da(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Ne.controlType="timescope-column",Ne.controlName="\u65E5\u671F\u533A\u95F4",Ne.controlIcon="timescope-column",Ne.controlFieldType=g.TIMESCOPE,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class fa extends G{constructor(e){super(e);this.props=new da(e==null?void 0:e.props)}}fa.controlType="timescope-column",fa.controlFieldType=g.TIMESCOPE;var rc={Designer:Ne,Runtime:fa,Property:da};class ha extends j{constructor(e){super(e);var n,u;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:$e.controlName}}class $e extends z{constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}$e.controlType="timestamp-column",$e.controlName="\u65E5\u671F",$e.controlIcon="timestamp-column",$e.controlFieldType=g.TIMESTAMP,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ya extends G{constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}ya.controlType="timestamp-column",ya.controlFieldType=g.TIMESTAMP;var lc={Designer:$e,Runtime:ya,Property:ha};class P0 extends jr{constructor(e){super(e)}}class Si extends j{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}])}}Si.Rules=P0;class Le extends z{constructor(e){super(e);this.props=new Si(e==null?void 0:e.props)}}Le.controlType="array-column",Le.controlName="\u6570\u7EC4",Le.controlIcon="array-column",Le.controlFieldType=g.ARRAY,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ma extends G{constructor(e){super(e);this.props=new Si(e==null?void 0:e.props)}}ma.controlType="array-column",ma.controlFieldType=g.ARRAY;var oc={Designer:Le,Runtime:ma,Property:Si};class va extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class Ve 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:u}=this.props;n.props.displayLevel=u}return n}}Ve.controlType="department-column",Ve.controlName="\u90E8\u95E8",Ve.controlIcon="department-column",Ve.controlFieldType=g.DEPARTMENTS,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ga extends G{constructor(e){super(e);this.props=new va(e==null?void 0:e.props)}}ga.controlType="department-column",ga.controlFieldType=g.DEPARTMENTS;var cc={Designer:Ve,Runtime:ga,Property:va};class ba extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends z{constructor(e){super(e);this.props=new ba(e==null?void 0:e.props)}}He.controlType="auto-number-column",He.controlName="\u81EA\u52A8\u7F16\u53F7",He.controlIcon="auto-number-column",He.controlFieldType=g.AUTO_NUMBER,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ea extends G{constructor(e){super(e);this.props=new ba(e==null?void 0:e.props)}}Ea.controlType="auto-number-column",Ea.controlFieldType=g.AUTO_NUMBER;var sc={Designer:He,Runtime:Ea,Property:ba};class Ca extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends z{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props)}}je.controlType="file-column",je.controlName="\u9644\u4EF6",je.controlIcon="file-column",je.controlFieldType=g.FILE,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ia extends G{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props)}}Ia.controlType="file-column",Ia.controlFieldType=g.FILE;var dc={Designer:je,Runtime:Ia,Property:Ca};class wa extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName}}class qe extends z{constructor(e){super(e);this.props=new wa(e==null?void 0:e.props)}}qe.controlType="image-column",qe.controlName="\u56FE\u7247",qe.controlIcon="image-column",qe.controlFieldType=g.IMAGE,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Aa extends G{constructor(e){super(e);this.props=new wa(e==null?void 0:e.props)}}Aa.controlType="image-column",Aa.controlFieldType=g.IMAGE;var fc={Designer:qe,Runtime:Aa,Property:wa};class Sa extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName}}class Ue extends z{constructor(e){super(e);this.props=new Sa(e==null?void 0:e.props)}}Ue.controlType="people-column",Ue.controlName="\u4EBA\u5458",Ue.controlIcon="people-column",Ue.controlFieldType=g.EMPLOYEES,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class _a extends G{constructor(e){super(e);this.props=new Sa(e==null?void 0:e.props)}}_a.controlType="people-column",_a.controlFieldType=g.EMPLOYEES;var hc={Designer:Ue,Runtime:_a,Property:Sa};class Ba extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName}}class We extends z{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}We.controlType="location-column",We.controlName="\u5730\u5740",We.controlIcon="location-column",We.controlFieldType=g.ADDRESS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ta extends G{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}Ta.controlType="location-column",Ta.controlFieldType=g.ADDRESS;var yc={Designer:We,Runtime:Ta,Property:Ba};class Ra extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Se.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const D0=1;class Se extends z{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new Ra(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),this.excludes=be(n),this.childrenMaxLength=u}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:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return ln(ve({},e),{children:this.children.map(n=>n.toSchema())})}}Se.controlType="custom-column",Se.controlName="\u81EA\u5B9A\u4E49",Se.controlIcon="custom-column",Se.excludes=[],Se.childrenMaxLength=D0,Se.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class mc extends G{constructor(e){super(e);this.props=new Ra(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}mc.controlType="custom-column";var vc={Designer:Se,Runtime:mc,Property:Ra};class Pa extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.datasourceBind=new dn((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:_e.controlCustomAttributes})}}class _e extends z{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new Pa(e==null?void 0:e.props)}}_e.controlType="employee-column",_e.controlName="\u4EBA\u5458",_e.controlIcon="employee-column",_e.controlFieldType=g.EMPLOYEES,_e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Da extends G{constructor(e){super(e);this.props=new Pa(e==null?void 0:e.props)}}Da.controlType="employee-column",Da.controlFieldType=g.EMPLOYEES;var gc={Designer:_e,Runtime:Da,Property:Pa},x0=Object.freeze({__proto__:null,VarcharColumn:ic,TextColumn:uc,DecimalColumn:ac,TimescopeColumn:rc,TimestampColumn:lc,ArrayColumn:oc,DepartmentColumn:cc,AutoNumberColumn:sc,FileColumn:dc,ImageColumn:fc,PeopleColumn:hc,LocationColumn:yc,CustomColumn:vc,OrderColumn:po,OperationColumn:ec,EmployeeColumn:gc});class F0 extends Be{constructor(e){super(e);this.push({type:"object",fields:{}})}}class _i extends _u{constructor(e){super(e);var n,u,a,r,l,o,s;this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ee((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ee((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=((o=e==null?void 0:e.custom)!=null?o:[]).map(d=>new Ee(d)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}_i.RuntimeRules=F0;class xa extends og{constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}xa.controlType="simple-search",xa.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class bc extends vg{constructor(e){super(e);var n;this.props=new _i(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}bc.controlType="simple-search";var Ec={Designer:xa,Runtime:bc,Property:_i},k0=Object.freeze({__proto__:null,SimpleSearch:Ec});h.Address=pl,h.AdvancedContainer=Qo,h.Amount=Ql,h.ArrayColumn=oc,h.AssignType=Qe,h.Attachment=Kl,h.AutoNumber=io,h.AutoNumberColumn=sc,h.BatchDeleteButton=wl,h.BatchPrintListButton=El,h.BatchPrintRecordListButton=Cl,h.BatchSubmissionListButton=ul,h.Button=Kr,h.Calc=ao,h.CardGroup=Oo,h.Checkbox=Bl,h.Col=Do,h.CreateFormListButton=il,h.CustomColumn=vc,h.DATE_CONFIG_TYPE=zr,h.DATE_LIMIT_TYPE=Gr,h.Dashboard=yl,h.DataView=Go,h.DatePicker=Fl,h.DateRange=Ol,h.DecimalColumn=ac,h.Department=to,h.Department2=To,h.DepartmentColumn=cc,h.DepartmentType=$u,h.Divider=tl,h.ElectronicSignature=Ao,h.ElectronicSignatureConfig=Xr,h.Employee=Wl,h.Employee2=Io,h.EmployeeColumn=gc,h.EncryptTypeEnum=pr,h.Explain=On,h.ExportListButton=rl,h.ExportRecordListButton=ll,h.ExportTemplate=Ou,h.FileColumn=dc,h.FlexStyleConfig=Yr,h.FormSelectButton=cl,h.Grid=Po,h.GridRow=ko,h.GridTable=nc,h.GridTableColumn=Vo,h.Image=Gl,h.ImageColumn=fc,h.ImportRecordListButton=ol,h.Input=Sl,h.InternalType=Lu,h.InvoiceCheckButton=bl,h.LINE_STYLE=Fu,h.LimitDate=kn,h.Link=Wr,h.ListSelectButton=sl,h.ListView=Ko,h.ListViewSelect=vl,h.LocationColumn=yc,h.Number=Dl,h.OperationButton=Il,h.OperationColumn=ec,h.OrderColumn=po,h.OrganizeType=Nu,h.Page=Xo,h.Pagination=fl,h.PeopleColumn=hc,h.Position=Zo,h.PositioningContainer=Jo,h.PrintTemplate=Zr,h.Radio=Rl,h.RichText=Ll,h.Row=Fo,h.SCORE_TYPE=xu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=Jr,h.Score=Zl,h.SearchDateRange=co,h.SearchInput=go,h.SearchNumberRange=lo,h.Select=Hl,h.SelectMultiple=ql,h.SelectRelation=yo,h.SimpleSearch=Ec,h.SubTable=Yo,h.SubTableColumn=No,h.SubTableRow=$o,h.SubmissionRecordListButton=al,h.Tab=jo,h.TabPane=Ho,h.Text=Ur,h.TextColumn=uc,h.TextOcrButton=gl,h.Textarea=Nl,h.TimescopeColumn=rc,h.TimestampColumn=lc,h.Title=nl,h.TitleConfigEnum=Ae,h.Toolbox=Wo,h.Tree=Eo,h.UndersignedPerson=ku,h.VarcharColumn=ic,h.VueFormItem=fo,h.WPS=_o,h.WPSSetting=Qr,h.WpsOperationItem=Mu,h.baseControls=Yg,h.columnControls=x0,h.formControls=Wb,h.initExpression=mt,h.layoutControls=I0,h.listControls=T0,h.searchControls=k0,Object.defineProperty(h,"__esModule",{value:!0})});