@byteluck-fe/model-driven-controls 1.7.2 → 1.7.3

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 yb=Object.defineProperty,mb=Object.defineProperties;var vb=Object.getOwnPropertyDescriptors;var lc=Object.getOwnPropertySymbols,gb=Object.getPrototypeOf,bb=Object.prototype.hasOwnProperty,Eb=Object.prototype.propertyIsEnumerable,Cb=Reflect.get;var oc=(f,F,L)=>F in f?yb(f,F,{enumerable:!0,configurable:!0,writable:!0,value:L}):f[F]=L,Ce=(f,F)=>{for(var L in F||(F={}))bb.call(F,L)&&oc(f,L,F[L]);if(lc)for(var L of lc(F))Eb.call(F,L)&&oc(f,L,F[L]);return f},Ii=(f,F)=>mb(f,vb(F));var cc=(f,F,L)=>Cb(gb(f),L,F);var sc=(f,F,L)=>new Promise((wi,en)=>{var Ai=ce=>{try{ut(L.next(ce))}catch(rt){en(rt)}},Si=ce=>{try{ut(L.throw(ce))}catch(rt){en(rt)}},ut=ce=>ce.done?wi(ce.value):Promise.resolve(ce.value).then(Ai,Si);ut((L=L.apply(f,F)).next())});(function(f,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(f=typeof globalThis!="undefined"?globalThis:f||self,F(f.modelDrivenControls={}))})(this,function(f){"use strict";var F="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",wi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",en="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ai="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Si="{caption}\u5FC5\u586B",ut="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",rt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",dc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",fc="\u8BF7\u7ED1\u5B9A\u8868\u5355",hc="\u8BF7\u7ED1\u5B9A\u5217\u8868",yc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",mc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",vc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",gc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",bc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ec="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Cc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",_c="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ic="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",wc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ac="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Sc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Rc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Tc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Bc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Pc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Dc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",xc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Fc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Oc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",kc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Nc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Mc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Lc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$c="\u8BF7\u9009\u62E9\u7701",Vc="\u8BF7\u9009\u62E9\u5E02",Hc="\u8BF7\u9009\u62E9\u533A",jc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",qc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Uc="\u8BF7\u8F93\u5165\u5217\u5BBD",Wc="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Kc="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",zc="\u8BF7\u9009\u62E9\u63A7\u4EF6",Gc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Xc="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Qc="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Jc="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Zc="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Yc="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",pc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",es="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ts="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ns="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",is="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",us="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",as="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ls="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",os="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",cs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ss="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ds="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",fs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",hs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ys={isNotNumber:F,isNotString:L,isNotObject:wi,isNotArray:en,isNotBoolean:Ai,runtimeRequired:Si,pleaseEnterCaption:ut,pleaseEnterCaptionTip:ce,pleaseEnterPlaceholder:rt,pleaseEnterFieldCode:dc,pleaseEnterForm:fc,pleaseEnterList:hc,pleaseEnterProcess:yc,pleaseEnterLabel:mc,pleaseEnterValue:vc,bizKeyNotBindFiled:gc,pleaseEnterNumberRange:bc,pleaseEnterAValueGreaterThanMin:Ec,pleaseEnterAValueLessThanMax:Cc,numberRangeSetError:_c,stringRangeError:Ic,attachmentMaxSize:wc,pleaseEnterTotalScoreSetting:Ac,theTotalScoreMustNotBeLessThan1:Sc,scoreDefaultValueRange:Rc,attachmentLimitError:Tc,PleaseReselectTheOptionalQuantity:Bc,TheMaximumLengthIsGreaterThanTheMinimumLength:Pc,TheMinimumLengthIsGreaterThanTheMaximumLength:Dc,PleaseSelectTheCorrectOptionSettings:xc,optionIdIsRepeat:Fc,optionIsRequired:Oc,pleaseEnterDataCode:kc,pleaseEnterValueFieldCode:Nc,pleaseEnterSvcCode:Mc,pleaseBindAtLeastOneDisplayValue:Lc,pleaseSelectProvince:$c,pleaseSelectCity:Vc,pleaseSelectDistrict:Hc,limitRowsCannotBeLessThan0:jc,TheNumberOfRowsCannotBeLessThanMinRows:qc,pleaseEnterColumnWidth:Uc,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Wc,pleaseCompleteAllRulesAndConditions:Kc,pleaseSelectControl:zc,pleaseSelectAtLeastOneColumn:Gc,pleaseSelectFillBackMode:Xc,pleaseSelectDashboard:Qc,rootNodeIsRequired:Jc,theViewNameCannotBeEmpty:Zc,pleaseSelectOcrType:Yc,pleaseSelectAtLeastOneFieldToFillIn:pc,pleaseChooseAtLeastOne:es,pleaseEnterButtonContent:ts,pleaseEnterDataCodeInDataSetting:ns,pleaseEnterValueFieldCodeInDataSetting:is,pleaseEnterSvcCodeInDataSetting:us,pleaseBindAtLeastOneDisplayValueInDataSetting:rs,rootNodeIsRequiredInDataSetting:as,pleaseEnterMaxHeight:ls,pleaseEnter:os,pleaseEnterWatermark:cs,pleaseEnterFileName:ss,pleaseUploadAtLeastOnePrintTemplate:ds,pleaseAssignBusiness:fs,pleaseAssignExternal:hs},ms="Please enter a number",vs="Please enter a string",gs="Please enter an object",bs="Please enter an array",Es="Please enter a boolean",Cs="{caption} Required",_s="Please enter the title",Is="Please enter the bubble prompt",ws="Please enter the prompt text",As="Please bind data items",Ss="Please bind the form",Rs="Please bind the list",Ts="Please bind the process",Bs="Please enter the displayed value",Ps="Please enter the stored value",Ds="The document number is not bound to the data item",xs="Please enter a value greater than or equal to {min} and less than or equal to {max}",Fs="Please enter a value greater than or equal to {min}",Os="Please enter a value less than or equal to {max}",ks="The value range is set incorrectly",Ns="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Ms="The attachment size must be between 0MB and 1000MB",Ls="Please fill in the total score setting",$s="The total score cannot be less than 1",Vs="The default value must be between {min} and {max}",Hs="The number of attachments uploaded must be between {min} and {max}",js="Please re-select the optional quantity",qs="The maximum length of the control must be greater than the minimum length",Us="The minimum length of the control must be less than the maximum length",Ws="Please select the correct option setting",Ks="Option ID cannot be repeated",zs="Please enter at least one option",Gs="Please bind the data source",Xs="Please bind the stored value",Qs="Please bind the service",Js="At least one display value must be bound",Zs="Please select a province",Ys="Please select a city",ps="Please select a district",ed="The minimum number of lines to fill in cannot be less than 0",td="The number of rows cannot be less than {min} rows",nd="Please enter the column width",id="Please set the logical relationship of all rule conditions",ud="Please complete all rules and conditions",rd="please select control",ad="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ld="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",od="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",cd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",sd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",dd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",hd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",yd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",gd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",bd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ed="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Cd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_d="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Id="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",wd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ad={isNotNumber:ms,isNotString:vs,isNotObject:gs,isNotArray:bs,isNotBoolean:Es,runtimeRequired:Cs,pleaseEnterCaption:_s,pleaseEnterCaptionTip:Is,pleaseEnterPlaceholder:ws,pleaseEnterFieldCode:As,pleaseEnterForm:Ss,pleaseEnterList:Rs,pleaseEnterProcess:Ts,pleaseEnterLabel:Bs,pleaseEnterValue:Ps,bizKeyNotBindFiled:Ds,pleaseEnterNumberRange:xs,pleaseEnterAValueGreaterThanMin:Fs,pleaseEnterAValueLessThanMax:Os,numberRangeSetError:ks,stringRangeError:Ns,attachmentMaxSize:Ms,pleaseEnterTotalScoreSetting:Ls,theTotalScoreMustNotBeLessThan1:$s,scoreDefaultValueRange:Vs,attachmentLimitError:Hs,PleaseReselectTheOptionalQuantity:js,TheMaximumLengthIsGreaterThanTheMinimumLength:qs,TheMinimumLengthIsGreaterThanTheMaximumLength:Us,PleaseSelectTheCorrectOptionSettings:Ws,optionIdIsRepeat:Ks,optionIsRequired:zs,pleaseEnterDataCode:Gs,pleaseEnterValueFieldCode:Xs,pleaseEnterSvcCode:Qs,pleaseBindAtLeastOneDisplayValue:Js,pleaseSelectProvince:Zs,pleaseSelectCity:Ys,pleaseSelectDistrict:ps,limitRowsCannotBeLessThan0:ed,TheNumberOfRowsCannotBeLessThanMinRows:td,pleaseEnterColumnWidth:nd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:id,pleaseCompleteAllRulesAndConditions:ud,pleaseSelectControl:rd,pleaseSelectDashboard:ad,theViewNameCannotBeEmpty:ld,pleaseSelectOcrType:od,pleaseSelectAtLeastOneFieldToFillIn:cd,pleaseChooseAtLeastOne:sd,pleaseEnterButtonContent:dd,pleaseEnterDataCodeInDataSetting:fd,pleaseEnterValueFieldCodeInDataSetting:hd,pleaseEnterSvcCodeInDataSetting:yd,pleaseBindAtLeastOneDisplayValueInDataSetting:md,rootNodeIsRequiredInDataSetting:vd,pleaseEnterMaxHeight:gd,pleaseEnter:bd,pleaseEnterWatermark:Ed,pleaseEnterFileName:Cd,pleaseUploadAtLeastOnePrintTemplate:_d,pleaseAssignBusiness:Id,pleaseAssignExternal:wd},Sd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Td="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dd="{caption}\u5FC5\u9808",xd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Od="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Md="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ld="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$d="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hd="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",jd="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qd="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ud="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wd="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Kd="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zd="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Xd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qd="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Jd="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Zd="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yd="\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",pd="\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",tf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",nf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",af="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",of="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",df="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ff="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",mf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",vf="please select control",gf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",bf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ef="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Cf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_f="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",If="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Bf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Pf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Df="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ff="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Of="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",kf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Nf={isNotNumber:Sd,isNotString:Rd,isNotObject:Td,isNotArray:Bd,isNotBoolean:Pd,runtimeRequired:Dd,pleaseEnterCaption:xd,pleaseEnterCaptionTip:Fd,pleaseEnterPlaceholder:Od,pleaseEnterFieldCode:kd,pleaseEnterForm:Nd,pleaseEnterList:Md,pleaseEnterProcess:Ld,pleaseEnterLabel:$d,pleaseEnterValue:Vd,bizKeyNotBindFiled:Hd,pleaseEnterNumberRange:jd,pleaseEnterAValueGreaterThanMin:qd,pleaseEnterAValueLessThanMax:Ud,numberRangeSetError:Wd,stringRangeError:Kd,attachmentMaxSize:zd,pleaseEnterTotalScoreSetting:Gd,theTotalScoreMustNotBeLessThan1:Xd,scoreDefaultValueRange:Qd,attachmentLimitError:Jd,PleaseReselectTheOptionalQuantity:Zd,TheMaximumLengthIsGreaterThanTheMinimumLength:Yd,TheMinimumLengthIsGreaterThanTheMaximumLength:pd,PleaseSelectTheCorrectOptionSettings:ef,optionIdIsRepeat:tf,optionIsRequired:nf,pleaseEnterDataCode:uf,pleaseEnterValueFieldCode:rf,pleaseEnterSvcCode:af,pleaseBindAtLeastOneDisplayValue:lf,pleaseSelectProvince:of,pleaseSelectCity:cf,pleaseSelectDistrict:sf,limitRowsCannotBeLessThan0:df,TheNumberOfRowsCannotBeLessThanMinRows:ff,pleaseEnterColumnWidth:hf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:yf,pleaseCompleteAllRulesAndConditions:mf,pleaseSelectControl:vf,pleaseSelectDashboard:gf,theViewNameCannotBeEmpty:bf,pleaseSelectOcrType:Ef,pleaseSelectAtLeastOneFieldToFillIn:Cf,pleaseChooseAtLeastOne:_f,pleaseEnterButtonContent:If,pleaseEnterDataCodeInDataSetting:wf,pleaseEnterValueFieldCodeInDataSetting:Af,pleaseEnterSvcCodeInDataSetting:Sf,pleaseBindAtLeastOneDisplayValueInDataSetting:Rf,rootNodeIsRequiredInDataSetting:Tf,pleaseEnterMaxHeight:Bf,pleaseEnter:Pf,pleaseEnterWatermark:Df,pleaseEnterFileName:xf,pleaseUploadAtLeastOnePrintTemplate:Ff,pleaseAssignBusiness:Of,pleaseAssignExternal:kf},Mf={zhCN:ys,enUS:Ad,jaJP:Nf},Rr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Rr||(Rr={}));var Tr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Tr||(Tr={}));var Lf="zh-CN";function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Br;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Br||(Br={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.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"})(C||(C={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(v||(v={}));var z;z={},Y(z,v.ARRAY,C.ARRAY_COLUMN),Y(z,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),Y(z,v.DECIMAL,C.DECIMAL_COLUMN),Y(z,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),Y(z,v.FILE,C.FILE_COLUMN),Y(z,v.IMAGE,C.IMAGE_COLUMN),Y(z,v.ADDRESS,C.LOCATION_COLUMN),Y(z,v.EMPLOYEES,C.EMPLOYEE_COLUMN),Y(z,v.TEXT,C.TEXT_COLUMN),Y(z,v.TIMESCOPE,C.TIMESCOPE_COLUMN),Y(z,v.TIMESTAMP,C.TIMESTAMP_COLUMN),Y(z,v.VARCHAR,C.VARCHAR_COLUMN),Y(z,v.RELATION,C.VARCHAR_COLUMN);var he;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(he||(he={}));var Pr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",$f=Pr+"0123456789";function ae(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Pr:$f,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Ri(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Vf(t){if(Array.isArray(t))return Ri(t)}function Hf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jf(){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 tn(t,e,n){return jf()?tn=Reflect.construct:tn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&lt(o,a.prototype),o},tn.apply(null,arguments)}function at(t){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},at(t)}function xr(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&&lt(t,e)}function qf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uf(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wf(){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 Kf(t,e){return e&&(zf(e)==="object"||typeof e=="function")?e:Hf(t)}function lt(t,e){return lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lt(t,e)}function Fr(t){return Vf(t)||Uf(t)||Gf(t)||Wf()}var zf=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gf(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 Ti(t){var e=typeof Map=="function"?new Map:void 0;return Ti=function(i){if(i===null||!qf(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return tn(i,arguments,at(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),lt(u,i)},Ti(t)}function Xf(){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 Or(t){var e=Xf();return function(){var i=at(t),u;if(e){var r=at(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Kf(this,u)}}var Bi=console;function Qf(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Bi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Fr(u)))}function kr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Bi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Fr(u)))}function Jf(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Pi=function(t){xr(n,t);var e=Or(n);function n(i){Dr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Jf(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ti(Error)),Zf=function(t){xr(n,t);var e=Or(n);function n(i){Dr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Pi);function Nr(t){throw new Pi(t)}function Mr(t){throw new Zf(t)}function Yf(t){Bi.error(new Pi(t))}var pf=Object.prototype.toString;function Lr(t,e){return pf.call(t)==="[object "+e+"]"}function eh(t){return Lr(t,"String")}function th(t){return Lr(t,"Promise")}var nh=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();th(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,r,a,l){if(u!==void 0){var s=u[r];if(!(a===l.length-1&&!eh(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var r=n[u];return r!==void 0?String(r):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function ih(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){ih(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Lf;return new nh({locale:n,messages:Mf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function uh(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,a){return"."+a}).split("."),u=!1;return i.reduce(function(r,a,l,s){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,a)){Qf("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),r,r);return}return l===s.length-1&&!Object.is(o[a],n)&&(o[a]=n,u=!0),o[a]}},t),u}var rh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ah={exports:{}};(function(t){(function(e){var n=function(y,E,N){if(!o(E)||m(E)||g(E)||_(E)||s(E))return E;var R,x=0,ne=0;if(h(E))for(R=[],ne=E.length;x<ne;x++)R.push(n(y,E[x],N));else{R={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&(R[y(D,N)]=n(y,E[D],N))}return R},i=function(y,E){E=E||{};var N=E.separator||"_",R=E.split||/(?=[A-Z])/;return y.split(R).join(N)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,N){return N?N.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},a=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,s=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},h=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},g=function(y){return l.call(y)=="[object RegExp]"},_=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},b=function(y,E){var N=E&&"process"in E?E.process:E;return typeof N!="function"?y:function(R,x){return N(R,y,x)}},w={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(a,E),y,E)},pascalizeKeys:function(y,E){return n(b(r,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(rh)})(ah);function ye(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function lh(t){return Object.prototype.toString.call(t)==="[object Object]"}function Di(t){return Array.isArray(t)}function oh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function xi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ch(t){if(Array.isArray(t))return xi(t)}function $r(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function sh(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){$r(r,i,u,a,l,"next",s)}function l(s){$r(r,i,u,a,l,"throw",s)}a(void 0)})}}function dh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hh(){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 Fi(t){return ch(t)||fh(t)||yh(t)||hh()}function yh(t,e){if(!!t){if(typeof t=="string")return xi(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 xi(t,e)}}var mh=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},vh=function(){function t(){dh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,r=new Array(u>1?u-1:0),a=1;a<u;a++)r[a-1]=arguments[a];var l=this;return sh(function(){var s,o,h,m,g,_,I,b,w,y,E,N;return mh(this,function(R){switch(R.label){case 0:if(s=l._events.get(i),o=[],!s)return[3,10];h=s.slice(),m=!0,g=!1,_=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),I=h[Symbol.iterator](),R.label=2;case 2:if(m=(b=I.next()).done)return[3,7];if(w=b.value,!s.includes(w))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),l.debug&&kr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Fi(r))),[4,w.apply(null,Fi(r))];case 4:return y=R.sent(),l.debug&&kr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Fi(r),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=R.sent(),Yf(String(E)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return N=R.sent(),g=!0,_=N,[3,10];case 9:try{!m&&I.return!=null&&I.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var r;(r=this._events.get(i))===null||r===void 0||r.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var r=this._events.get(i),a=r==null?void 0:r.indexOf(u);r==null||r.splice(a,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),gh=[];new Set(gh.map(function(t){return t.Designer.controlType}));function Vr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function se(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&&Oi(t,e)}function Hr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function bh(t,e){return e&&(Eh(e)==="object"||typeof e=="function")?e:Vr(t)}function Oi(t,e){return Oi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Oi(t,e)}var Eh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ch(){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 de(t){var e=Ch();return function(){var i=nn(t),u;if(e){var r=nn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return bh(this,u)}}var ue=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:""},ki=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},_h=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;return u.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",u}return n}(ki),jr=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},qr=function t(e){S(this,t);var n,i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new jr(a)}))!==null&&r!==void 0?r:[]},Ih=function t(e){S(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:v.VARCHAR},wh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;u.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var a;u.svcCode=(a=i==null?void 0:i.svcCode)!==null&&a!==void 0?a:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(ki),Ah=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new ki(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(a){return new Ih(a)}))!==null&&u!==void 0?u:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(a){return new wh(a)}))!==null&&r!==void 0?r:[]},Sh=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ot=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Rh=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ae();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var h,m=new Ur(l);(h=n.children)===null||h===void 0||h.push(m)}}))},Ur=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var a;this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Sh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ot(e==null?void 0:e.rightVariableBo)},p=function t(e){S(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Ni=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Th=function t(e){S(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Mi(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Rh(r):new Ur(r)}))!==null&&n!==void 0?n:[],Hr(this,G)||Hr(this,Li)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Th(r)}))!==null&&u!==void 0?u:[]}}var G=function t(e){var n=this;S(this,t);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var o;(o=n.displayBoList)===null||o===void 0||o.push(new Ni(s))}));var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",Mi.call(this,e)},Bh=function t(e){S(this,t);var n,i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(a){return new Ni(a)}))!==null&&r!==void 0?r:[]},un=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u,r;u=e.call(this,i);var a;return u.attributes=(a=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new Bh(l)}))!==null&&a!==void 0?a:[],u}return n}(G),Ph=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this,i),u.rootNode=new ot(i==null?void 0:i.rootNode),u}return n}(un),Wr=function t(e){S(this,t);var n,i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(a){return new p(a)}))!==null&&r!==void 0?r:[]},Li=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this,i),Mi.call(Vr(u),i),u}return n}(Wr),Kr=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;u.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var a;return u.multiple=(a=i==null?void 0:i.multiple)!==null&&a!==void 0?a:!1,u}return n}(Wr),zr=function t(e){S(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Dh=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function fe(t){var e;return(e=t==null?void 0:t.map(function(n){return new Dh(n)}))!==null&&e!==void 0?e:[]}var $i=function t(){S(this,t)},xh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new ue(i==null?void 0:i.amount),u.currency=new ue(i==null?void 0:i.currency),u}return n}($i),Fh=function t(e){S(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:rn.CNY},Oh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new ue(i==null?void 0:i.min),u.max=new ue(i==null?void 0:i.max),u}return n}($i),kh=function t(e){S(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Nh=function t(e){S(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var a;this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Mh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new ue(i==null?void 0:i.result),u.unit=new ue(i==null?void 0:i.unit),u}return n}($i),Lh=function t(e){S(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},rn;(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"})(rn||(rn={}));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 Vi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vi||(Vi={}));var ie=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae(8);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"";var u;this.isShow=(u=e==null?void 0:e.isShow)!==null&&u!==void 0?u:!0,this.invalidType=e==null?void 0:e.invalidType,this.condition=e==null?void 0:e.condition;var r;this.content=(r=e==null?void 0:e.content)!==null&&r!==void 0?r:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"",this.icon=e==null?void 0:e.icon,this.showType=e==null?void 0:e.showType;var l;this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal";var s;this.priorityProcess=(s=e==null?void 0:e.priorityProcess)!==null&&s!==void 0?s:!1,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage},$h=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ae(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new jr(a)}))!==null&&r!==void 0?r:[],Mi.call(this,e)},Vh=function t(e){S(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function Hh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(){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 an(t,e,n){return jh()?an=Reflect.construct:an=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&st(o,a.prototype),o},an.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function qh(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&&st(t,e)}function Uh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wh(t,e){return e&&(Kh(e)==="object"||typeof e=="function")?e:Hh(t)}function st(t,e){return st=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},st(t,e)}var Kh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ji(t){var e=typeof Map=="function"?new Map:void 0;return ji=function(i){if(i===null||!Uh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return an(i,arguments,ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),st(u,i)},ji(t)}function zh(){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 Gh(t){var e=zh();return function(){var i=ct(t),u;if(e){var r=ct(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Wh(this,u)}}var j=function t(e){Hi(this,t),this.isHide={type:"boolean"}},_e=function(t){qh(n,t);var e=Gh(n);function n(i){return Hi(this,n),e.call(this)}return n}(ji(Array)),U=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hi(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Vh(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};U.Rules=j,U.RuntimeRules=_e;function le(){return le=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},le.apply(this,arguments)}function Xh(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function qi(t){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(t)}function ln(t,e){return ln=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ln(t,e)}function Qh(){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 on(t,e,n){return Qh()?on=Reflect.construct:on=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&ln(o,a.prototype),o},on.apply(null,arguments)}function Jh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ui(t){var e=typeof Map=="function"?new Map:void 0;return Ui=function(i){if(i===null||!Jh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return on(i,arguments,qi(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ln(u,i)},Ui(t)}var Zh=/%[sdj%]/g,Gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Gr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Wi(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],r=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(Zh,function(l){if(l==="%%")return"%";if(i>=r)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return a}return u}function Yh(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function $(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Yh(e)&&typeof t=="string"&&!t)}function ph(t,e,n){var i=[],u=0,r=t.length;function a(l){i.push.apply(i,l),u++,u===r&&n(i)}t.forEach(function(l){e(l,a)})}function Xr(t,e,n){var i=0,u=t.length;function r(a){if(a&&a.length){n(a);return}var l=i;i=i+1,l<u?e(t[l],r):n([])}r([])}function ey(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Qr=function(t){Xh(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Ui(Error));function ty(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(w){return i(w),w.length?g(new Qr(w,Wi(w))):m()},I=ey(t);Xr(I,n,_)});return u.catch(function(m){return m}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,s=0,o=[],h=new Promise(function(m,g){var _=function(b){if(o.push.apply(o,b),s++,s===l)return i(o),o.length?g(new Qr(o,Wi(o))):m()};a.length||(i(o),m()),a.forEach(function(I){var b=t[I];r.indexOf(I)!==-1?Xr(b,n,_):ph(b,n,_)})});return h.catch(function(m){return m}),h}function Jr(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 Zr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=le(le({},t[n]),i):t[n]=i}}return t}function Yr(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||$(e,r||t.type))&&i.push(ee(u.messages.required,t.fullField))}function ny(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var Ki={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},dt={integer:function(e){return dt.number(e)&&parseInt(e,10)===e},float:function(e){return dt.number(e)&&!dt.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"&&!dt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ki.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ki.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ki.hex)}};function iy(t,e,n,i,u){if(t.required&&e===void 0){Yr(t,e,n,i,u);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;r.indexOf(a)>-1?dt[a](e)||i.push(ee(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ee(u.messages.types[a],t.fullField,t.type))}function uy(t,e,n,i,u){var r=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,h=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?h="number":g?h="string":_&&(h="array"),!h)return!1;_&&(o=e.length),g&&(o=e.replace(s,"_").length),r?o!==t.len&&i.push(ee(u.messages[h].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(ee(u.messages[h].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(ee(u.messages[h].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[h].range,t.fullField,t.min,t.max))}var qe="enum";function ry(t,e,n,i,u){t[qe]=Array.isArray(t[qe])?t[qe]:[],t[qe].indexOf(e)===-1&&i.push(ee(u.messages[qe],t.fullField,t[qe].join(", ")))}function ay(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:Yr,whitespace:ny,type:iy,range:uy,enum:ry,pattern:ay};function ly(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e,"string")&&!t.required)return n();A.required(t,e,i,r,u,"string"),$(e,"string")||(A.type(t,e,i,r,u),A.range(t,e,i,r,u),A.pattern(t,e,i,r,u),t.whitespace===!0&&A.whitespace(t,e,i,r,u))}n(r)}function oy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A.type(t,e,i,r,u)}n(r)}function cy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),$(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function sy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A.type(t,e,i,r,u)}n(r)}function dy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),$(e)||A.type(t,e,i,r,u)}n(r)}function fy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function hy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function yy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();A.required(t,e,i,r,u,"array"),e!=null&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function my(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A.type(t,e,i,r,u)}n(r)}var vy="enum";function gy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A[vy](t,e,i,r,u)}n(r)}function by(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e,"string")&&!t.required)return n();A.required(t,e,i,r,u),$(e,"string")||A.pattern(t,e,i,r,u)}n(r)}function Ey(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e,"date")&&!t.required)return n();if(A.required(t,e,i,r,u),!$(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),A.type(t,l,i,r,u),l&&A.range(t,l.getTime(),i,r,u)}}n(r)}function Cy(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;A.required(t,e,i,r,u,a),n(r)}function zi(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if($(e,r)&&!t.required)return n();A.required(t,e,i,a,u,r),$(e,r)||A.type(t,e,i,a,u)}n(a)}function _y(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u)}n(r)}var ft={string:ly,method:oy,number:cy,boolean:sy,regexp:dy,integer:fy,float:hy,array:yy,object:my,enum:gy,pattern:by,date:Ey,url:zi,hex:zi,email:zi,required:Cy,any:_y};function Gi(){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 Xi=Gi();function me(t){this.rules=null,this._messages=Xi,this.define(t)}me.prototype={messages:function(e){return e&&(this._messages=Zr(Gi(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,a=n,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(b){var w,y=[],E={};function N(R){if(Array.isArray(R)){var x;y=(x=y).concat.apply(x,R)}else y.push(R)}for(w=0;w<b.length;w++)N(b[w]);y.length?E=Wi(y):(y=null,E=null),l(y,E)}if(a.messages){var o=this.messages();o===Xi&&(o=Gi()),Zr(o,a.messages),a.messages=o}else a.messages=this.messages();var h,m,g={},_=a.keys||Object.keys(this.rules);_.forEach(function(b){h=u.rules[b],m=r[b],h.forEach(function(w){var y=w;typeof y.transform=="function"&&(r===e&&(r=le({},r)),m=r[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=le({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(g[b]=g[b]||[],g[b].push({rule:y,value:m,source:r,field:b}))})});var I={};return ty(g,a,function(b,w){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function N(ne,D){return le(le({},D),{},{fullField:y.fullField+"."+ne})}function R(ne){ne===void 0&&(ne=[]);var D=ne;if(Array.isArray(D)||(D=[D]),!a.suppressWarning&&D.length&&me.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map(Jr(y)),a.first&&D.length)return I[y.field]=1,w(D);if(!E)w(D);else{if(y.required&&!b.value)return y.message!==void 0?D=[].concat(y.message).map(Jr(y)):a.error&&(D=[a.error(y,ee(a.messages.required,y.field))]),w(D);var oe={};if(y.defaultField)for(var rc in b.value)b.value.hasOwnProperty(rc)&&(oe[rc]=y.defaultField);oe=le(le({},oe),b.rule.fields);for(var nt in oe)if(oe.hasOwnProperty(nt)){var hb=Array.isArray(oe[nt])?oe[nt]:[oe[nt]];oe[nt]=hb.map(N.bind(null,nt))}var ac=new me(oe);ac.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),ac.validate(b.value,b.rule.options||a,function(Sr){var it=[];D&&D.length&&it.push.apply(it,D),Sr&&Sr.length&&it.push.apply(it,Sr),w(it.length?it:null)})}}var x;y.asyncValidator?x=y.asyncValidator(y,b.value,R,b.source,a):y.validator&&(x=y.validator(y,b.value,R,b.source,a),x===!0?R():x===!1?R(y.message||y.field+" fails"):x instanceof Array?R(x):x instanceof Error&&R(x.message)),x&&x.then&&x.then(function(){return R()},function(ne){return R(ne)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ft.hasOwnProperty(e.type))throw new Error(ee("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?ft.required:ft[this.getType(e)]||!1}},me.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ft[e]=n},me.warning=Gr,me.messages=Xi,me.validators=ft;var Iy={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 wy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new me(t);return n.messages(Object.assign(Iy,e)),n}var Ay=new vh;function Qi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Sy(t){if(Array.isArray(t))return t}function Ry(t){if(Array.isArray(t))return Qi(t)}function pr(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ea(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){pr(r,i,u,a,l,"next",s)}function l(s){pr(r,i,u,a,l,"throw",s)}a(void 0)})}}function Ty(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function By(t,e,n){return e&&ta(t.prototype,e),n&&ta(t,n),t}function Py(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function na(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ia(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dy(){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 xy(){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 ua(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Py(t,u,n[u])})}return t}function Fy(t){return Sy(t)||ia(t)||ra(t)||Dy()}function Ji(t){return Ry(t)||ia(t)||ra(t)||xy()}function ra(t,e){if(!!t){if(typeof t=="string")return Qi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qi(t,e)}}var aa=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},k=function(){function e(i){var u=this;Ty(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=oa,this.removeSetting=la,this._callControlHooks("preInstance",i);var r=na(this,e)?this.constructor:void 0,a=r.controlName,l=r.controlIcon,s=r.controlType,o=r.controlFieldType,h=r.controlEventKeys,m=r.controlCustomEvents,g=r.name,_=r.setting;a&&l&&s||Mr("The ".concat(g," controlName,controlIcon,controlType is not define"));var I;this.id=(I=i==null?void 0:i.id)!==null&&I!==void 0?I:ae(10),this.name=a,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:s,this.props=new U(i==null?void 0:i.props,(na(this,e)?this.constructor:void 0).controlName);var w;this.controlType=(w=i==null?void 0:i.controlType)!==null&&w!==void 0?w:"base",this.setting=ye(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=ye(h),this.customEvents=ye(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,r=new Array(u),a=0;a<u;a++)r[a]=arguments[a];var l,s=Fy(r),o=s[0],h=s.slice(1);return(l=Ay).emit.apply(l,[o,this].concat(Ji(h)))},n.preUpdate=function(u,r){this._callControlHooks("preUpdateProps",u,r)},n.postUpdate=function(u,r){this._callControlHooks("postUpdateProps",u,r)},n.updateProps=function(u,r){this.preUpdate(u,r),uh(this.props,u,r),this.postUpdate(u,r)},n.preValidate=function(){var u=this;return ea(function(){var r,a,l;return aa(this,function(s){switch(s.label){case 0:return r=ua({},u.rules),[4,u._callControlHooks("preValidate",r)];case 1:return a=s.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,r){var a=this;return ea(function(){var l,s,o,h;return aa(this,function(m){switch(m.label){case 0:return[4,a.preValidate()];case 1:l=m.sent(),s=l!==void 0?l:ua({},a.rules),Array.isArray(r)&&r.forEach(function(g){s.hasOwnProperty(g)&&delete s[g]}),o=wy(s,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(a.props)];case 3:return m.sent(),[2,!0];case 4:throw h=m.sent(),h.control||(h.control=a),h;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,a=this.id,l=this.type,s=this.props,o=s.dataBind,h=s.datasourceBind,m=s.optionConfig,g=s.caption,_=s.required,I=s.maxLength,b=s.options,w=s.encrypted,y=s.encryptedMode;if(!(!r&&!o&&!h)){var E={parentId:u,fieldType:r,controlId:a,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:h&&(E.datasourceBind=h);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),I!==void 0&&(E.maxLength=I),w!==void 0&&(E.encrypted=w),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ye(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,r){if(u==="setting"){if(r.add){var a;(a=this.setting).push.apply(a,Ji(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}},By(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();k.controlName="\u63A7\u4EF6",k.controlIcon="icon",k.controlType="control",k.controlEventKeys=[],k.controlCustomEvents=[],k.setting=[],k.__is_control__=!0,k.removeSettingItem=la,k.updateSettingItem=oa;function la(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",r=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(r!==-1){var a,l;u?e.setting[r].showItems=(a=e.setting[r].showItems)===null||a===void 0?void 0:a.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(r,1),u&&!(!((l=e.setting[r].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(r,1)}})}function oa(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var r=n.setting.find(function(o){return o.key===u});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var a,l=(a=e.type)!==null&&a!==void 0?a:"replace";if(l==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Ji(e.showItems))}}}})}function Oy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ca(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ky(t,e,n){return e&&ca(t.prototype,e),n&&ca(t,n),t}function Ny(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Oy(this,e),this.customEvents=[],this.parent=null;var i=Ny(this,e)?this.constructor:void 0,u=i.controlType,r=i.controlFieldType,a=i.name,l=i.controlCustomEvents;u||Mr("The ".concat(a," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:ae(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new U(n==null?void 0:n.props),this.customEvents=l;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:r;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vi.UNKNOWN}return ky(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();X.controlType="control",X.__is_control__=!0,X.controlCustomEvents=[];function Zi(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var r=i.map(function(l){return l.value}),a=oh(r);r.length!==a.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Yi(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,r,a){r.length===0&&a(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cn(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 dn(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&&pi(t,e)}function My(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ly(t,e){return e&&($y(e)==="object"||typeof e=="function")?e:sa(t)}function pi(t,e){return pi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pi(t,e)}var $y=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vy(){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 fn(t){var e=Vy();return function(){var i=sn(t),u;if(e){var r=sn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ly(this,u)}}var Q=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(My(i.dataBind,ue))u.dataBind={type:"object",required:!0,fields:ye(r),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:ye(r),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(j),O=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(_e),T=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;u=e.call(this,i);var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var a;u.isHideCaption=(a=i==null?void 0:i.isHideCaption)!==null&&a!==void 0?a:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var h;u.labelPosition=(h=i==null?void 0:i.labelPosition)!==null&&h!==void 0?h:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new ue(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(U);T.Rules=Q,T.RuntimeRules=O;var Ue=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Zi.call(sa(u),i),u}return n}(Q);function Hy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(t)}function qy(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 Uy(t,e){return e&&(Wy(e)==="object"||typeof e=="function")?e:Hy(t)}function eu(t,e){return eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},eu(t,e)}var Wy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ky(){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 zy(t){var e=Ky();return function(){var i=hn(t),u;if(e){var r=hn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Uy(this,u)}}var B=function(t){qy(n,t);var e=zy(n);function n(i){jy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(k);B.controlEventKeys=["on_change","on_focus","on_blur"];function Gy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yn(t)}function Qy(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 Jy(t,e){return e&&(Zy(e)==="object"||typeof e=="function")?e:Gy(t)}function tu(t,e){return tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tu(t,e)}var Zy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function py(t){var e=Yy();return function(){var i=yn(t),u;if(e){var r=yn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Jy(this,u)}}var P=function(t){Qy(n,t);var e=py(n);function n(i){Xy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(X);function em(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(t)}function nm(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&&nu(t,e)}function im(t,e){return e&&(um(e)==="object"||typeof e=="function")?e:em(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nu(t,e)}var um=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rm(){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 am(t){var e=rm();return function(){var i=mn(t),u;if(e){var r=mn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return im(this,u)}}var M=function(t){nm(n,t);var e=am(n);function n(i){return tm(this,n),e.call(this,i)}return n}(U);function iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function lm(t){if(Array.isArray(t))return iu(t)}function om(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cm(){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 da(t){return lm(t)||om(t)||sm(t)||cm()}function sm(t,e){if(!!t){if(typeof t=="string")return iu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iu(t,e)}}function dm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function fa(t,e){t.parent=e,dm(t,"parent")}function fm(t,e){t.forEach(function(n){fa(n,e)})}var ha=Symbol("targetKey");function ya(t){var e;return(e=t[ha])!==null&&e!==void 0?e:t}function ma(t,e){return fm(t,e),new Proxy(t,{get:function(i,u){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l<r;l++)a[l-2]=arguments[l];var s;return u===ha?i:(s=Reflect).get.apply(s,[i,u].concat(da(a)))},set:function(i,u,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];var o;if(Di(t)&&u==="length"&&r===t.length)return!0;var h=(o=Reflect).set.apply(o,[i,u,r].concat(da(l)));return lh(r)&&fa(r,e),h}})}function Ie(t,e,n,i){var u=i!=null?i:t,r=ma(ya(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=ma(ya(l),u)},enumerable:!0})}function uu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function hm(t){if(Array.isArray(t))return uu(t)}function va(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ga(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ym(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){ga(r,i,u,a,l,"next",s)}function l(s){ga(r,i,u,a,l,"throw",s)}a(void 0)})}}function mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 We(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?We=Reflect.get:We=function(u,r,a){var l=Sm(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},We(t,e,n||t)}function ve(t){return ve=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ve(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&&ru(t,e)}function bm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Em(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Cm(){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 _m(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){vm(t,u,n[u])})}return t}function Im(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function wm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Im(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Am(t,e){return e&&(Rm(e)==="object"||typeof e=="function")?e:va(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ru(t,e)}function Sm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ve(t),t!==null););return t}function ba(t){return hm(t)||Em(t)||Tm(t)||Cm()}var Rm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tm(t,e){if(!!t){if(typeof t=="string")return uu(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 uu(t,e)}}function Bm(){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 Pm(t){var e=Bm();return function(){var i=ve(t),u;if(e){var r=ve(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Am(this,u)}}var Dm=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},xm=1e4,V=function(e){gm(i,e);var n=Pm(i);function i(r){mm(this,i);var a;a=n.call(this,r),a.controlType="layout";var l=bm(this,i)?this.constructor:void 0,s=l.excludes,o=l.childrenMaxLength;return a.props=new M(r==null?void 0:r.props),Ie(va(a),"children",r==null?void 0:r.children),a.excludes=ye(s),a.childrenMaxLength=o,a}var u=i.prototype;return u.judgeExcludesChildren=function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)},u.judgeJoinChildren=function(a){var l=this.judgeExcludesChildren(a);return l&&this.childrenMaxLength>this.children.length},u.validate=function(a,l){var s=this,o=this,h=function(){return We(ve(i.prototype),"validate",s)};return ym(function(){return Dm(this,function(m){switch(m.label){case 0:return[4,h().call(o,a,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(a,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=We(ve(i.prototype),"toDataBindModel",this).call(this),s=l?[l]:[];return this.children.reduce(function(o,h){var m=h.toDataBindModel(a);if(Array.isArray(m)){var g=m.filter(function(_){return!!_});return ba(o).concat(ba(g))}return m&&o.push(m),o},s)},u.toSchema=function(){var a=We(ve(i.prototype),"toSchema",this).call(this),l=this.children.map(function(s){var o=s.toSchema();return o});return wm(_m({},a),{children:l})},i}(k);V.excludes=!1,V.childrenMaxLength=xm;function Ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function Om(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 km(t,e){return e&&(Nm(e)==="object"||typeof e=="function")?e:Ea(t)}function au(t,e){return au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},au(t,e)}var Nm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Lm(t){var e=Mm();return function(){var i=vn(t),u;if(e){var r=vn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return km(this,u)}}var q=function(t){Om(n,t);var e=Lm(n);function n(i){Fm(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new M(i==null?void 0:i.props),Ie(Ea(u),"children",i==null?void 0:i.children),u}return n}(X);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $m(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 Vm(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&&lu(t,e)}function Hm(t,e){return e&&(jm(e)==="object"||typeof e=="function")?e:Ca(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lu(t,e)}var jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Um(t){var e=qm();return function(){var i=gn(t),u;if(e){var r=gn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Hm(this,u)}}var bn=function(t){Vm(n,t);var e=Um(n);function n(i,u){$m(this,n);var r;return r=e.call(this,u),Ie(Ca(r),"headers",u==null?void 0:u.headers,i),r}return n}(U);function ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Wm(t){if(Array.isArray(t))return ou(t)}function _a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ia(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Km(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Ia(r,i,u,a,l,"next",s)}function l(s){Ia(r,i,u,a,l,"throw",s)}a(void 0)})}}function zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ke=Reflect.get:Ke=function(u,r,a){var l=pm(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},Ke(t,e,n||t)}function ge(t){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ge(t)}function Xm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cu(t,e)}function Qm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jm(){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 wa(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Gm(t,u,n[u])})}return t}function Zm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Aa(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Zm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Ym(t,e){return e&&(ev(e)==="object"||typeof e=="function")?e:_a(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cu(t,e)}function pm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ge(t),t!==null););return t}function Sa(t){return Wm(t)||Qm(t)||tv(t)||Jm()}var ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tv(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 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 i=ge(t),u;if(e){var r=ge(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ym(this,u)}}var uv=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},su=function(t){Xm(n,t);var e=iv(n);function n(u){zm(this,n);var r;return r=e.call(this,u),r.controlType="list",r.props=new bn(_a(r),u==null?void 0:u.props),r}var i=n.prototype;return i.validate=function(r,a){var l=this,s=this,o=function(){return Ke(ge(n.prototype),"validate",l)};return Km(function(){return uv(this,function(h){switch(h.label){case 0:return[4,o().call(s,r)];case 1:return h.sent(),[4,Promise.all(s.props.headers.map(function(m){return m.validate(r,a)}))];case 2:return h.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var r=Ke(ge(n.prototype),"toDataBindModel",this).call(this),a=r?[r]:[],l=this.id;return this.props.headers.reduce(function(s,o){var h=o.toDataBindModel(l);if(Array.isArray(h)){var m=h.filter(function(g){return!!g});return Sa(s).concat(Sa(m))}return h&&s.push(h),s},a)},i.toSchema=function(){var r=Ke(ge(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(l){return l.toSchema()});return Aa(wa({},r),{props:Aa(wa({},this.props),{headers:a})})},n}(k);su.controlFieldType=v.LIST;function du(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ra(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function av(t,e,n){return e&&Ra(t.prototype,e),n&&Ra(t,n),t}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function lv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fu(t,e)}function ov(t,e){return e&&(cv(e)==="object"||typeof e=="function")?e:du(t)}function fu(t,e){return fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fu(t,e)}var cv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function dv(t){var e=sv();return function(){var i=En(t),u;if(e){var r=En(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return ov(this,u)}}var Ta=function(t){lv(n,t);var e=dv(n);function n(i){rv(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new bn(du(u),i==null?void 0:i.props),Ie(du(u),"children",i==null?void 0:i.children),u}return av(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function Ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function yu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mu(t,e)}function fv(t,e){return e&&(hv(e)==="object"||typeof e=="function")?e:Ba(t)}function mu(t,e){return mu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},mu(t,e)}var hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vu(t){var e=yv();return function(){var i=Cn(t),u;if(e){var r=Cn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return fv(this,u)}}var _n=function(t){yu(n,t);var e=vu(n);function n(i){hu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}(j),H=function(t){yu(n,t);var e=vu(n);function n(i){hu(this,n);var u;u=e.call(this,i);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.dataBind=new ue(i==null?void 0:i.dataBind);var s;return u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan,u}return n}(U);H.Rules=_n;var Pa=function(t){yu(n,t);var e=vu(n);function n(i){hu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Zi.call(Ba(u),i),u}return n}(_n);function mv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vv(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 gv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gu(t,e)}function bv(t,e){return e&&(Ev(e)==="object"||typeof e=="function")?e:mv(t)}function gu(t,e){return gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gu(t,e)}var Ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cv(){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 _v(t){var e=Cv();return function(){var i=In(t),u;if(e){var r=In(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return bv(this,u)}}var W=function(t){gv(n,t);var e=_v(n);function n(i){vv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new H(i==null?void 0:i.props),u}return n}(k);function Iv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(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&&bu(t,e)}function Sv(t,e){return e&&(Rv(e)==="object"||typeof e=="function")?e:Iv(t)}function bu(t,e){return bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bu(t,e)}var Rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bv(t){var e=Tv();return function(){var i=wn(t),u;if(e){var r=wn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Sv(this,u)}}var K=function(t){Av(n,t);var e=Bv(n);function n(i){wv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new H(i==null?void 0:i.props),u}return n}(X);function Pv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function xv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eu(t,e)}function Fv(t,e){return e&&(Ov(e)==="object"||typeof e=="function")?e:Pv(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Eu(t,e)}var Ov=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 Nv(t){var e=kv();return function(){var i=An(t),u;if(e){var r=An(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Fv(this,u)}}var Cu=function(t){xv(n,t);var e=Nv(n);function n(i){Dv(this,n);var u;return u=e.call(this,i),u.dataBind=new ue(i==null?void 0:i.dataBind),u}return n}(M);function Mv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lv(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 $v(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_u(t,e)}function Vv(t,e){return e&&(Hv(e)==="object"||typeof e=="function")?e:Mv(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var Hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qv(t){var e=jv();return function(){var i=Sn(t),u;if(e){var r=Sn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Vv(this,u)}}var Uv=function(t){$v(n,t);var e=qv(n);function n(i){Lv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Cu(i==null?void 0:i.props),u}return n}(V);function Wv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function zv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iu(t,e)}function Gv(t,e){return e&&(Xv(e)==="object"||typeof e=="function")?e:Wv(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var Xv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qv(){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 Jv(t){var e=Qv();return function(){var i=Rn(t),u;if(e){var r=Rn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Gv(this,u)}}var Zv=function(t){zv(n,t);var e=Jv(n);function n(i){Kv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Cu(i==null?void 0:i.props),u}return n}(q);class wu extends U{constructor(e){var n,i,u,r,a;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(a=e==null?void 0:e.content)!=null?a:"\u8BF4\u660E\u6587\u5B57"}}class Da extends k{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Da.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 Yv extends X{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}static get controlType(){return"text"}}var xa={Designer:Da,Runtime:Yv,Property:wu};class Au extends U{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Su extends k{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Su.controlEventKeys=["on_click"],Su.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 pv extends X{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlType(){return"link"}}var Fa={Designer:Su,Runtime:pv,Property:Au};class J extends U{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class Z extends k{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends X{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var Oa={Designer:Z,Runtime:te,Property:J},we=(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))(we||{}),ka=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ka||{}),Na=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Na||{});class Tn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ae(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ru=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ru||{});class Bn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ae(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Tu=(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))(Tu||{});class Bu{constructor(e){var n,i,u,r,a,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ot((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new ot((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new ot((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Ma{constructor(e){var n,i,u,r,a,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Bu(s)))!=null?u:[new Bu],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Pu{constructor(e){var n,i,u,r,a,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:ae(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Du{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class La{constructor(e){var n,i,u,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Du(e==null?void 0:e.watermark),this.autoRename=new Du(e==null?void 0:e.autoRename)}}const $a=480;function ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Va{constructor(e){var n,i,u,r,a;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(a=e.rules)!=null?a:[]}}class Ha{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var ja=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ja||{}),xu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(xu||{}),Fu=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Fu||{}),ze=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ze||{}),Ou=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ou||{});class ku extends U{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Tu.SOLID}}class qa extends k{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}qa.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class eg extends X{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ua={Designer:qa,Runtime:eg,Property:ku};class tg extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},e.config.includes(we.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")})}}class Pn extends U{constructor(e){var n,i,u,r;super(e),this.dataBind=new ue(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[we.ShowSubmitUser,we.ShowSubmitDept,we.ShowSubmitTime,we.ShowCurrentApprovar],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ge==null?void 0:Ge.controlName)!=null?u:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!0}}Pn.Rules=tg;class Ge extends k{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ge.controlFieldType=v.AUTO_NUMBER,Ge.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];class ng extends X{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Wa={Designer:Ge,Runtime:ng,Property:Pn};class ig extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class Dn extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Dn.Rules=ig;class yt extends Z{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.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 ug extends te{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ka={Designer:yt,Runtime:ug,Property:Dn};class rg extends j{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class xn extends J{constructor(e){var n,i,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}xn.Rules=rg;class mt extends Z{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 ag extends te{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var za={Designer:mt,Runtime:ag,Property:xn};class Nu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon}}class vt extends Z{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}vt.controlEventKeys=["on_click"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lg extends te{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Ga={Designer:vt,Runtime:lg,Property:Nu};class Mu extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:gt.controlName,this.templateList=(r=(u=e==null?void 0:e.templateList)==null?void 0:u.map(a=>new Pu(a)))!=null?r:[new Pu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends Z{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.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 og extends te{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Xa={Designer:gt,Runtime:og,Property:Mu};class Lu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon}}class bt extends Z{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}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 cg extends te{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Qa={Designer:bt,Runtime:cg,Property:Lu};class sg{constructor(e){this.dataCode=e.dataCode}}class $u extends J{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new sg(a)))!=null?r:[]}}class Et extends Z{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 te{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ja={Designer:Et,Runtime:dg,Property:$u};function Fn(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class fg extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:Ce({},Fn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ce({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Fn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class On extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.formBind=new _h(e==null?void 0:e.formBind),this.fillBack=new Kr(e==null?void 0:e.fillBack)}}On.Rules=fg;class Ct extends Z{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],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:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class hg extends te{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Za={Designer:Ct,Runtime:hg,Property:On};class yg extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:Ce({},Fn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ce({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Fn())}}}class kn extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon,this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.listPageBind=new qr(e==null?void 0:e.listPageBind),this.fillBack=new Kr(e==null?void 0:e.fillBack)}}kn.Rules=yg;class _t extends Z{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.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 mg extends te{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Ya={Designer:_t,Runtime:mg,Property:kn};class vg extends j{constructor(e){super(e)}}class gg extends _e{constructor(e){super(e)}}class It extends U{constructor(e){super(e)}}It.Rules=vg,It.RuntimeRules=gg;class pa extends k{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}pa.setting=[];class bg extends X{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var el={Designer:pa,Runtime:bg,Property:It};class Eg extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Nn extends U{constructor(e){var n,i,u,r,a,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Nn.Rules=Eg;class tl extends k{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}tl.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 Cg extends X{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var nl={Designer:tl,Runtime:Cg,Property:Nn};class _g extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Mn extends U{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new $h(r)))!=null?u:[]}}Mn.Rules=_g;class il extends k{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}il.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Ig extends X{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ul={Designer:il,Runtime:Ig,Property:Mn};class wg extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ln extends J{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Xe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Xe.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?m:[]}}Ln.Rules=wg;class Xe extends Z{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Xe.controlEventKeys=["on_click","on_click_finish"],Xe.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 Ag extends te{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var rl={Designer:Xe,Runtime:Ag,Property:Ln};class Sg extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class $n extends J{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Qe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Qe.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?m:[]}}$n.Rules=Sg;class Qe extends Z{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Qe.controlEventKeys=["on_click","on_click_finish"],Qe.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 Rg extends te{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var al={Designer:Qe,Runtime:Rg,Property:$n};class Tg extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Vn extends J{constructor(e){var n,i,u,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.printTemplates=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Va(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Vn.Rules=Tg;class wt extends Z{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.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 Bg extends te{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ll={Designer:wt,Runtime:Bg,Property:Vn};class Vu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends Z{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}At.controlEventKeys=["on_click"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Pg extends te{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var ol={Designer:At,Runtime:Pg,Property:Vu},Dg=Object.freeze({__proto__:null,Text:xa,Link:Fa,Button:Oa,Divider:Ua,Title:Wa,CreateFormListButton:Ka,BatchSubmissionListButton:za,SubmissionRecordListButton:Ga,ExportListButton:Xa,ExportRecordListButton:Qa,ImportRecordListButton:Ja,FormSelectButton:Za,ListSelectButton:Ya,Pagination:el,Dashboard:nl,ListViewSelect:ul,TextOcrButton:rl,InvoiceCheckButton:al,BatchPrintListButton:ll,BatchPrintRecordListButton:ol});class xg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Fg extends O{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Je extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new zr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ze.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}Je.Rules=xg,Je.RuntimeRules=Fg;class Ze extends B{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Ze.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ze.controlFieldType=v.VARCHAR,Ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.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 cl extends P{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"input"}}cl.controlFieldType=v.VARCHAR;var sl={Designer:Ze,Runtime:cl,Property:Je};class Og extends Ue{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class kg extends O{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 St extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Rt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var b;(b=this.multistageFilling)==null||b.push(new p(I))}))}}St.Rules=Og,St.RuntimeRules=kg;class Rt extends B{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Rt.controlEventKeys=["on_change","on_click"],Rt.controlFieldType=v.ARRAY,Rt.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 dl extends P{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}dl.controlFieldType=v.ARRAY;var fl={Designer:Rt,Runtime:dl,Property:St};class Ng extends Ue{constructor(e){super(e)}}class Hn extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Tt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new p(g))}))}}Hn.Rules=Ng;class Tt extends B{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Tt.controlEventKeys=["on_change","on_click"],Tt.controlFieldType=v.VARCHAR,Tt.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 hl extends P{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"radio"}}hl.controlFieldType=v.VARCHAR;var yl={Designer:Tt,Runtime:hl,Property:Hn};class Mg extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Lg extends O{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Bt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Pt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new zr(e==null?void 0:e.regularRules)}}Bt.Rules=Mg,Bt.RuntimeRules=Lg;class Pt extends B{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Pt.controlFieldType=v.DECIMAL,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ml extends P{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"number"}}ml.controlFieldType=v.DECIMAL;var vl={Designer:Pt,Runtime:ml,Property:Bt};class Hu extends T{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:jn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Tn(m)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class jn extends B{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}jn.controlFieldType=v.TIMESTAMP,jn.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 gl extends P{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}gl.controlFieldType=v.TIMESTAMP;var bl={Designer:jn,Runtime:gl,Property:Hu};class $g extends O{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 qn extends T{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.dataBind=new Oh(e==null?void 0:e.dataBind),this.defaultValue=new kh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:Un.controlName,this.limitDateList=(h=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Tn(m)))!=null?h:[]}}qn.RuntimeRules=$g;class Un extends B{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Un.controlFieldType=v.TIMESCOPE,Un.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 El extends P{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}El.controlFieldType=v.TIMESCOPE;var Cl={Designer:Un,Runtime:El,Property:qn};class Vg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Hg extends O{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Dt extends T{constructor(e){var n,i,u,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:xt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Dt.Rules=Vg,Dt.RuntimeRules=Hg;class xt extends B{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],xt.controlFieldType=v.TEXT,xt.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 _l extends P{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}_l.controlFieldType=v.TEXT;var Il={Designer:xt,Runtime:_l,Property:Dt};class jg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class qg extends O{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ft extends T{constructor(e){var n,i,u,r,a;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ot.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}Ft.Rules=jg,Ft.RuntimeRules=qg;class Ot extends B{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Ot.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ot.controlFieldType=v.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:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class wl extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}wl.controlFieldType=v.TEXT;var Al={Designer:Ot,Runtime:wl,Property:Ft};class Ug extends Ue{constructor(e){super(e)}}class Wn extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Kn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var h;(h=this.multistageFilling)==null||h.push(new p(o))}))}}Wn.Rules=Ug;class Kn extends B{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Kn.controlFieldType=v.VARCHAR,Kn.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 Sl extends P{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"select"}}Sl.controlFieldType=v.VARCHAR;var Rl={Designer:Kn,Runtime:Sl,Property:Wn};class Wg extends Ue{constructor(e){super(e)}}class Kg extends O{constructor(e){super(e),this[0].type="array"}}class kt extends T{constructor(e){var n,i,u,r,a,l;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:zn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))}))}}kt.Rules=Wg,kt.RuntimeRules=Kg;class zn extends B{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}zn.controlFieldType=v.ARRAY,zn.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 Tl extends P{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Tl.controlFieldType=v.ARRAY;var Bl={Designer:zn,Runtime:Tl,Property:kt};class zg extends O{constructor(e){super(e),this[0].type="array"}}class Gn extends T{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Xn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var m;(m=this.multistageFilling)==null||m.push(new p(h))}))}}Gn.RuntimeRules=zg;class Xn extends B{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Xn.controlFieldType=v.EMPLOYEES,Xn.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 Pl extends P{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlType(){return"employee"}}Pl.controlFieldType=v.EMPLOYEES;var Dl={Designer:Xn,Runtime:Pl,Property:Gn};const Gg=10485760,Xg=104857600,Qg=1048576e3;class Jg extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Qg,message:d.getMessage("attachmentMaxSize")}}}class Zg extends O{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ye extends T{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(a=e==null?void 0:e.minLimit)!=null?a:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:Xg,this.caption=(s=e==null?void 0:e.caption)!=null?s:pe.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Ye.Rules=Jg,Ye.RuntimeRules=Zg;class pe extends B{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}pe.controlEventKeys=["on_change"],pe.controlFieldType=v.FILE,pe.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 ju extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ju.controlFieldType=v.FILE;var xl={Designer:pe,Runtime:ju,Property:Ye};const Fl=class extends pe{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Fl.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let qu=Fl;qu.controlFieldType=v.IMAGE,qu.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 Yg extends ju{static get controlType(){return"image"}constructor(e){var n,i,u,r,a,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(r=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(l=(a=e==null?void 0:e.props)==null?void 0:a.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class pg extends Ye{constructor(e){super(e)}}var Ol={Designer:qu,Runtime:Yg,Property:pg};class e0 extends Ue{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class t0 extends O{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Ii(Ce({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Nt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new xh(e==null?void 0:e.dataBind),this.datasourceBind=new G((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Ni({value:"name"})]}),this.defaultValue=new Fh((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:rn.CNY}),this.options=fe(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Mt.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}Nt.Rules=e0,Nt.RuntimeRules=t0;class Mt extends B{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Mt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Mt.controlFieldType=v.MONEY,Mt.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 kl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"amount"}}kl.controlFieldType=v.MONEY;var Nl={Designer:Mt,Runtime:kl,Property:Nt};class n0 extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class i0 extends O{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Lt extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ru.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(r=e==null?void 0:e.explain)==null?void 0:r.map(o=>new Bn(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Bn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:$t.controlName}}Lt.Rules=n0,Lt.RuntimeRules=i0;class $t extends B{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new Bn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}$t.controlEventKeys=["on_change","on_click"],$t.controlFieldType=v.DECIMAL,$t.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 Ml extends P{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlType(){return"score"}}Ml.controlFieldType=v.DECIMAL;var Ll={Designer:$t,Runtime:Ml,Property:Lt};class u0 extends O{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Qn extends T{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jn.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new Nh((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9\u5730\u5740"}}Qn.RuntimeRules=u0;class Jn extends B{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Jn.controlFieldType=v.ADDRESS,Jn.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 $l extends P{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}$l.controlFieldType=v.ADDRESS;var Vl={Designer:Jn,Runtime:$l,Property:Qn};class r0 extends O{constructor(e){super(e),this[0].type="array"}}class Zn extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Yn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new p(g))}))}}Zn.RuntimeRules=r0;class Yn extends B{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Yn.controlFieldType=v.DEPARTMENTS,Yn.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 Hl extends P{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"department"}}Hl.controlFieldType=v.DEPARTMENTS;var jl={Designer:Yn,Runtime:Hl,Property:Zn};class Uu extends T{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:Vt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Vt extends B{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}Vt.controlEventKeys=["on_change"],Vt.controlFieldType=v.AUTO_NUMBER,Vt.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 ql extends P{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}ql.controlFieldType=v.AUTO_NUMBER;var Ul={Designer:Vt,Runtime:ql,Property:Uu};class a0 extends Q{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 l0 extends O{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class Ht extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Mh(e==null?void 0:e.dataBind),this.defaultValue=new Lh(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:jt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}Ht.Rules=a0,Ht.RuntimeRules=l0;class jt extends B{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}jt.controlEventKeys=["on_change"],jt.controlFieldType=v.CALC,jt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[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 Wl extends P{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlType(){return"calc"}}Wl.controlFieldType=v.CALC;var Kl={Designer:jt,Runtime:Wl,Property:Ht};class o0 extends O{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class pn extends T{constructor(e){var n,i,u,r,a,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:ei.controlName}}pn.RuntimeRules=o0;class ei extends B{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ei.controlFieldType=v.DECIMAL_RANGE,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:"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 zl extends P{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}zl.controlFieldType=v.DECIMAL_RANGE;var Gl={Designer:ei,Runtime:zl,Property:pn};class c0 extends O{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 ti extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:he.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:ni.controlName,this.limitDateList=(m=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(g=>new Tn(g)))!=null?m:[]}}ti.RuntimeRules=c0;class ni extends B{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ni.controlFieldType=v.ARRAY,ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 Xl extends P{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Xl.controlFieldType=v.ARRAY;var Ql={Designer:ni,Runtime:Xl,Property:ti};class s0 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class d0 extends O{constructor(e){super(e),this[0].type="any"}}class qt extends T{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ut.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}qt.Rules=s0,qt.RuntimeRules=d0;class Ut extends B{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Ut.controlFieldType=v.ANY,Ut.controlEventKeys=[],Ut.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 Jl extends P{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Jl.controlFieldType=v.ANY;var Zl={Designer:Ut,Runtime:Jl,Property:qt};class f0 extends Ue{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class ii extends T{constructor(e){var n,i,u,r,a,l;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new qr(e==null?void 0:e.listPageBind),this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:ui.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))})),this.canViewForm=(l=e==null?void 0:e.canViewForm)!=null?l:!1}}ii.Rules=f0;class ui extends B{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}ui.controlFieldType=v.VARCHAR,ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];class Yl extends P{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Yl.controlFieldType=v.VARCHAR;var pl={Designer:ui,Runtime:Yl,Property:ii};class Wu extends Je{constructor(e){super(e)}}class eo extends Ze{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}eo.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 to extends P{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}to.controlFieldType=v.VARCHAR;var no={Designer:eo,Runtime:to,Property:Wu};class h0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Yi.call(this,e,Ae.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class y0 extends O{constructor(e){super(e),this[0].type="array"}}class Wt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,I;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ae.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(h=e==null?void 0:e.defaultCollapseLevel)!=null?h:1,this.datasourceBind=new Ph((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Ae.controlCustomAttributes}),this.multistageFilling=(_=(g=e==null?void 0:e.multistageFilling)==null?void 0:g.map(b=>new p(b)))!=null?_:[],this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:[]}}Wt.Rules=h0,Wt.RuntimeRules=y0;class Ae extends B{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Ae.controlEventKeys=["on_change","on_click"],Ae.controlFieldType=v.ARRAY,Ae.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 io extends P{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"tree"}}io.controlFieldType=v.ARRAY;var uo={Designer:Ae,Runtime:io,Property:Wt};class m0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},Yi.call(this,e,et.controlCustomAttributes),e.externalType===ze.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class v0 extends O{constructor(e){super(e),this[0].type="array"}}class Kt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:et.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new un((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:et.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:xu.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ou.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:ze.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))}))}}Kt.Rules=m0,Kt.RuntimeRules=v0;class et extends B{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}et.controlFieldType=v.EMPLOYEES,et.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 ro extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}ro.controlFieldType=v.EMPLOYEES;var ao={Designer:et,Runtime:ro,Property:Kt};class g0 extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&Di(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&i.signatureType.includes("company")&&Di(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class ri extends T{constructor(e){var n,i,u,r,a,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:zt.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Ma(e==null?void 0:e.signatureConfig)}}ri.Rules=g0;class zt extends B{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.controlFieldType=v.VARCHAR,zt.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 lo extends P{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}lo.controlFieldType=v.VARCHAR;var oo={Designer:zt,Runtime:lo,Property:ri};class b0 extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class E0 extends O{constructor(e){super(e),this[0].type="array"}}class Gt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:Gg,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new La(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Gt.Rules=b0,Gt.RuntimeRules=E0;class Xt extends B{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Xt.controlEventKeys=["on_change","on_wps_open"],Xt.controlFieldType=v.FILE,Xt.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 co extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"wps"}}co.controlFieldType=v.FILE;var so={Designer:Xt,Runtime:co,Property:Gt};class C0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},Yi.call(this,e,tt.controlCustomAttributes),e.businessType===ze.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class _0 extends O{constructor(e){super(e),this[0].type="array"}}class Qt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,I,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:tt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new un((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:tt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Fu.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ze.ALL,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var y;(y=this.multistageFilling)==null||y.push(new p(w))}))}}Qt.Rules=C0,Qt.RuntimeRules=_0;class tt extends B{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}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}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}tt.controlFieldType=v.DEPARTMENTS,tt.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 fo extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"department2"}}fo.controlFieldType=v.DEPARTMENTS;var ho={Designer:tt,Runtime:fo,Property:Qt},I0=Object.freeze({__proto__:null,Input:sl,Checkbox:fl,Radio:yl,Number:vl,DatePicker:bl,DateRange:Cl,Textarea:Il,RichText:Al,Select:Rl,SelectMultiple:Bl,Employee:Dl,Image:Ol,Attachment:xl,Amount:Nl,Score:Ll,Address:Vl,Department:jl,AutoNumber:Ul,Calc:Kl,SearchNumberRange:Gl,SearchDateRange:Ql,VueFormItem:Zl,SelectRelation:pl,SearchInput:no,Tree:uo,Employee2:ao,ElectronicSignature:oo,WPS:so,Department2:ho});class yo extends V{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}yo.excludes=[C.GRID];class w0 extends q{static get controlType(){return"grid"}constructor(e){super(e)}}var mo={Designer:yo,Runtime:w0,Property:M};const A0=24;class Se extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:A0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Jt extends V{constructor(e){super(e),this.props=new Se(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Jt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Jt.childrenMaxLength=1;class Ku extends q{constructor(e){super(e),this.props=new Se(e==null?void 0:e.props)}static get controlType(){return"col"}}var vo={Designer:Jt,Runtime:Ku,Property:Se};class ai extends M{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class li extends V{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}li.excludes=[C.ROW],li.setting=[{key:"col-setting",visible:!0}];class go extends q{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"row"}}var bo={Designer:li,Runtime:go,Property:ai};const S0=4;class oi extends li{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)}}oi.excludes=[C.GRID_ROW],oi.setting=[],oi.childrenMaxLength=S0;class R0 extends go{static get controlType(){return"grid-row"}constructor(e){super(e)}}class T0 extends ai{constructor(e){super(e)}}var Eo={Designer:oi,Runtime:R0,Property:T0};class B0 extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class ci extends M{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}ci.Rules=B0;class zu extends V{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}zu.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}],zu.excludes=[C.CARD_GROUP];class P0 extends q{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Co={Designer:zu,Runtime:P0,Property:ci};class D0 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class si extends M{constructor(e){var n,i,u,r,a,l;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1}}si.Rules=D0;class re extends V{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}}re.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",re.controlType="subtable-column",re.controlIcon="subtable-column",re.childrenMaxLength=1,re.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];class _o extends q{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}}_o.controlType="subtable-column";var Io={Designer:re,Runtime:_o,Property:si};class Gu extends M{constructor(e){super(e)}}class Re extends V{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}}Re.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Re.controlType="subtable-row",Re.controlIcon="subtable-row",Re.childrenMaxLength=1,Re.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class x0 extends q{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var wo={Designer:Re,Runtime:x0,Property:Gu};class Xu extends M{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:he.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Te extends V{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}}Te.controlName="\u5217\u8868\u5355\u5143\u683C",Te.controlType="gridtable-column",Te.controlIcon="gridtable-column",Te.childrenMaxLength=1,Te.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Te.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0}];class Ao extends q{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}}Ao.controlType="gridtable-column";var So={Designer:Te,Runtime:Ao,Property:Xu};class Qu extends M{constructor(e){super(e)}}class F0 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class di extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:fi.controlName}}di.Rules=F0;class Zt extends V{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Zt.excludes=[C.TAB],Zt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class O0 extends q{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Ro={Designer:Zt,Runtime:O0,Property:di};class fi extends V{constructor(e){var n;super(e),this.props=new Qu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Zt,new Zt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}fi.excludes=[C.TAB],fi.setting=[{key:"super-setting",visible:!0}];class k0 extends q{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlType(){return"tab"}}var To={Designer:fi,Runtime:k0,Property:Qu};class Bo extends M{constructor(e){super(e)}}class Po extends V{constructor(e){super(e),this.props=new Bo({}),this.children=(e==null?void 0:e.children)||[new Jt({props:new Se({span:12})}),new Jt({props:new Se({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Po.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class N0 extends q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ku({props:new Se({span:12})}),new Ku({props:new Se({span:12})})]}}var Do={Designer:Po,Runtime:N0,Property:Bo};class M0 extends _e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class L0 extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),Zi.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Yt extends M{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Ah(e==null?void 0:e.sublistPage),this.showType=(a=e==null?void 0:e.showType)!=null?a:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0}}Yt.Rules=L0,Yt.RuntimeRules=M0;class hi extends V{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}hi.excludes=[C.ROW],hi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],hi.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 $0 extends q{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var xo={Designer:hi,Runtime:$0,Property:Yt};class V0 extends _e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class yi extends M{constructor(e){var n,i,u,r,a,l;super(e),this.save=new ie((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new ie((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new ie((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new ie((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new ie(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new G(e==null?void 0:e.datasourceBind)}}yi.RuntimeRules=V0;class Fo extends V{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Fo.excludes=[];class H0 extends q{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Oo={Designer:Fo,Runtime:H0,Property:yi};class j0 extends V{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class q0 extends q{static get controlType(){return"page"}constructor(e){super(e)}}class U0 extends M{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var ko={Designer:j0,Runtime:q0,Property:U0};class W0 extends V{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class K0 extends q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class z0 extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ha(e==null?void 0:e.flexConfig)}}var No={Designer:W0,Runtime:K0,Property:z0};class G0 extends V{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class X0 extends q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Q0 extends M{constructor(e){super(e)}}var Mo={Designer:G0,Runtime:X0,Property:Q0};class J0 extends V{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Z0 extends q{static get controlType(){return"position"}constructor(e){super(e)}}class Y0 extends M{constructor(e){var n,i,u,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Lo={Designer:J0,Runtime:Z0,Property:Y0},p0=Object.freeze({__proto__:null,Grid:mo,Col:vo,Row:bo,GridRow:Eo,CardGroup:Co,SubTableColumn:Io,SubTableRow:wo,GridTableColumn:So,Tab:To,TabPane:Ro,Toolbox:Do,ListView:xo,DataView:Oo,Page:ko,AdvancedContainer:No,PositioningContainer:Mo,Position:Lo});class eb extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class tb extends _e{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class pt extends bn{constructor(e,n){var i,u,r,a,l,s,o,h,m,g,_,I,b,w,y,E,N,R,x,ne,D;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:mi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(a=n==null?void 0:n.labelPosition)!=null?a:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(h=n==null?void 0:n.maxHeight)!=null?h:$a,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.defaultRows=(_=n==null?void 0:n.defaultRows)!=null?_:1,this.datasourceBind=new G(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(b=n==null?void 0:n.canDelete)!=null?b:!0,this.canCheck=(w=n==null?void 0:n.canCheck)!=null?w:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(E=n==null?void 0:n.canImport)!=null?E:!1,this.canExport=(N=n==null?void 0:n.canExport)!=null?N:!1,this.canClear=(R=n==null?void 0:n.canClear)!=null?R:!0,this.serverPagination=(x=n==null?void 0:n.serverPagination)!=null?x:!1,this.isShowCaptionTip=(ne=n==null?void 0:n.isShowCaptionTip)!=null?ne:!1,this.captionTip=(D=n==null?void 0:n.captionTip)!=null?D:""}}pt.Rules=eb,pt.RuntimeRules=tb;class mi extends su{constructor(e){var n;super(e),this.props=new pt(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 re,new re,new re])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new re,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}mi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],mi.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:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];class nb extends Ta{constructor(e){super(e),this.props=new pt(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Nr("Method not implemented.")}getChildrenFormControl(){return[]}}var $o={Designer:mi,Runtime:nb,Property:pt};class Ju extends bn{constructor(e,n){var i,u,r,a;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0}}class ib extends _n{constructor(e){super(e),this.caption.required=!1}}class vi extends H{constructor(e){var n,i,u,r;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Be.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:50,this.widthType=(r=e==null?void 0:e.widthType)!=null?r:"px"}}vi.Rules=ib;class Be extends W{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}}Be.controlType="order-column",Be.controlName="\u5E8F\u53F7",Be.controlIcon="order-column",Be.setting=[{key:"column-fixed",visible:!0}];class Zu extends K{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}}Zu.controlType="order-column",Zu.controlFieldType=v.DECIMAL;var Vo={Designer:Be,Runtime:Zu,Property:vi};class ub extends _n{constructor(e){super(e),this.check=[{type:"object",message:d.getMessage("isNotObject")}],this.edit=[{type:"object",message:d.getMessage("isNotObject")}];const n=()=>({type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}});e.check.isShow&&this.check.push(n()),e.edit.isShow&&this.edit.push(n())}}class gi extends H{constructor(e){var n,i,u,r,a,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.check=new ie((i=e==null?void 0:e.check)!=null?i:{content:"\u67E5\u770B",type:"check",isShow:!1,priorityProcess:!0}),this.edit=new ie((u=e==null?void 0:e.edit)!=null?u:{content:"\u7F16\u8F91",type:"edit",isShow:!1}),this.delete=new ie((r=e==null?void 0:e.delete)!=null?r:{content:"\u5220\u9664",type:"delete",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new ie(s)),this.caption=(l=e==null?void 0:e.caption)!=null?l:Pe.controlName}}gi.Rules=ub;class Pe extends W{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return e.props.check=this.props.check,e.props.edit=this.props.edit,e.props.delete=this.props.delete,e}}Pe.controlType="operation-column",Pe.controlName="\u64CD\u4F5C",Pe.controlIcon="operation-column",Pe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"operation-setting",showItems:[c.CAN_CHECK,c.CAN_EDIT,c.CAN_DELETE],visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];class Yu extends K{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}}Yu.controlType="operation-column",Yu.controlFieldType=v.FILE;var Ho={Designer:Pe,Runtime:Yu,Property:gi};class bi extends su{constructor(e){super(e),this.props=new Ju(this,e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Be,new Pe])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Ii(Ce({},e),{children:n})}validate(e,n){return sc(this,null,function*(){return yield cc(bi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}bi.setting=[{key:"list-fixed-header",visible:!0}];class rb extends Ta{constructor(e){super(e),this.props=new Ju(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Nr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var jo={Designer:bi,Runtime:rb,Property:Ju},ab=Object.freeze({__proto__:null,SubTable:$o,GridTable:jo});class lb extends Pa{constructor(e){super(e)}}class Ei extends H{constructor(e){var n,i,u,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:De.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.options=fe((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ei.Rules=lb;class De extends W{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}}De.controlType="varchar-column",De.controlName="\u77ED\u6587\u672C",De.controlIcon="varchar-column",De.controlFieldType=v.VARCHAR,De.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",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 pu extends K{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}}pu.controlType="varchar-column",pu.controlFieldType=v.VARCHAR;var qo={Designer:De,Runtime:pu,Property:Ei};class er extends H{constructor(e){var n,i,u;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:xe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class xe extends W{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}xe.controlType="text-column",xe.controlName="\u957F\u6587\u672C",xe.controlIcon="text-column",xe.controlFieldType=v.TEXT,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",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 tr extends K{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}tr.controlType="text-column",tr.controlFieldType=v.TEXT;var Uo={Designer:xe,Runtime:tr,Property:er};class nr extends H{constructor(e){var n,i,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.options=fe((l=e==null?void 0:e.options)!=null?l:[{}])}}class Fe extends W{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Fe.controlType="decimal-column",Fe.controlName="\u6570\u503C",Fe.controlIcon="decimal-column",Fe.controlFieldType=v.DECIMAL,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",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 ir extends K{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="decimal-column",ir.controlFieldType=v.DECIMAL;var Wo={Designer:Fe,Runtime:ir,Property:nr};class ur extends H{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Oe.controlName}}class Oe extends W{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Oe.controlType="timescope-column",Oe.controlName="\u65E5\u671F\u533A\u95F4",Oe.controlIcon="timescope-column",Oe.controlFieldType=v.TIMESCOPE,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class rr extends K{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}rr.controlType="timescope-column",rr.controlFieldType=v.TIMESCOPE;var Ko={Designer:Oe,Runtime:rr,Property:ur};class ar extends H{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ke.controlName}}class ke extends W{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ke.controlType="timestamp-column",ke.controlName="\u65E5\u671F",ke.controlIcon="timestamp-column",ke.controlFieldType=v.TIMESTAMP,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class lr extends K{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}lr.controlType="timestamp-column",lr.controlFieldType=v.TIMESTAMP;var zo={Designer:ke,Runtime:lr,Property:ar};class ob extends Pa{constructor(e){super(e)}}class Ci extends H{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.options=fe((u=e==null?void 0:e.options)!=null?u:[{}])}}Ci.Rules=ob;class Ne extends W{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}Ne.controlType="array-column",Ne.controlName="\u6570\u7EC4",Ne.controlIcon="array-column",Ne.controlFieldType=v.ARRAY,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class or extends K{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}or.controlType="array-column",or.controlFieldType=v.ARRAY;var Go={Designer:Ne,Runtime:or,Property:Ci};class cr extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Me extends W{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Me.controlType="department-column",Me.controlName="\u90E8\u95E8",Me.controlIcon="department-column",Me.controlFieldType=v.DEPARTMENTS,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class sr extends K{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}sr.controlType="department-column",sr.controlFieldType=v.DEPARTMENTS;var Xo={Designer:Me,Runtime:sr,Property:cr};class dr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName}}class Le extends W{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}Le.controlType="auto-number-column",Le.controlName="\u81EA\u52A8\u7F16\u53F7",Le.controlIcon="auto-number-column",Le.controlFieldType=v.AUTO_NUMBER,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class fr extends K{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}fr.controlType="auto-number-column",fr.controlFieldType=v.AUTO_NUMBER;var Qo={Designer:Le,Runtime:fr,Property:dr};class hr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName}}class $e extends W{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}$e.controlType="file-column",$e.controlName="\u9644\u4EF6",$e.controlIcon="file-column",$e.controlFieldType=v.FILE,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class yr extends K{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}yr.controlType="file-column",yr.controlFieldType=v.FILE;var Jo={Designer:$e,Runtime:yr,Property:hr};class mr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends W{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}Ve.controlType="image-column",Ve.controlName="\u56FE\u7247",Ve.controlIcon="image-column",Ve.controlFieldType=v.IMAGE,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vr extends K{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="image-column",vr.controlFieldType=v.IMAGE;var Zo={Designer:Ve,Runtime:vr,Property:mr};class gr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends W{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}He.controlType="people-column",He.controlName="\u4EBA\u5458",He.controlIcon="people-column",He.controlFieldType=v.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class br extends K{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="people-column",br.controlFieldType=v.EMPLOYEES;var Yo={Designer:He,Runtime:br,Property:gr};class Er extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends W{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}je.controlType="location-column",je.controlName="\u5730\u5740",je.controlIcon="location-column",je.controlFieldType=v.ADDRESS,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Cr extends K{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Cr.controlType="location-column",Cr.controlFieldType=v.ADDRESS;var po={Designer:je,Runtime:Cr,Property:Er};class _r extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const cb=1;class be extends W{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new _r(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children),this.excludes=ye(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return Ii(Ce({},e),{children:this.children.map(n=>n.toSchema())})}}be.controlType="custom-column",be.controlName="\u81EA\u5B9A\u4E49",be.controlIcon="custom-column",be.excludes=[],be.childrenMaxLength=cb,be.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ec extends K{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}}ec.controlType="custom-column";var tc={Designer:be,Runtime:ec,Property:_r};class Ir extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.datasourceBind=new un((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ee.controlCustomAttributes})}}class Ee extends W{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ee.controlType="employee-column",Ee.controlName="\u4EBA\u5458",Ee.controlIcon="employee-column",Ee.controlFieldType=v.EMPLOYEES,Ee.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wr extends K{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}wr.controlType="employee-column",wr.controlFieldType=v.EMPLOYEES;var nc={Designer:Ee,Runtime:wr,Property:Ir},sb=Object.freeze({__proto__:null,VarcharColumn:qo,TextColumn:Uo,DecimalColumn:Wo,TimescopeColumn:Ko,TimestampColumn:zo,ArrayColumn:Go,DepartmentColumn:Xo,AutoNumberColumn:Qo,FileColumn:Jo,ImageColumn:Zo,PeopleColumn:Yo,LocationColumn:po,CustomColumn:tc,OrderColumn:Vo,OperationColumn:Ho,EmployeeColumn:nc});class db extends _e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _i extends Cu{constructor(e){var n,i,u,r,a,l,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new ie((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new ie((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new ie(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}_i.RuntimeRules=db;class Ar extends Uv{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}Ar.controlType="simple-search",Ar.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 ic extends Zv{constructor(e){var n;super(e),this.props=new _i(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ic.controlType="simple-search";var uc={Designer:Ar,Runtime:ic,Property:_i},fb=Object.freeze({__proto__:null,SimpleSearch:uc});f.Address=Vl,f.AdvancedContainer=No,f.Amount=Nl,f.ArrayColumn=Go,f.AssignType=ze,f.Attachment=xl,f.AutoNumber=Ul,f.AutoNumberColumn=Qo,f.BatchPrintListButton=ll,f.BatchPrintRecordListButton=ol,f.BatchSubmissionListButton=za,f.Button=Oa,f.Calc=Kl,f.CardGroup=Co,f.Checkbox=fl,f.Col=vo,f.CreateFormListButton=Ka,f.CustomColumn=tc,f.DATE_CONFIG_TYPE=ka,f.DATE_LIMIT_TYPE=Na,f.Dashboard=nl,f.DataView=Oo,f.DatePicker=bl,f.DateRange=Cl,f.DecimalColumn=Wo,f.Department=jl,f.Department2=ho,f.DepartmentColumn=Xo,f.DepartmentType=Fu,f.Divider=Ua,f.ElectronicSignature=oo,f.ElectronicSignatureConfig=Ma,f.Employee=Dl,f.Employee2=ao,f.EmployeeColumn=nc,f.EncryptTypeEnum=ja,f.Explain=Bn,f.ExportListButton=Xa,f.ExportRecordListButton=Qa,f.ExportTemplate=Pu,f.FileColumn=Jo,f.FlexStyleConfig=Ha,f.FormSelectButton=Za,f.Grid=mo,f.GridRow=Eo,f.GridTable=jo,f.GridTableColumn=So,f.Image=Ol,f.ImageColumn=Zo,f.ImportRecordListButton=Ja,f.Input=sl,f.InternalType=Ou,f.InvoiceCheckButton=al,f.LINE_STYLE=Tu,f.LimitDate=Tn,f.Link=Fa,f.ListSelectButton=Ya,f.ListView=xo,f.ListViewSelect=ul,f.LocationColumn=po,f.Number=vl,f.OperationColumn=Ho,f.OrderColumn=Vo,f.OrganizeType=xu,f.Page=ko,f.Pagination=el,f.PeopleColumn=Yo,f.Position=Lo,f.PositioningContainer=Mo,f.PrintTemplate=Va,f.Radio=yl,f.RichText=Al,f.Row=bo,f.SCORE_TYPE=Ru,f.SUBTABLE_DEFAULT_MAX_HEIGHT=$a,f.Score=Ll,f.SearchDateRange=Ql,f.SearchInput=no,f.SearchNumberRange=Gl,f.Select=Rl,f.SelectMultiple=Bl,f.SelectRelation=pl,f.SimpleSearch=uc,f.SubTable=$o,f.SubTableColumn=Io,f.SubTableRow=wo,f.SubmissionRecordListButton=Ga,f.Tab=To,f.TabPane=Ro,f.Text=xa,f.TextColumn=Uo,f.TextOcrButton=rl,f.Textarea=Il,f.TimescopeColumn=Ko,f.TimestampColumn=zo,f.Title=Wa,f.TitleConfigEnum=we,f.Toolbox=Do,f.Tree=uo,f.UndersignedPerson=Bu,f.VarcharColumn=qo,f.VueFormItem=Zl,f.WPS=so,f.WPSSetting=La,f.WpsOperationItem=Du,f.baseControls=Dg,f.columnControls=sb,f.formControls=I0,f.initExpression=ht,f.layoutControls=p0,f.listControls=ab,f.searchControls=fb,Object.defineProperty(f,"__esModule",{value:!0})});
1
+ var yb=Object.defineProperty,mb=Object.defineProperties;var vb=Object.getOwnPropertyDescriptors;var lc=Object.getOwnPropertySymbols,gb=Object.getPrototypeOf,bb=Object.prototype.hasOwnProperty,Eb=Object.prototype.propertyIsEnumerable,Cb=Reflect.get;var oc=(f,F,L)=>F in f?yb(f,F,{enumerable:!0,configurable:!0,writable:!0,value:L}):f[F]=L,Ce=(f,F)=>{for(var L in F||(F={}))bb.call(F,L)&&oc(f,L,F[L]);if(lc)for(var L of lc(F))Eb.call(F,L)&&oc(f,L,F[L]);return f},Ii=(f,F)=>mb(f,vb(F));var cc=(f,F,L)=>Cb(gb(f),L,F);var sc=(f,F,L)=>new Promise((wi,en)=>{var Ai=ce=>{try{ut(L.next(ce))}catch(rt){en(rt)}},Si=ce=>{try{ut(L.throw(ce))}catch(rt){en(rt)}},ut=ce=>ce.done?wi(ce.value):Promise.resolve(ce.value).then(Ai,Si);ut((L=L.apply(f,F)).next())});(function(f,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(f=typeof globalThis!="undefined"?globalThis:f||self,F(f.modelDrivenControls={}))})(this,function(f){"use strict";var F="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",wi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",en="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ai="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Si="{caption}\u5FC5\u586B",ut="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",rt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",dc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",fc="\u8BF7\u7ED1\u5B9A\u8868\u5355",hc="\u8BF7\u7ED1\u5B9A\u5217\u8868",yc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",mc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",vc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",gc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",bc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ec="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Cc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",_c="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ic="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",wc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ac="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Sc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Rc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Tc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Bc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Pc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Dc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",xc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Fc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Oc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",kc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Nc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Mc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Lc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$c="\u8BF7\u9009\u62E9\u7701",Vc="\u8BF7\u9009\u62E9\u5E02",Hc="\u8BF7\u9009\u62E9\u533A",jc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",qc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Uc="\u8BF7\u8F93\u5165\u5217\u5BBD",Wc="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Kc="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",zc="\u8BF7\u9009\u62E9\u63A7\u4EF6",Gc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Xc="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Qc="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Jc="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Zc="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Yc="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",pc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",es="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ts="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ns="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",is="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",us="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",as="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ls="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",os="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",cs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ss="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ds="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",fs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",hs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ys={isNotNumber:F,isNotString:L,isNotObject:wi,isNotArray:en,isNotBoolean:Ai,runtimeRequired:Si,pleaseEnterCaption:ut,pleaseEnterCaptionTip:ce,pleaseEnterPlaceholder:rt,pleaseEnterFieldCode:dc,pleaseEnterForm:fc,pleaseEnterList:hc,pleaseEnterProcess:yc,pleaseEnterLabel:mc,pleaseEnterValue:vc,bizKeyNotBindFiled:gc,pleaseEnterNumberRange:bc,pleaseEnterAValueGreaterThanMin:Ec,pleaseEnterAValueLessThanMax:Cc,numberRangeSetError:_c,stringRangeError:Ic,attachmentMaxSize:wc,pleaseEnterTotalScoreSetting:Ac,theTotalScoreMustNotBeLessThan1:Sc,scoreDefaultValueRange:Rc,attachmentLimitError:Tc,PleaseReselectTheOptionalQuantity:Bc,TheMaximumLengthIsGreaterThanTheMinimumLength:Pc,TheMinimumLengthIsGreaterThanTheMaximumLength:Dc,PleaseSelectTheCorrectOptionSettings:xc,optionIdIsRepeat:Fc,optionIsRequired:Oc,pleaseEnterDataCode:kc,pleaseEnterValueFieldCode:Nc,pleaseEnterSvcCode:Mc,pleaseBindAtLeastOneDisplayValue:Lc,pleaseSelectProvince:$c,pleaseSelectCity:Vc,pleaseSelectDistrict:Hc,limitRowsCannotBeLessThan0:jc,TheNumberOfRowsCannotBeLessThanMinRows:qc,pleaseEnterColumnWidth:Uc,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Wc,pleaseCompleteAllRulesAndConditions:Kc,pleaseSelectControl:zc,pleaseSelectAtLeastOneColumn:Gc,pleaseSelectFillBackMode:Xc,pleaseSelectDashboard:Qc,rootNodeIsRequired:Jc,theViewNameCannotBeEmpty:Zc,pleaseSelectOcrType:Yc,pleaseSelectAtLeastOneFieldToFillIn:pc,pleaseChooseAtLeastOne:es,pleaseEnterButtonContent:ts,pleaseEnterDataCodeInDataSetting:ns,pleaseEnterValueFieldCodeInDataSetting:is,pleaseEnterSvcCodeInDataSetting:us,pleaseBindAtLeastOneDisplayValueInDataSetting:rs,rootNodeIsRequiredInDataSetting:as,pleaseEnterMaxHeight:ls,pleaseEnter:os,pleaseEnterWatermark:cs,pleaseEnterFileName:ss,pleaseUploadAtLeastOnePrintTemplate:ds,pleaseAssignBusiness:fs,pleaseAssignExternal:hs},ms="Please enter a number",vs="Please enter a string",gs="Please enter an object",bs="Please enter an array",Es="Please enter a boolean",Cs="{caption} Required",_s="Please enter the title",Is="Please enter the bubble prompt",ws="Please enter the prompt text",As="Please bind data items",Ss="Please bind the form",Rs="Please bind the list",Ts="Please bind the process",Bs="Please enter the displayed value",Ps="Please enter the stored value",Ds="The document number is not bound to the data item",xs="Please enter a value greater than or equal to {min} and less than or equal to {max}",Fs="Please enter a value greater than or equal to {min}",Os="Please enter a value less than or equal to {max}",ks="The value range is set incorrectly",Ns="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Ms="The attachment size must be between 0MB and 1000MB",Ls="Please fill in the total score setting",$s="The total score cannot be less than 1",Vs="The default value must be between {min} and {max}",Hs="The number of attachments uploaded must be between {min} and {max}",js="Please re-select the optional quantity",qs="The maximum length of the control must be greater than the minimum length",Us="The minimum length of the control must be less than the maximum length",Ws="Please select the correct option setting",Ks="Option ID cannot be repeated",zs="Please enter at least one option",Gs="Please bind the data source",Xs="Please bind the stored value",Qs="Please bind the service",Js="At least one display value must be bound",Zs="Please select a province",Ys="Please select a city",ps="Please select a district",ed="The minimum number of lines to fill in cannot be less than 0",td="The number of rows cannot be less than {min} rows",nd="Please enter the column width",id="Please set the logical relationship of all rule conditions",ud="Please complete all rules and conditions",rd="please select control",ad="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ld="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",od="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",cd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",sd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",dd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",hd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",yd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",gd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",bd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ed="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Cd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_d="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Id="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",wd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ad={isNotNumber:ms,isNotString:vs,isNotObject:gs,isNotArray:bs,isNotBoolean:Es,runtimeRequired:Cs,pleaseEnterCaption:_s,pleaseEnterCaptionTip:Is,pleaseEnterPlaceholder:ws,pleaseEnterFieldCode:As,pleaseEnterForm:Ss,pleaseEnterList:Rs,pleaseEnterProcess:Ts,pleaseEnterLabel:Bs,pleaseEnterValue:Ps,bizKeyNotBindFiled:Ds,pleaseEnterNumberRange:xs,pleaseEnterAValueGreaterThanMin:Fs,pleaseEnterAValueLessThanMax:Os,numberRangeSetError:ks,stringRangeError:Ns,attachmentMaxSize:Ms,pleaseEnterTotalScoreSetting:Ls,theTotalScoreMustNotBeLessThan1:$s,scoreDefaultValueRange:Vs,attachmentLimitError:Hs,PleaseReselectTheOptionalQuantity:js,TheMaximumLengthIsGreaterThanTheMinimumLength:qs,TheMinimumLengthIsGreaterThanTheMaximumLength:Us,PleaseSelectTheCorrectOptionSettings:Ws,optionIdIsRepeat:Ks,optionIsRequired:zs,pleaseEnterDataCode:Gs,pleaseEnterValueFieldCode:Xs,pleaseEnterSvcCode:Qs,pleaseBindAtLeastOneDisplayValue:Js,pleaseSelectProvince:Zs,pleaseSelectCity:Ys,pleaseSelectDistrict:ps,limitRowsCannotBeLessThan0:ed,TheNumberOfRowsCannotBeLessThanMinRows:td,pleaseEnterColumnWidth:nd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:id,pleaseCompleteAllRulesAndConditions:ud,pleaseSelectControl:rd,pleaseSelectDashboard:ad,theViewNameCannotBeEmpty:ld,pleaseSelectOcrType:od,pleaseSelectAtLeastOneFieldToFillIn:cd,pleaseChooseAtLeastOne:sd,pleaseEnterButtonContent:dd,pleaseEnterDataCodeInDataSetting:fd,pleaseEnterValueFieldCodeInDataSetting:hd,pleaseEnterSvcCodeInDataSetting:yd,pleaseBindAtLeastOneDisplayValueInDataSetting:md,rootNodeIsRequiredInDataSetting:vd,pleaseEnterMaxHeight:gd,pleaseEnter:bd,pleaseEnterWatermark:Ed,pleaseEnterFileName:Cd,pleaseUploadAtLeastOnePrintTemplate:_d,pleaseAssignBusiness:Id,pleaseAssignExternal:wd},Sd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Td="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dd="{caption}\u5FC5\u9808",xd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Od="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Md="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ld="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$d="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hd="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",jd="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qd="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ud="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wd="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Kd="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zd="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Xd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qd="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Jd="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Zd="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yd="\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",pd="\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",tf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",nf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",af="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",of="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",df="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ff="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",mf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",vf="please select control",gf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",bf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ef="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Cf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_f="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",If="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Bf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Pf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Df="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ff="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Of="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",kf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Nf={isNotNumber:Sd,isNotString:Rd,isNotObject:Td,isNotArray:Bd,isNotBoolean:Pd,runtimeRequired:Dd,pleaseEnterCaption:xd,pleaseEnterCaptionTip:Fd,pleaseEnterPlaceholder:Od,pleaseEnterFieldCode:kd,pleaseEnterForm:Nd,pleaseEnterList:Md,pleaseEnterProcess:Ld,pleaseEnterLabel:$d,pleaseEnterValue:Vd,bizKeyNotBindFiled:Hd,pleaseEnterNumberRange:jd,pleaseEnterAValueGreaterThanMin:qd,pleaseEnterAValueLessThanMax:Ud,numberRangeSetError:Wd,stringRangeError:Kd,attachmentMaxSize:zd,pleaseEnterTotalScoreSetting:Gd,theTotalScoreMustNotBeLessThan1:Xd,scoreDefaultValueRange:Qd,attachmentLimitError:Jd,PleaseReselectTheOptionalQuantity:Zd,TheMaximumLengthIsGreaterThanTheMinimumLength:Yd,TheMinimumLengthIsGreaterThanTheMaximumLength:pd,PleaseSelectTheCorrectOptionSettings:ef,optionIdIsRepeat:tf,optionIsRequired:nf,pleaseEnterDataCode:uf,pleaseEnterValueFieldCode:rf,pleaseEnterSvcCode:af,pleaseBindAtLeastOneDisplayValue:lf,pleaseSelectProvince:of,pleaseSelectCity:cf,pleaseSelectDistrict:sf,limitRowsCannotBeLessThan0:df,TheNumberOfRowsCannotBeLessThanMinRows:ff,pleaseEnterColumnWidth:hf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:yf,pleaseCompleteAllRulesAndConditions:mf,pleaseSelectControl:vf,pleaseSelectDashboard:gf,theViewNameCannotBeEmpty:bf,pleaseSelectOcrType:Ef,pleaseSelectAtLeastOneFieldToFillIn:Cf,pleaseChooseAtLeastOne:_f,pleaseEnterButtonContent:If,pleaseEnterDataCodeInDataSetting:wf,pleaseEnterValueFieldCodeInDataSetting:Af,pleaseEnterSvcCodeInDataSetting:Sf,pleaseBindAtLeastOneDisplayValueInDataSetting:Rf,rootNodeIsRequiredInDataSetting:Tf,pleaseEnterMaxHeight:Bf,pleaseEnter:Pf,pleaseEnterWatermark:Df,pleaseEnterFileName:xf,pleaseUploadAtLeastOnePrintTemplate:Ff,pleaseAssignBusiness:Of,pleaseAssignExternal:kf},Mf={zhCN:ys,enUS:Ad,jaJP:Nf},Rr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Rr||(Rr={}));var Tr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Tr||(Tr={}));var Lf="zh-CN";function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Br;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Br||(Br={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.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"})(C||(C={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(v||(v={}));var z;z={},Y(z,v.ARRAY,C.ARRAY_COLUMN),Y(z,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),Y(z,v.DECIMAL,C.DECIMAL_COLUMN),Y(z,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),Y(z,v.FILE,C.FILE_COLUMN),Y(z,v.IMAGE,C.IMAGE_COLUMN),Y(z,v.ADDRESS,C.LOCATION_COLUMN),Y(z,v.EMPLOYEES,C.EMPLOYEE_COLUMN),Y(z,v.TEXT,C.TEXT_COLUMN),Y(z,v.TIMESCOPE,C.TIMESCOPE_COLUMN),Y(z,v.TIMESTAMP,C.TIMESTAMP_COLUMN),Y(z,v.VARCHAR,C.VARCHAR_COLUMN),Y(z,v.RELATION,C.VARCHAR_COLUMN);var he;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(he||(he={}));var Pr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",$f=Pr+"0123456789";function ae(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Pr:$f,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Ri(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Vf(t){if(Array.isArray(t))return Ri(t)}function Hf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jf(){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 tn(t,e,n){return jf()?tn=Reflect.construct:tn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&lt(o,a.prototype),o},tn.apply(null,arguments)}function at(t){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},at(t)}function xr(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&&lt(t,e)}function qf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uf(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wf(){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 Kf(t,e){return e&&(zf(e)==="object"||typeof e=="function")?e:Hf(t)}function lt(t,e){return lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lt(t,e)}function Fr(t){return Vf(t)||Uf(t)||Gf(t)||Wf()}var zf=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gf(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 Ti(t){var e=typeof Map=="function"?new Map:void 0;return Ti=function(i){if(i===null||!qf(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return tn(i,arguments,at(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),lt(u,i)},Ti(t)}function Xf(){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 Or(t){var e=Xf();return function(){var i=at(t),u;if(e){var r=at(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Kf(this,u)}}var Bi=console;function Qf(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Bi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Fr(u)))}function kr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Bi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Fr(u)))}function Jf(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Pi=function(t){xr(n,t);var e=Or(n);function n(i){Dr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Jf(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ti(Error)),Zf=function(t){xr(n,t);var e=Or(n);function n(i){Dr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Pi);function Nr(t){throw new Pi(t)}function Mr(t){throw new Zf(t)}function Yf(t){Bi.error(new Pi(t))}var pf=Object.prototype.toString;function Lr(t,e){return pf.call(t)==="[object "+e+"]"}function eh(t){return Lr(t,"String")}function th(t){return Lr(t,"Promise")}var nh=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();th(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,r,a,l){if(u!==void 0){var s=u[r];if(!(a===l.length-1&&!eh(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var r=n[u];return r!==void 0?String(r):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function ih(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){ih(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Lf;return new nh({locale:n,messages:Mf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function uh(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,a){return"."+a}).split("."),u=!1;return i.reduce(function(r,a,l,s){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,a)){Qf("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),r,r);return}return l===s.length-1&&!Object.is(o[a],n)&&(o[a]=n,u=!0),o[a]}},t),u}var rh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ah={exports:{}};(function(t){(function(e){var n=function(y,E,N){if(!o(E)||m(E)||g(E)||_(E)||s(E))return E;var R,x=0,ne=0;if(h(E))for(R=[],ne=E.length;x<ne;x++)R.push(n(y,E[x],N));else{R={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&(R[y(D,N)]=n(y,E[D],N))}return R},i=function(y,E){E=E||{};var N=E.separator||"_",R=E.split||/(?=[A-Z])/;return y.split(R).join(N)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,N){return N?N.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},a=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,s=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},h=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},g=function(y){return l.call(y)=="[object RegExp]"},_=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},b=function(y,E){var N=E&&"process"in E?E.process:E;return typeof N!="function"?y:function(R,x){return N(R,y,x)}},w={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(a,E),y,E)},pascalizeKeys:function(y,E){return n(b(r,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(rh)})(ah);function ye(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function lh(t){return Object.prototype.toString.call(t)==="[object Object]"}function Di(t){return Array.isArray(t)}function oh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function xi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ch(t){if(Array.isArray(t))return xi(t)}function $r(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function sh(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){$r(r,i,u,a,l,"next",s)}function l(s){$r(r,i,u,a,l,"throw",s)}a(void 0)})}}function dh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hh(){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 Fi(t){return ch(t)||fh(t)||yh(t)||hh()}function yh(t,e){if(!!t){if(typeof t=="string")return xi(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 xi(t,e)}}var mh=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},vh=function(){function t(){dh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,r=new Array(u>1?u-1:0),a=1;a<u;a++)r[a-1]=arguments[a];var l=this;return sh(function(){var s,o,h,m,g,_,I,b,w,y,E,N;return mh(this,function(R){switch(R.label){case 0:if(s=l._events.get(i),o=[],!s)return[3,10];h=s.slice(),m=!0,g=!1,_=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),I=h[Symbol.iterator](),R.label=2;case 2:if(m=(b=I.next()).done)return[3,7];if(w=b.value,!s.includes(w))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),l.debug&&kr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Fi(r))),[4,w.apply(null,Fi(r))];case 4:return y=R.sent(),l.debug&&kr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Fi(r),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=R.sent(),Yf(String(E)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return N=R.sent(),g=!0,_=N,[3,10];case 9:try{!m&&I.return!=null&&I.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var r;(r=this._events.get(i))===null||r===void 0||r.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var r=this._events.get(i),a=r==null?void 0:r.indexOf(u);r==null||r.splice(a,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),gh=[];new Set(gh.map(function(t){return t.Designer.controlType}));function Vr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function se(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&&Oi(t,e)}function Hr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function bh(t,e){return e&&(Eh(e)==="object"||typeof e=="function")?e:Vr(t)}function Oi(t,e){return Oi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Oi(t,e)}var Eh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ch(){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 de(t){var e=Ch();return function(){var i=nn(t),u;if(e){var r=nn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return bh(this,u)}}var ue=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:""},ki=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},_h=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;return u.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",u}return n}(ki),jr=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},qr=function t(e){S(this,t);var n,i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new jr(a)}))!==null&&r!==void 0?r:[]},Ih=function t(e){S(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:v.VARCHAR},wh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;u.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var a;u.svcCode=(a=i==null?void 0:i.svcCode)!==null&&a!==void 0?a:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(ki),Ah=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new ki(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(a){return new Ih(a)}))!==null&&u!==void 0?u:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(a){return new wh(a)}))!==null&&r!==void 0?r:[]},Sh=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ot=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Rh=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ae();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var h,m=new Ur(l);(h=n.children)===null||h===void 0||h.push(m)}}))},Ur=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var a;this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Sh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ot(e==null?void 0:e.rightVariableBo)},p=function t(e){S(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Ni=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Th=function t(e){S(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Mi(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Rh(r):new Ur(r)}))!==null&&n!==void 0?n:[],Hr(this,G)||Hr(this,Li)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Th(r)}))!==null&&u!==void 0?u:[]}}var G=function t(e){var n=this;S(this,t);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var o;(o=n.displayBoList)===null||o===void 0||o.push(new Ni(s))}));var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",Mi.call(this,e)},Bh=function t(e){S(this,t);var n,i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(a){return new Ni(a)}))!==null&&r!==void 0?r:[]},un=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u,r;u=e.call(this,i);var a;return u.attributes=(a=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new Bh(l)}))!==null&&a!==void 0?a:[],u}return n}(G),Ph=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this,i),u.rootNode=new ot(i==null?void 0:i.rootNode),u}return n}(un),Wr=function t(e){S(this,t);var n,i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(a){return new p(a)}))!==null&&r!==void 0?r:[]},Li=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this,i),Mi.call(Vr(u),i),u}return n}(Wr),Kr=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;u.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var a;return u.multiple=(a=i==null?void 0:i.multiple)!==null&&a!==void 0?a:!1,u}return n}(Wr),zr=function t(e){S(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Dh=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function fe(t){var e;return(e=t==null?void 0:t.map(function(n){return new Dh(n)}))!==null&&e!==void 0?e:[]}var $i=function t(){S(this,t)},xh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new ue(i==null?void 0:i.amount),u.currency=new ue(i==null?void 0:i.currency),u}return n}($i),Fh=function t(e){S(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:rn.CNY},Oh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new ue(i==null?void 0:i.min),u.max=new ue(i==null?void 0:i.max),u}return n}($i),kh=function t(e){S(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Nh=function t(e){S(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var a;this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Mh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new ue(i==null?void 0:i.result),u.unit=new ue(i==null?void 0:i.unit),u}return n}($i),Lh=function t(e){S(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},rn;(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"})(rn||(rn={}));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 Vi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vi||(Vi={}));var ie=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae(8);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"";var u;this.isShow=(u=e==null?void 0:e.isShow)!==null&&u!==void 0?u:!0,this.invalidType=e==null?void 0:e.invalidType,this.condition=e==null?void 0:e.condition;var r;this.content=(r=e==null?void 0:e.content)!==null&&r!==void 0?r:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"",this.icon=e==null?void 0:e.icon,this.showType=e==null?void 0:e.showType;var l;this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal";var s;this.priorityProcess=(s=e==null?void 0:e.priorityProcess)!==null&&s!==void 0?s:!1,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage},$h=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ae(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new jr(a)}))!==null&&r!==void 0?r:[],Mi.call(this,e)},Vh=function t(e){S(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function Hh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(){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 an(t,e,n){return jh()?an=Reflect.construct:an=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&st(o,a.prototype),o},an.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function qh(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&&st(t,e)}function Uh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wh(t,e){return e&&(Kh(e)==="object"||typeof e=="function")?e:Hh(t)}function st(t,e){return st=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},st(t,e)}var Kh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ji(t){var e=typeof Map=="function"?new Map:void 0;return ji=function(i){if(i===null||!Uh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return an(i,arguments,ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),st(u,i)},ji(t)}function zh(){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 Gh(t){var e=zh();return function(){var i=ct(t),u;if(e){var r=ct(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Wh(this,u)}}var j=function t(e){Hi(this,t),this.isHide={type:"boolean"}},_e=function(t){qh(n,t);var e=Gh(n);function n(i){return Hi(this,n),e.call(this)}return n}(ji(Array)),U=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hi(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Vh(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};U.Rules=j,U.RuntimeRules=_e;function le(){return le=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},le.apply(this,arguments)}function Xh(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function qi(t){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(t)}function ln(t,e){return ln=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ln(t,e)}function Qh(){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 on(t,e,n){return Qh()?on=Reflect.construct:on=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&ln(o,a.prototype),o},on.apply(null,arguments)}function Jh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ui(t){var e=typeof Map=="function"?new Map:void 0;return Ui=function(i){if(i===null||!Jh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return on(i,arguments,qi(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ln(u,i)},Ui(t)}var Zh=/%[sdj%]/g,Gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Gr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Wi(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],r=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(Zh,function(l){if(l==="%%")return"%";if(i>=r)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return a}return u}function Yh(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function $(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Yh(e)&&typeof t=="string"&&!t)}function ph(t,e,n){var i=[],u=0,r=t.length;function a(l){i.push.apply(i,l),u++,u===r&&n(i)}t.forEach(function(l){e(l,a)})}function Xr(t,e,n){var i=0,u=t.length;function r(a){if(a&&a.length){n(a);return}var l=i;i=i+1,l<u?e(t[l],r):n([])}r([])}function ey(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Qr=function(t){Xh(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Ui(Error));function ty(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(w){return i(w),w.length?g(new Qr(w,Wi(w))):m()},I=ey(t);Xr(I,n,_)});return u.catch(function(m){return m}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,s=0,o=[],h=new Promise(function(m,g){var _=function(b){if(o.push.apply(o,b),s++,s===l)return i(o),o.length?g(new Qr(o,Wi(o))):m()};a.length||(i(o),m()),a.forEach(function(I){var b=t[I];r.indexOf(I)!==-1?Xr(b,n,_):ph(b,n,_)})});return h.catch(function(m){return m}),h}function Jr(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 Zr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=le(le({},t[n]),i):t[n]=i}}return t}function Yr(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||$(e,r||t.type))&&i.push(ee(u.messages.required,t.fullField))}function ny(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var Ki={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},dt={integer:function(e){return dt.number(e)&&parseInt(e,10)===e},float:function(e){return dt.number(e)&&!dt.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"&&!dt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ki.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ki.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ki.hex)}};function iy(t,e,n,i,u){if(t.required&&e===void 0){Yr(t,e,n,i,u);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;r.indexOf(a)>-1?dt[a](e)||i.push(ee(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ee(u.messages.types[a],t.fullField,t.type))}function uy(t,e,n,i,u){var r=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,h=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?h="number":g?h="string":_&&(h="array"),!h)return!1;_&&(o=e.length),g&&(o=e.replace(s,"_").length),r?o!==t.len&&i.push(ee(u.messages[h].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(ee(u.messages[h].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(ee(u.messages[h].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[h].range,t.fullField,t.min,t.max))}var qe="enum";function ry(t,e,n,i,u){t[qe]=Array.isArray(t[qe])?t[qe]:[],t[qe].indexOf(e)===-1&&i.push(ee(u.messages[qe],t.fullField,t[qe].join(", ")))}function ay(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:Yr,whitespace:ny,type:iy,range:uy,enum:ry,pattern:ay};function ly(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e,"string")&&!t.required)return n();A.required(t,e,i,r,u,"string"),$(e,"string")||(A.type(t,e,i,r,u),A.range(t,e,i,r,u),A.pattern(t,e,i,r,u),t.whitespace===!0&&A.whitespace(t,e,i,r,u))}n(r)}function oy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A.type(t,e,i,r,u)}n(r)}function cy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),$(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function sy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A.type(t,e,i,r,u)}n(r)}function dy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),$(e)||A.type(t,e,i,r,u)}n(r)}function fy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function hy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function yy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();A.required(t,e,i,r,u,"array"),e!=null&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function my(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A.type(t,e,i,r,u)}n(r)}var vy="enum";function gy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A[vy](t,e,i,r,u)}n(r)}function by(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e,"string")&&!t.required)return n();A.required(t,e,i,r,u),$(e,"string")||A.pattern(t,e,i,r,u)}n(r)}function Ey(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e,"date")&&!t.required)return n();if(A.required(t,e,i,r,u),!$(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),A.type(t,l,i,r,u),l&&A.range(t,l.getTime(),i,r,u)}}n(r)}function Cy(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;A.required(t,e,i,r,u,a),n(r)}function zi(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if($(e,r)&&!t.required)return n();A.required(t,e,i,a,u,r),$(e,r)||A.type(t,e,i,a,u)}n(a)}function _y(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u)}n(r)}var ft={string:ly,method:oy,number:cy,boolean:sy,regexp:dy,integer:fy,float:hy,array:yy,object:my,enum:gy,pattern:by,date:Ey,url:zi,hex:zi,email:zi,required:Cy,any:_y};function Gi(){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 Xi=Gi();function me(t){this.rules=null,this._messages=Xi,this.define(t)}me.prototype={messages:function(e){return e&&(this._messages=Zr(Gi(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,a=n,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(b){var w,y=[],E={};function N(R){if(Array.isArray(R)){var x;y=(x=y).concat.apply(x,R)}else y.push(R)}for(w=0;w<b.length;w++)N(b[w]);y.length?E=Wi(y):(y=null,E=null),l(y,E)}if(a.messages){var o=this.messages();o===Xi&&(o=Gi()),Zr(o,a.messages),a.messages=o}else a.messages=this.messages();var h,m,g={},_=a.keys||Object.keys(this.rules);_.forEach(function(b){h=u.rules[b],m=r[b],h.forEach(function(w){var y=w;typeof y.transform=="function"&&(r===e&&(r=le({},r)),m=r[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=le({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(g[b]=g[b]||[],g[b].push({rule:y,value:m,source:r,field:b}))})});var I={};return ty(g,a,function(b,w){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function N(ne,D){return le(le({},D),{},{fullField:y.fullField+"."+ne})}function R(ne){ne===void 0&&(ne=[]);var D=ne;if(Array.isArray(D)||(D=[D]),!a.suppressWarning&&D.length&&me.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map(Jr(y)),a.first&&D.length)return I[y.field]=1,w(D);if(!E)w(D);else{if(y.required&&!b.value)return y.message!==void 0?D=[].concat(y.message).map(Jr(y)):a.error&&(D=[a.error(y,ee(a.messages.required,y.field))]),w(D);var oe={};if(y.defaultField)for(var rc in b.value)b.value.hasOwnProperty(rc)&&(oe[rc]=y.defaultField);oe=le(le({},oe),b.rule.fields);for(var nt in oe)if(oe.hasOwnProperty(nt)){var hb=Array.isArray(oe[nt])?oe[nt]:[oe[nt]];oe[nt]=hb.map(N.bind(null,nt))}var ac=new me(oe);ac.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),ac.validate(b.value,b.rule.options||a,function(Sr){var it=[];D&&D.length&&it.push.apply(it,D),Sr&&Sr.length&&it.push.apply(it,Sr),w(it.length?it:null)})}}var x;y.asyncValidator?x=y.asyncValidator(y,b.value,R,b.source,a):y.validator&&(x=y.validator(y,b.value,R,b.source,a),x===!0?R():x===!1?R(y.message||y.field+" fails"):x instanceof Array?R(x):x instanceof Error&&R(x.message)),x&&x.then&&x.then(function(){return R()},function(ne){return R(ne)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ft.hasOwnProperty(e.type))throw new Error(ee("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?ft.required:ft[this.getType(e)]||!1}},me.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ft[e]=n},me.warning=Gr,me.messages=Xi,me.validators=ft;var Iy={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 wy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new me(t);return n.messages(Object.assign(Iy,e)),n}var Ay=new vh;function Qi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Sy(t){if(Array.isArray(t))return t}function Ry(t){if(Array.isArray(t))return Qi(t)}function pr(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ea(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){pr(r,i,u,a,l,"next",s)}function l(s){pr(r,i,u,a,l,"throw",s)}a(void 0)})}}function Ty(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function By(t,e,n){return e&&ta(t.prototype,e),n&&ta(t,n),t}function Py(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function na(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ia(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dy(){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 xy(){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 ua(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Py(t,u,n[u])})}return t}function Fy(t){return Sy(t)||ia(t)||ra(t)||Dy()}function Ji(t){return Ry(t)||ia(t)||ra(t)||xy()}function ra(t,e){if(!!t){if(typeof t=="string")return Qi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qi(t,e)}}var aa=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},k=function(){function e(i){var u=this;Ty(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=oa,this.removeSetting=la,this._callControlHooks("preInstance",i);var r=na(this,e)?this.constructor:void 0,a=r.controlName,l=r.controlIcon,s=r.controlType,o=r.controlFieldType,h=r.controlEventKeys,m=r.controlCustomEvents,g=r.name,_=r.setting;a&&l&&s||Mr("The ".concat(g," controlName,controlIcon,controlType is not define"));var I;this.id=(I=i==null?void 0:i.id)!==null&&I!==void 0?I:ae(10),this.name=a,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:s,this.props=new U(i==null?void 0:i.props,(na(this,e)?this.constructor:void 0).controlName);var w;this.controlType=(w=i==null?void 0:i.controlType)!==null&&w!==void 0?w:"base",this.setting=ye(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=ye(h),this.customEvents=ye(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,r=new Array(u),a=0;a<u;a++)r[a]=arguments[a];var l,s=Fy(r),o=s[0],h=s.slice(1);return(l=Ay).emit.apply(l,[o,this].concat(Ji(h)))},n.preUpdate=function(u,r){this._callControlHooks("preUpdateProps",u,r)},n.postUpdate=function(u,r){this._callControlHooks("postUpdateProps",u,r)},n.updateProps=function(u,r){this.preUpdate(u,r),uh(this.props,u,r),this.postUpdate(u,r)},n.preValidate=function(){var u=this;return ea(function(){var r,a,l;return aa(this,function(s){switch(s.label){case 0:return r=ua({},u.rules),[4,u._callControlHooks("preValidate",r)];case 1:return a=s.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,r){var a=this;return ea(function(){var l,s,o,h;return aa(this,function(m){switch(m.label){case 0:return[4,a.preValidate()];case 1:l=m.sent(),s=l!==void 0?l:ua({},a.rules),Array.isArray(r)&&r.forEach(function(g){s.hasOwnProperty(g)&&delete s[g]}),o=wy(s,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(a.props)];case 3:return m.sent(),[2,!0];case 4:throw h=m.sent(),h.control||(h.control=a),h;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,a=this.id,l=this.type,s=this.props,o=s.dataBind,h=s.datasourceBind,m=s.optionConfig,g=s.caption,_=s.required,I=s.maxLength,b=s.options,w=s.encrypted,y=s.encryptedMode;if(!(!r&&!o&&!h)){var E={parentId:u,fieldType:r,controlId:a,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:h&&(E.datasourceBind=h);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),I!==void 0&&(E.maxLength=I),w!==void 0&&(E.encrypted=w),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ye(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,r){if(u==="setting"){if(r.add){var a;(a=this.setting).push.apply(a,Ji(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}},By(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();k.controlName="\u63A7\u4EF6",k.controlIcon="icon",k.controlType="control",k.controlEventKeys=[],k.controlCustomEvents=[],k.setting=[],k.__is_control__=!0,k.removeSettingItem=la,k.updateSettingItem=oa;function la(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",r=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(r!==-1){var a,l;u?e.setting[r].showItems=(a=e.setting[r].showItems)===null||a===void 0?void 0:a.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(r,1),u&&!(!((l=e.setting[r].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(r,1)}})}function oa(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var r=n.setting.find(function(o){return o.key===u});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var a,l=(a=e.type)!==null&&a!==void 0?a:"replace";if(l==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Ji(e.showItems))}}}})}function Oy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ca(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ky(t,e,n){return e&&ca(t.prototype,e),n&&ca(t,n),t}function Ny(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Oy(this,e),this.customEvents=[],this.parent=null;var i=Ny(this,e)?this.constructor:void 0,u=i.controlType,r=i.controlFieldType,a=i.name,l=i.controlCustomEvents;u||Mr("The ".concat(a," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:ae(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new U(n==null?void 0:n.props),this.customEvents=l;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:r;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vi.UNKNOWN}return ky(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();X.controlType="control",X.__is_control__=!0,X.controlCustomEvents=[];function Zi(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var r=i.map(function(l){return l.value}),a=oh(r);r.length!==a.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Yi(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,r,a){r.length===0&&a(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cn(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 dn(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&&pi(t,e)}function My(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ly(t,e){return e&&($y(e)==="object"||typeof e=="function")?e:sa(t)}function pi(t,e){return pi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pi(t,e)}var $y=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vy(){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 fn(t){var e=Vy();return function(){var i=sn(t),u;if(e){var r=sn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ly(this,u)}}var Q=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(My(i.dataBind,ue))u.dataBind={type:"object",required:!0,fields:ye(r),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:ye(r),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(j),O=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(_e),T=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;u=e.call(this,i);var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var a;u.isHideCaption=(a=i==null?void 0:i.isHideCaption)!==null&&a!==void 0?a:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var h;u.labelPosition=(h=i==null?void 0:i.labelPosition)!==null&&h!==void 0?h:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new ue(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(U);T.Rules=Q,T.RuntimeRules=O;var Ue=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Zi.call(sa(u),i),u}return n}(Q);function Hy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(t)}function qy(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 Uy(t,e){return e&&(Wy(e)==="object"||typeof e=="function")?e:Hy(t)}function eu(t,e){return eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},eu(t,e)}var Wy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ky(){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 zy(t){var e=Ky();return function(){var i=hn(t),u;if(e){var r=hn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Uy(this,u)}}var B=function(t){qy(n,t);var e=zy(n);function n(i){jy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(k);B.controlEventKeys=["on_change","on_focus","on_blur"];function Gy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yn(t)}function Qy(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 Jy(t,e){return e&&(Zy(e)==="object"||typeof e=="function")?e:Gy(t)}function tu(t,e){return tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tu(t,e)}var Zy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function py(t){var e=Yy();return function(){var i=yn(t),u;if(e){var r=yn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Jy(this,u)}}var P=function(t){Qy(n,t);var e=py(n);function n(i){Xy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(X);function em(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(t)}function nm(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&&nu(t,e)}function im(t,e){return e&&(um(e)==="object"||typeof e=="function")?e:em(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nu(t,e)}var um=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rm(){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 am(t){var e=rm();return function(){var i=mn(t),u;if(e){var r=mn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return im(this,u)}}var M=function(t){nm(n,t);var e=am(n);function n(i){return tm(this,n),e.call(this,i)}return n}(U);function iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function lm(t){if(Array.isArray(t))return iu(t)}function om(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cm(){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 da(t){return lm(t)||om(t)||sm(t)||cm()}function sm(t,e){if(!!t){if(typeof t=="string")return iu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iu(t,e)}}function dm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function fa(t,e){t.parent=e,dm(t,"parent")}function fm(t,e){t.forEach(function(n){fa(n,e)})}var ha=Symbol("targetKey");function ya(t){var e;return(e=t[ha])!==null&&e!==void 0?e:t}function ma(t,e){return fm(t,e),new Proxy(t,{get:function(i,u){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l<r;l++)a[l-2]=arguments[l];var s;return u===ha?i:(s=Reflect).get.apply(s,[i,u].concat(da(a)))},set:function(i,u,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];var o;if(Di(t)&&u==="length"&&r===t.length)return!0;var h=(o=Reflect).set.apply(o,[i,u,r].concat(da(l)));return lh(r)&&fa(r,e),h}})}function Ie(t,e,n,i){var u=i!=null?i:t,r=ma(ya(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=ma(ya(l),u)},enumerable:!0})}function uu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function hm(t){if(Array.isArray(t))return uu(t)}function va(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ga(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ym(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){ga(r,i,u,a,l,"next",s)}function l(s){ga(r,i,u,a,l,"throw",s)}a(void 0)})}}function mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 We(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?We=Reflect.get:We=function(u,r,a){var l=Sm(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},We(t,e,n||t)}function ve(t){return ve=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ve(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&&ru(t,e)}function bm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Em(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Cm(){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 _m(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){vm(t,u,n[u])})}return t}function Im(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function wm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Im(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Am(t,e){return e&&(Rm(e)==="object"||typeof e=="function")?e:va(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ru(t,e)}function Sm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ve(t),t!==null););return t}function ba(t){return hm(t)||Em(t)||Tm(t)||Cm()}var Rm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tm(t,e){if(!!t){if(typeof t=="string")return uu(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 uu(t,e)}}function Bm(){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 Pm(t){var e=Bm();return function(){var i=ve(t),u;if(e){var r=ve(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Am(this,u)}}var Dm=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},xm=1e4,V=function(e){gm(i,e);var n=Pm(i);function i(r){mm(this,i);var a;a=n.call(this,r),a.controlType="layout";var l=bm(this,i)?this.constructor:void 0,s=l.excludes,o=l.childrenMaxLength;return a.props=new M(r==null?void 0:r.props),Ie(va(a),"children",r==null?void 0:r.children),a.excludes=ye(s),a.childrenMaxLength=o,a}var u=i.prototype;return u.judgeExcludesChildren=function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)},u.judgeJoinChildren=function(a){var l=this.judgeExcludesChildren(a);return l&&this.childrenMaxLength>this.children.length},u.validate=function(a,l){var s=this,o=this,h=function(){return We(ve(i.prototype),"validate",s)};return ym(function(){return Dm(this,function(m){switch(m.label){case 0:return[4,h().call(o,a,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(a,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=We(ve(i.prototype),"toDataBindModel",this).call(this),s=l?[l]:[];return this.children.reduce(function(o,h){var m=h.toDataBindModel(a);if(Array.isArray(m)){var g=m.filter(function(_){return!!_});return ba(o).concat(ba(g))}return m&&o.push(m),o},s)},u.toSchema=function(){var a=We(ve(i.prototype),"toSchema",this).call(this),l=this.children.map(function(s){var o=s.toSchema();return o});return wm(_m({},a),{children:l})},i}(k);V.excludes=!1,V.childrenMaxLength=xm;function Ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function Om(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 km(t,e){return e&&(Nm(e)==="object"||typeof e=="function")?e:Ea(t)}function au(t,e){return au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},au(t,e)}var Nm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Lm(t){var e=Mm();return function(){var i=vn(t),u;if(e){var r=vn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return km(this,u)}}var q=function(t){Om(n,t);var e=Lm(n);function n(i){Fm(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new M(i==null?void 0:i.props),Ie(Ea(u),"children",i==null?void 0:i.children),u}return n}(X);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $m(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 Vm(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&&lu(t,e)}function Hm(t,e){return e&&(jm(e)==="object"||typeof e=="function")?e:Ca(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lu(t,e)}var jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Um(t){var e=qm();return function(){var i=gn(t),u;if(e){var r=gn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Hm(this,u)}}var bn=function(t){Vm(n,t);var e=Um(n);function n(i,u){$m(this,n);var r;return r=e.call(this,u),Ie(Ca(r),"headers",u==null?void 0:u.headers,i),r}return n}(U);function ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Wm(t){if(Array.isArray(t))return ou(t)}function _a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ia(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Km(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Ia(r,i,u,a,l,"next",s)}function l(s){Ia(r,i,u,a,l,"throw",s)}a(void 0)})}}function zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ke=Reflect.get:Ke=function(u,r,a){var l=pm(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},Ke(t,e,n||t)}function ge(t){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ge(t)}function Xm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cu(t,e)}function Qm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jm(){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 wa(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Gm(t,u,n[u])})}return t}function Zm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Aa(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Zm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Ym(t,e){return e&&(ev(e)==="object"||typeof e=="function")?e:_a(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cu(t,e)}function pm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ge(t),t!==null););return t}function Sa(t){return Wm(t)||Qm(t)||tv(t)||Jm()}var ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tv(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 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 i=ge(t),u;if(e){var r=ge(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ym(this,u)}}var uv=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},su=function(t){Xm(n,t);var e=iv(n);function n(u){zm(this,n);var r;return r=e.call(this,u),r.controlType="list",r.props=new bn(_a(r),u==null?void 0:u.props),r}var i=n.prototype;return i.validate=function(r,a){var l=this,s=this,o=function(){return Ke(ge(n.prototype),"validate",l)};return Km(function(){return uv(this,function(h){switch(h.label){case 0:return[4,o().call(s,r)];case 1:return h.sent(),[4,Promise.all(s.props.headers.map(function(m){return m.validate(r,a)}))];case 2:return h.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var r=Ke(ge(n.prototype),"toDataBindModel",this).call(this),a=r?[r]:[],l=this.id;return this.props.headers.reduce(function(s,o){var h=o.toDataBindModel(l);if(Array.isArray(h)){var m=h.filter(function(g){return!!g});return Sa(s).concat(Sa(m))}return h&&s.push(h),s},a)},i.toSchema=function(){var r=Ke(ge(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(l){return l.toSchema()});return Aa(wa({},r),{props:Aa(wa({},this.props),{headers:a})})},n}(k);su.controlFieldType=v.LIST;function du(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ra(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function av(t,e,n){return e&&Ra(t.prototype,e),n&&Ra(t,n),t}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function lv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fu(t,e)}function ov(t,e){return e&&(cv(e)==="object"||typeof e=="function")?e:du(t)}function fu(t,e){return fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fu(t,e)}var cv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function dv(t){var e=sv();return function(){var i=En(t),u;if(e){var r=En(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return ov(this,u)}}var Ta=function(t){lv(n,t);var e=dv(n);function n(i){rv(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new bn(du(u),i==null?void 0:i.props),Ie(du(u),"children",i==null?void 0:i.children),u}return av(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function Ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function yu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mu(t,e)}function fv(t,e){return e&&(hv(e)==="object"||typeof e=="function")?e:Ba(t)}function mu(t,e){return mu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},mu(t,e)}var hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vu(t){var e=yv();return function(){var i=Cn(t),u;if(e){var r=Cn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return fv(this,u)}}var _n=function(t){yu(n,t);var e=vu(n);function n(i){hu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}(j),H=function(t){yu(n,t);var e=vu(n);function n(i){hu(this,n);var u;u=e.call(this,i);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.dataBind=new ue(i==null?void 0:i.dataBind);var s;return u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan,u}return n}(U);H.Rules=_n;var Pa=function(t){yu(n,t);var e=vu(n);function n(i){hu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Zi.call(Ba(u),i),u}return n}(_n);function mv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vv(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 gv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gu(t,e)}function bv(t,e){return e&&(Ev(e)==="object"||typeof e=="function")?e:mv(t)}function gu(t,e){return gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gu(t,e)}var Ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cv(){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 _v(t){var e=Cv();return function(){var i=In(t),u;if(e){var r=In(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return bv(this,u)}}var W=function(t){gv(n,t);var e=_v(n);function n(i){vv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new H(i==null?void 0:i.props),u}return n}(k);function Iv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(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&&bu(t,e)}function Sv(t,e){return e&&(Rv(e)==="object"||typeof e=="function")?e:Iv(t)}function bu(t,e){return bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bu(t,e)}var Rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bv(t){var e=Tv();return function(){var i=wn(t),u;if(e){var r=wn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Sv(this,u)}}var K=function(t){Av(n,t);var e=Bv(n);function n(i){wv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new H(i==null?void 0:i.props),u}return n}(X);function Pv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function xv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eu(t,e)}function Fv(t,e){return e&&(Ov(e)==="object"||typeof e=="function")?e:Pv(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Eu(t,e)}var Ov=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 Nv(t){var e=kv();return function(){var i=An(t),u;if(e){var r=An(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Fv(this,u)}}var Cu=function(t){xv(n,t);var e=Nv(n);function n(i){Dv(this,n);var u;return u=e.call(this,i),u.dataBind=new ue(i==null?void 0:i.dataBind),u}return n}(M);function Mv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lv(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 $v(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_u(t,e)}function Vv(t,e){return e&&(Hv(e)==="object"||typeof e=="function")?e:Mv(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var Hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qv(t){var e=jv();return function(){var i=Sn(t),u;if(e){var r=Sn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Vv(this,u)}}var Uv=function(t){$v(n,t);var e=qv(n);function n(i){Lv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Cu(i==null?void 0:i.props),u}return n}(V);function Wv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function zv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iu(t,e)}function Gv(t,e){return e&&(Xv(e)==="object"||typeof e=="function")?e:Wv(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var Xv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qv(){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 Jv(t){var e=Qv();return function(){var i=Rn(t),u;if(e){var r=Rn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Gv(this,u)}}var Zv=function(t){zv(n,t);var e=Jv(n);function n(i){Kv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Cu(i==null?void 0:i.props),u}return n}(q);class wu extends U{constructor(e){var n,i,u,r,a;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(a=e==null?void 0:e.content)!=null?a:"\u8BF4\u660E\u6587\u5B57"}}class Da extends k{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Da.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 Yv extends X{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}static get controlType(){return"text"}}var xa={Designer:Da,Runtime:Yv,Property:wu};class Au extends U{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Su extends k{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Su.controlEventKeys=["on_click"],Su.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 pv extends X{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlType(){return"link"}}var Fa={Designer:Su,Runtime:pv,Property:Au};class J extends U{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class Z extends k{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends X{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var Oa={Designer:Z,Runtime:te,Property:J},we=(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))(we||{}),ka=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ka||{}),Na=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Na||{});class Tn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ae(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ru=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ru||{});class Bn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ae(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Tu=(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))(Tu||{});class Bu{constructor(e){var n,i,u,r,a,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ot((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new ot((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new ot((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Ma{constructor(e){var n,i,u,r,a,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Bu(s)))!=null?u:[new Bu],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Pu{constructor(e){var n,i,u,r,a,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:ae(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Du{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class La{constructor(e){var n,i,u,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Du(e==null?void 0:e.watermark),this.autoRename=new Du(e==null?void 0:e.autoRename)}}const $a=480;function ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Va{constructor(e){var n,i,u,r,a;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(a=e.rules)!=null?a:[]}}class Ha{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var ja=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ja||{}),xu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(xu||{}),Fu=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Fu||{}),ze=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ze||{}),Ou=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ou||{});class ku extends U{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Tu.SOLID}}class qa extends k{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}qa.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class eg extends X{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ua={Designer:qa,Runtime:eg,Property:ku};class tg extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},e.config.includes(we.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")})}}class Pn extends U{constructor(e){var n,i,u,r;super(e),this.dataBind=new ue(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[we.ShowSubmitUser,we.ShowSubmitDept,we.ShowSubmitTime,we.ShowCurrentApprovar],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ge==null?void 0:Ge.controlName)!=null?u:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1}}Pn.Rules=tg;class Ge extends k{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ge.controlFieldType=v.AUTO_NUMBER,Ge.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];class ng extends X{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Wa={Designer:Ge,Runtime:ng,Property:Pn};class ig extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class Dn extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Dn.Rules=ig;class yt extends Z{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.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 ug extends te{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ka={Designer:yt,Runtime:ug,Property:Dn};class rg extends j{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class xn extends J{constructor(e){var n,i,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}xn.Rules=rg;class mt extends Z{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 ag extends te{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var za={Designer:mt,Runtime:ag,Property:xn};class Nu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon}}class vt extends Z{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}vt.controlEventKeys=["on_click"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lg extends te{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Ga={Designer:vt,Runtime:lg,Property:Nu};class Mu extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:gt.controlName,this.templateList=(r=(u=e==null?void 0:e.templateList)==null?void 0:u.map(a=>new Pu(a)))!=null?r:[new Pu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends Z{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.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 og extends te{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Xa={Designer:gt,Runtime:og,Property:Mu};class Lu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon}}class bt extends Z{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}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 cg extends te{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Qa={Designer:bt,Runtime:cg,Property:Lu};class sg{constructor(e){this.dataCode=e.dataCode}}class $u extends J{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new sg(a)))!=null?r:[]}}class Et extends Z{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 te{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ja={Designer:Et,Runtime:dg,Property:$u};function Fn(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class fg extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:Ce({},Fn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ce({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Fn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class On extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.formBind=new _h(e==null?void 0:e.formBind),this.fillBack=new Kr(e==null?void 0:e.fillBack)}}On.Rules=fg;class Ct extends Z{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],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:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class hg extends te{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Za={Designer:Ct,Runtime:hg,Property:On};class yg extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:Ce({},Fn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ce({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Fn())}}}class kn extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon,this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.listPageBind=new qr(e==null?void 0:e.listPageBind),this.fillBack=new Kr(e==null?void 0:e.fillBack)}}kn.Rules=yg;class _t extends Z{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.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 mg extends te{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Ya={Designer:_t,Runtime:mg,Property:kn};class vg extends j{constructor(e){super(e)}}class gg extends _e{constructor(e){super(e)}}class It extends U{constructor(e){super(e)}}It.Rules=vg,It.RuntimeRules=gg;class pa extends k{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}pa.setting=[];class bg extends X{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var el={Designer:pa,Runtime:bg,Property:It};class Eg extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Nn extends U{constructor(e){var n,i,u,r,a,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Nn.Rules=Eg;class tl extends k{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}tl.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 Cg extends X{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var nl={Designer:tl,Runtime:Cg,Property:Nn};class _g extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Mn extends U{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new $h(r)))!=null?u:[]}}Mn.Rules=_g;class il extends k{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}il.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Ig extends X{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ul={Designer:il,Runtime:Ig,Property:Mn};class wg extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ln extends J{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Xe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Xe.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?m:[]}}Ln.Rules=wg;class Xe extends Z{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Xe.controlEventKeys=["on_click","on_click_finish"],Xe.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 Ag extends te{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var rl={Designer:Xe,Runtime:Ag,Property:Ln};class Sg extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class $n extends J{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Qe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Qe.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?m:[]}}$n.Rules=Sg;class Qe extends Z{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Qe.controlEventKeys=["on_click","on_click_finish"],Qe.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 Rg extends te{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var al={Designer:Qe,Runtime:Rg,Property:$n};class Tg extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Vn extends J{constructor(e){var n,i,u,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.printTemplates=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Va(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Vn.Rules=Tg;class wt extends Z{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.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 Bg extends te{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ll={Designer:wt,Runtime:Bg,Property:Vn};class Vu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends Z{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}At.controlEventKeys=["on_click"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Pg extends te{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var ol={Designer:At,Runtime:Pg,Property:Vu},Dg=Object.freeze({__proto__:null,Text:xa,Link:Fa,Button:Oa,Divider:Ua,Title:Wa,CreateFormListButton:Ka,BatchSubmissionListButton:za,SubmissionRecordListButton:Ga,ExportListButton:Xa,ExportRecordListButton:Qa,ImportRecordListButton:Ja,FormSelectButton:Za,ListSelectButton:Ya,Pagination:el,Dashboard:nl,ListViewSelect:ul,TextOcrButton:rl,InvoiceCheckButton:al,BatchPrintListButton:ll,BatchPrintRecordListButton:ol});class xg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Fg extends O{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Je extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new zr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ze.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}Je.Rules=xg,Je.RuntimeRules=Fg;class Ze extends B{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Ze.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ze.controlFieldType=v.VARCHAR,Ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.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 cl extends P{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"input"}}cl.controlFieldType=v.VARCHAR;var sl={Designer:Ze,Runtime:cl,Property:Je};class Og extends Ue{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class kg extends O{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 St extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Rt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var b;(b=this.multistageFilling)==null||b.push(new p(I))}))}}St.Rules=Og,St.RuntimeRules=kg;class Rt extends B{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Rt.controlEventKeys=["on_change","on_click"],Rt.controlFieldType=v.ARRAY,Rt.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 dl extends P{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}dl.controlFieldType=v.ARRAY;var fl={Designer:Rt,Runtime:dl,Property:St};class Ng extends Ue{constructor(e){super(e)}}class Hn extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Tt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new p(g))}))}}Hn.Rules=Ng;class Tt extends B{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Tt.controlEventKeys=["on_change","on_click"],Tt.controlFieldType=v.VARCHAR,Tt.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 hl extends P{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"radio"}}hl.controlFieldType=v.VARCHAR;var yl={Designer:Tt,Runtime:hl,Property:Hn};class Mg extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Lg extends O{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Bt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Pt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new zr(e==null?void 0:e.regularRules)}}Bt.Rules=Mg,Bt.RuntimeRules=Lg;class Pt extends B{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Pt.controlFieldType=v.DECIMAL,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ml extends P{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"number"}}ml.controlFieldType=v.DECIMAL;var vl={Designer:Pt,Runtime:ml,Property:Bt};class Hu extends T{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:jn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Tn(m)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class jn extends B{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}jn.controlFieldType=v.TIMESTAMP,jn.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 gl extends P{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}gl.controlFieldType=v.TIMESTAMP;var bl={Designer:jn,Runtime:gl,Property:Hu};class $g extends O{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 qn extends T{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.dataBind=new Oh(e==null?void 0:e.dataBind),this.defaultValue=new kh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:Un.controlName,this.limitDateList=(h=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Tn(m)))!=null?h:[]}}qn.RuntimeRules=$g;class Un extends B{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Un.controlFieldType=v.TIMESCOPE,Un.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 El extends P{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}El.controlFieldType=v.TIMESCOPE;var Cl={Designer:Un,Runtime:El,Property:qn};class Vg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Hg extends O{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Dt extends T{constructor(e){var n,i,u,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:xt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Dt.Rules=Vg,Dt.RuntimeRules=Hg;class xt extends B{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],xt.controlFieldType=v.TEXT,xt.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 _l extends P{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}_l.controlFieldType=v.TEXT;var Il={Designer:xt,Runtime:_l,Property:Dt};class jg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class qg extends O{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ft extends T{constructor(e){var n,i,u,r,a;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ot.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}Ft.Rules=jg,Ft.RuntimeRules=qg;class Ot extends B{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Ot.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ot.controlFieldType=v.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:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class wl extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}wl.controlFieldType=v.TEXT;var Al={Designer:Ot,Runtime:wl,Property:Ft};class Ug extends Ue{constructor(e){super(e)}}class Wn extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Kn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var h;(h=this.multistageFilling)==null||h.push(new p(o))}))}}Wn.Rules=Ug;class Kn extends B{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Kn.controlFieldType=v.VARCHAR,Kn.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 Sl extends P{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"select"}}Sl.controlFieldType=v.VARCHAR;var Rl={Designer:Kn,Runtime:Sl,Property:Wn};class Wg extends Ue{constructor(e){super(e)}}class Kg extends O{constructor(e){super(e),this[0].type="array"}}class kt extends T{constructor(e){var n,i,u,r,a,l;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:zn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))}))}}kt.Rules=Wg,kt.RuntimeRules=Kg;class zn extends B{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}zn.controlFieldType=v.ARRAY,zn.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 Tl extends P{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Tl.controlFieldType=v.ARRAY;var Bl={Designer:zn,Runtime:Tl,Property:kt};class zg extends O{constructor(e){super(e),this[0].type="array"}}class Gn extends T{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Xn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var m;(m=this.multistageFilling)==null||m.push(new p(h))}))}}Gn.RuntimeRules=zg;class Xn extends B{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Xn.controlFieldType=v.EMPLOYEES,Xn.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 Pl extends P{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlType(){return"employee"}}Pl.controlFieldType=v.EMPLOYEES;var Dl={Designer:Xn,Runtime:Pl,Property:Gn};const Gg=10485760,Xg=104857600,Qg=1048576e3;class Jg extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Qg,message:d.getMessage("attachmentMaxSize")}}}class Zg extends O{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ye extends T{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(a=e==null?void 0:e.minLimit)!=null?a:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:Xg,this.caption=(s=e==null?void 0:e.caption)!=null?s:pe.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Ye.Rules=Jg,Ye.RuntimeRules=Zg;class pe extends B{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}pe.controlEventKeys=["on_change"],pe.controlFieldType=v.FILE,pe.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 ju extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ju.controlFieldType=v.FILE;var xl={Designer:pe,Runtime:ju,Property:Ye};const Fl=class extends pe{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Fl.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let qu=Fl;qu.controlFieldType=v.IMAGE,qu.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 Yg extends ju{static get controlType(){return"image"}constructor(e){var n,i,u,r,a,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(r=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(l=(a=e==null?void 0:e.props)==null?void 0:a.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class pg extends Ye{constructor(e){super(e)}}var Ol={Designer:qu,Runtime:Yg,Property:pg};class e0 extends Ue{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class t0 extends O{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Ii(Ce({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Nt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new xh(e==null?void 0:e.dataBind),this.datasourceBind=new G((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Ni({value:"name"})]}),this.defaultValue=new Fh((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:rn.CNY}),this.options=fe(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Mt.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}Nt.Rules=e0,Nt.RuntimeRules=t0;class Mt extends B{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Mt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Mt.controlFieldType=v.MONEY,Mt.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 kl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"amount"}}kl.controlFieldType=v.MONEY;var Nl={Designer:Mt,Runtime:kl,Property:Nt};class n0 extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class i0 extends O{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Lt extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ru.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(r=e==null?void 0:e.explain)==null?void 0:r.map(o=>new Bn(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Bn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:$t.controlName}}Lt.Rules=n0,Lt.RuntimeRules=i0;class $t extends B{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new Bn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}$t.controlEventKeys=["on_change","on_click"],$t.controlFieldType=v.DECIMAL,$t.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 Ml extends P{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlType(){return"score"}}Ml.controlFieldType=v.DECIMAL;var Ll={Designer:$t,Runtime:Ml,Property:Lt};class u0 extends O{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Qn extends T{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jn.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new Nh((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9\u5730\u5740"}}Qn.RuntimeRules=u0;class Jn extends B{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Jn.controlFieldType=v.ADDRESS,Jn.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 $l extends P{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}$l.controlFieldType=v.ADDRESS;var Vl={Designer:Jn,Runtime:$l,Property:Qn};class r0 extends O{constructor(e){super(e),this[0].type="array"}}class Zn extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Yn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new p(g))}))}}Zn.RuntimeRules=r0;class Yn extends B{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Yn.controlFieldType=v.DEPARTMENTS,Yn.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 Hl extends P{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"department"}}Hl.controlFieldType=v.DEPARTMENTS;var jl={Designer:Yn,Runtime:Hl,Property:Zn};class Uu extends T{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:Vt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Vt extends B{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}Vt.controlEventKeys=["on_change"],Vt.controlFieldType=v.AUTO_NUMBER,Vt.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 ql extends P{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}ql.controlFieldType=v.AUTO_NUMBER;var Ul={Designer:Vt,Runtime:ql,Property:Uu};class a0 extends Q{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 l0 extends O{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class Ht extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Mh(e==null?void 0:e.dataBind),this.defaultValue=new Lh(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:jt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}Ht.Rules=a0,Ht.RuntimeRules=l0;class jt extends B{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}jt.controlEventKeys=["on_change"],jt.controlFieldType=v.CALC,jt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[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 Wl extends P{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlType(){return"calc"}}Wl.controlFieldType=v.CALC;var Kl={Designer:jt,Runtime:Wl,Property:Ht};class o0 extends O{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class pn extends T{constructor(e){var n,i,u,r,a,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:ei.controlName}}pn.RuntimeRules=o0;class ei extends B{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ei.controlFieldType=v.DECIMAL_RANGE,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:"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 zl extends P{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}zl.controlFieldType=v.DECIMAL_RANGE;var Gl={Designer:ei,Runtime:zl,Property:pn};class c0 extends O{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 ti extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:he.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:ni.controlName,this.limitDateList=(m=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(g=>new Tn(g)))!=null?m:[]}}ti.RuntimeRules=c0;class ni extends B{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ni.controlFieldType=v.ARRAY,ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 Xl extends P{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Xl.controlFieldType=v.ARRAY;var Ql={Designer:ni,Runtime:Xl,Property:ti};class s0 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class d0 extends O{constructor(e){super(e),this[0].type="any"}}class qt extends T{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ut.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}qt.Rules=s0,qt.RuntimeRules=d0;class Ut extends B{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Ut.controlFieldType=v.ANY,Ut.controlEventKeys=[],Ut.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 Jl extends P{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Jl.controlFieldType=v.ANY;var Zl={Designer:Ut,Runtime:Jl,Property:qt};class f0 extends Ue{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class ii extends T{constructor(e){var n,i,u,r,a,l;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new qr(e==null?void 0:e.listPageBind),this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:ui.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))})),this.canViewForm=(l=e==null?void 0:e.canViewForm)!=null?l:!1}}ii.Rules=f0;class ui extends B{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}ui.controlFieldType=v.VARCHAR,ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];class Yl extends P{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Yl.controlFieldType=v.VARCHAR;var pl={Designer:ui,Runtime:Yl,Property:ii};class Wu extends Je{constructor(e){super(e)}}class eo extends Ze{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}eo.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 to extends P{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}to.controlFieldType=v.VARCHAR;var no={Designer:eo,Runtime:to,Property:Wu};class h0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Yi.call(this,e,Ae.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class y0 extends O{constructor(e){super(e),this[0].type="array"}}class Wt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,I;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ae.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(h=e==null?void 0:e.defaultCollapseLevel)!=null?h:1,this.datasourceBind=new Ph((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Ae.controlCustomAttributes}),this.multistageFilling=(_=(g=e==null?void 0:e.multistageFilling)==null?void 0:g.map(b=>new p(b)))!=null?_:[],this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:[]}}Wt.Rules=h0,Wt.RuntimeRules=y0;class Ae extends B{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Ae.controlEventKeys=["on_change","on_click"],Ae.controlFieldType=v.ARRAY,Ae.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 io extends P{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"tree"}}io.controlFieldType=v.ARRAY;var uo={Designer:Ae,Runtime:io,Property:Wt};class m0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},Yi.call(this,e,et.controlCustomAttributes),e.externalType===ze.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class v0 extends O{constructor(e){super(e),this[0].type="array"}}class Kt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:et.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new un((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:et.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:xu.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ou.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:ze.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))}))}}Kt.Rules=m0,Kt.RuntimeRules=v0;class et extends B{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}et.controlFieldType=v.EMPLOYEES,et.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 ro extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}ro.controlFieldType=v.EMPLOYEES;var ao={Designer:et,Runtime:ro,Property:Kt};class g0 extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&Di(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&i.signatureType.includes("company")&&Di(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class ri extends T{constructor(e){var n,i,u,r,a,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:zt.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Ma(e==null?void 0:e.signatureConfig)}}ri.Rules=g0;class zt extends B{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.controlFieldType=v.VARCHAR,zt.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 lo extends P{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}lo.controlFieldType=v.VARCHAR;var oo={Designer:zt,Runtime:lo,Property:ri};class b0 extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class E0 extends O{constructor(e){super(e),this[0].type="array"}}class Gt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:Gg,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new La(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Gt.Rules=b0,Gt.RuntimeRules=E0;class Xt extends B{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Xt.controlEventKeys=["on_change","on_wps_open"],Xt.controlFieldType=v.FILE,Xt.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 co extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"wps"}}co.controlFieldType=v.FILE;var so={Designer:Xt,Runtime:co,Property:Gt};class C0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},Yi.call(this,e,tt.controlCustomAttributes),e.businessType===ze.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class _0 extends O{constructor(e){super(e),this[0].type="array"}}class Qt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,I,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:tt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new un((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:tt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Fu.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ze.ALL,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var y;(y=this.multistageFilling)==null||y.push(new p(w))}))}}Qt.Rules=C0,Qt.RuntimeRules=_0;class tt extends B{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}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}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}tt.controlFieldType=v.DEPARTMENTS,tt.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 fo extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"department2"}}fo.controlFieldType=v.DEPARTMENTS;var ho={Designer:tt,Runtime:fo,Property:Qt},I0=Object.freeze({__proto__:null,Input:sl,Checkbox:fl,Radio:yl,Number:vl,DatePicker:bl,DateRange:Cl,Textarea:Il,RichText:Al,Select:Rl,SelectMultiple:Bl,Employee:Dl,Image:Ol,Attachment:xl,Amount:Nl,Score:Ll,Address:Vl,Department:jl,AutoNumber:Ul,Calc:Kl,SearchNumberRange:Gl,SearchDateRange:Ql,VueFormItem:Zl,SelectRelation:pl,SearchInput:no,Tree:uo,Employee2:ao,ElectronicSignature:oo,WPS:so,Department2:ho});class yo extends V{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}yo.excludes=[C.GRID];class w0 extends q{static get controlType(){return"grid"}constructor(e){super(e)}}var mo={Designer:yo,Runtime:w0,Property:M};const A0=24;class Se extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:A0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Jt extends V{constructor(e){super(e),this.props=new Se(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Jt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Jt.childrenMaxLength=1;class Ku extends q{constructor(e){super(e),this.props=new Se(e==null?void 0:e.props)}static get controlType(){return"col"}}var vo={Designer:Jt,Runtime:Ku,Property:Se};class ai extends M{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class li extends V{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}li.excludes=[C.ROW],li.setting=[{key:"col-setting",visible:!0}];class go extends q{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"row"}}var bo={Designer:li,Runtime:go,Property:ai};const S0=4;class oi extends li{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)}}oi.excludes=[C.GRID_ROW],oi.setting=[],oi.childrenMaxLength=S0;class R0 extends go{static get controlType(){return"grid-row"}constructor(e){super(e)}}class T0 extends ai{constructor(e){super(e)}}var Eo={Designer:oi,Runtime:R0,Property:T0};class B0 extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class ci extends M{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}ci.Rules=B0;class zu extends V{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}zu.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}],zu.excludes=[C.CARD_GROUP];class P0 extends q{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Co={Designer:zu,Runtime:P0,Property:ci};class D0 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class si extends M{constructor(e){var n,i,u,r,a,l;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1}}si.Rules=D0;class re extends V{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}}re.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",re.controlType="subtable-column",re.controlIcon="subtable-column",re.childrenMaxLength=1,re.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];class _o extends q{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}}_o.controlType="subtable-column";var Io={Designer:re,Runtime:_o,Property:si};class Gu extends M{constructor(e){super(e)}}class Re extends V{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}}Re.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Re.controlType="subtable-row",Re.controlIcon="subtable-row",Re.childrenMaxLength=1,Re.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class x0 extends q{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var wo={Designer:Re,Runtime:x0,Property:Gu};class Xu extends M{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:he.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Te extends V{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}}Te.controlName="\u5217\u8868\u5355\u5143\u683C",Te.controlType="gridtable-column",Te.controlIcon="gridtable-column",Te.childrenMaxLength=1,Te.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Te.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0}];class Ao extends q{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}}Ao.controlType="gridtable-column";var So={Designer:Te,Runtime:Ao,Property:Xu};class Qu extends M{constructor(e){super(e)}}class F0 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class di extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:fi.controlName}}di.Rules=F0;class Zt extends V{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Zt.excludes=[C.TAB],Zt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class O0 extends q{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Ro={Designer:Zt,Runtime:O0,Property:di};class fi extends V{constructor(e){var n;super(e),this.props=new Qu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Zt,new Zt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}fi.excludes=[C.TAB],fi.setting=[{key:"super-setting",visible:!0}];class k0 extends q{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlType(){return"tab"}}var To={Designer:fi,Runtime:k0,Property:Qu};class Bo extends M{constructor(e){super(e)}}class Po extends V{constructor(e){super(e),this.props=new Bo({}),this.children=(e==null?void 0:e.children)||[new Jt({props:new Se({span:12})}),new Jt({props:new Se({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Po.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class N0 extends q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ku({props:new Se({span:12})}),new Ku({props:new Se({span:12})})]}}var Do={Designer:Po,Runtime:N0,Property:Bo};class M0 extends _e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class L0 extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),Zi.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Yt extends M{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Ah(e==null?void 0:e.sublistPage),this.showType=(a=e==null?void 0:e.showType)!=null?a:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0}}Yt.Rules=L0,Yt.RuntimeRules=M0;class hi extends V{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}hi.excludes=[C.ROW],hi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],hi.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 $0 extends q{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var xo={Designer:hi,Runtime:$0,Property:Yt};class V0 extends _e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class yi extends M{constructor(e){var n,i,u,r,a,l;super(e),this.save=new ie((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new ie((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new ie((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new ie((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new ie(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new G(e==null?void 0:e.datasourceBind)}}yi.RuntimeRules=V0;class Fo extends V{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Fo.excludes=[];class H0 extends q{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Oo={Designer:Fo,Runtime:H0,Property:yi};class j0 extends V{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class q0 extends q{static get controlType(){return"page"}constructor(e){super(e)}}class U0 extends M{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var ko={Designer:j0,Runtime:q0,Property:U0};class W0 extends V{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class K0 extends q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class z0 extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ha(e==null?void 0:e.flexConfig)}}var No={Designer:W0,Runtime:K0,Property:z0};class G0 extends V{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class X0 extends q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Q0 extends M{constructor(e){super(e)}}var Mo={Designer:G0,Runtime:X0,Property:Q0};class J0 extends V{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Z0 extends q{static get controlType(){return"position"}constructor(e){super(e)}}class Y0 extends M{constructor(e){var n,i,u,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Lo={Designer:J0,Runtime:Z0,Property:Y0},p0=Object.freeze({__proto__:null,Grid:mo,Col:vo,Row:bo,GridRow:Eo,CardGroup:Co,SubTableColumn:Io,SubTableRow:wo,GridTableColumn:So,Tab:To,TabPane:Ro,Toolbox:Do,ListView:xo,DataView:Oo,Page:ko,AdvancedContainer:No,PositioningContainer:Mo,Position:Lo});class eb extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class tb extends _e{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class pt extends bn{constructor(e,n){var i,u,r,a,l,s,o,h,m,g,_,I,b,w,y,E,N,R,x,ne,D;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:mi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(a=n==null?void 0:n.labelPosition)!=null?a:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(h=n==null?void 0:n.maxHeight)!=null?h:$a,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.defaultRows=(_=n==null?void 0:n.defaultRows)!=null?_:1,this.datasourceBind=new G(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(b=n==null?void 0:n.canDelete)!=null?b:!0,this.canCheck=(w=n==null?void 0:n.canCheck)!=null?w:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(E=n==null?void 0:n.canImport)!=null?E:!1,this.canExport=(N=n==null?void 0:n.canExport)!=null?N:!1,this.canClear=(R=n==null?void 0:n.canClear)!=null?R:!0,this.serverPagination=(x=n==null?void 0:n.serverPagination)!=null?x:!1,this.isShowCaptionTip=(ne=n==null?void 0:n.isShowCaptionTip)!=null?ne:!1,this.captionTip=(D=n==null?void 0:n.captionTip)!=null?D:""}}pt.Rules=eb,pt.RuntimeRules=tb;class mi extends su{constructor(e){var n;super(e),this.props=new pt(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 re,new re,new re])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new re,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}mi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],mi.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:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];class nb extends Ta{constructor(e){super(e),this.props=new pt(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Nr("Method not implemented.")}getChildrenFormControl(){return[]}}var $o={Designer:mi,Runtime:nb,Property:pt};class Ju extends bn{constructor(e,n){var i,u,r,a;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0}}class ib extends _n{constructor(e){super(e),this.caption.required=!1}}class vi extends H{constructor(e){var n,i,u,r;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Be.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:50,this.widthType=(r=e==null?void 0:e.widthType)!=null?r:"px"}}vi.Rules=ib;class Be extends W{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}}Be.controlType="order-column",Be.controlName="\u5E8F\u53F7",Be.controlIcon="order-column",Be.setting=[{key:"column-fixed",visible:!0}];class Zu extends K{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}}Zu.controlType="order-column",Zu.controlFieldType=v.DECIMAL;var Vo={Designer:Be,Runtime:Zu,Property:vi};class ub extends _n{constructor(e){super(e),this.check=[{type:"object",message:d.getMessage("isNotObject")}],this.edit=[{type:"object",message:d.getMessage("isNotObject")}];const n=()=>({type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}});e.check.isShow&&this.check.push(n()),e.edit.isShow&&this.edit.push(n())}}class gi extends H{constructor(e){var n,i,u,r,a,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.check=new ie((i=e==null?void 0:e.check)!=null?i:{content:"\u67E5\u770B",type:"check",isShow:!1,priorityProcess:!0}),this.edit=new ie((u=e==null?void 0:e.edit)!=null?u:{content:"\u7F16\u8F91",type:"edit",isShow:!1}),this.delete=new ie((r=e==null?void 0:e.delete)!=null?r:{content:"\u5220\u9664",type:"delete",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new ie(s)),this.caption=(l=e==null?void 0:e.caption)!=null?l:Pe.controlName}}gi.Rules=ub;class Pe extends W{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return e.props.check=this.props.check,e.props.edit=this.props.edit,e.props.delete=this.props.delete,e}}Pe.controlType="operation-column",Pe.controlName="\u64CD\u4F5C",Pe.controlIcon="operation-column",Pe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"operation-setting",showItems:[c.CAN_CHECK,c.CAN_EDIT,c.CAN_DELETE],visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];class Yu extends K{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}}Yu.controlType="operation-column",Yu.controlFieldType=v.FILE;var Ho={Designer:Pe,Runtime:Yu,Property:gi};class bi extends su{constructor(e){super(e),this.props=new Ju(this,e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Be,new Pe])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Ii(Ce({},e),{children:n})}validate(e,n){return sc(this,null,function*(){return yield cc(bi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}bi.setting=[{key:"list-fixed-header",visible:!0}];class rb extends Ta{constructor(e){super(e),this.props=new Ju(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Nr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var jo={Designer:bi,Runtime:rb,Property:Ju},ab=Object.freeze({__proto__:null,SubTable:$o,GridTable:jo});class lb extends Pa{constructor(e){super(e)}}class Ei extends H{constructor(e){var n,i,u,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:De.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.options=fe((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ei.Rules=lb;class De extends W{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}}De.controlType="varchar-column",De.controlName="\u77ED\u6587\u672C",De.controlIcon="varchar-column",De.controlFieldType=v.VARCHAR,De.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",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 pu extends K{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}}pu.controlType="varchar-column",pu.controlFieldType=v.VARCHAR;var qo={Designer:De,Runtime:pu,Property:Ei};class er extends H{constructor(e){var n,i,u;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:xe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class xe extends W{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}xe.controlType="text-column",xe.controlName="\u957F\u6587\u672C",xe.controlIcon="text-column",xe.controlFieldType=v.TEXT,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",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 tr extends K{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}tr.controlType="text-column",tr.controlFieldType=v.TEXT;var Uo={Designer:xe,Runtime:tr,Property:er};class nr extends H{constructor(e){var n,i,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.options=fe((l=e==null?void 0:e.options)!=null?l:[{}])}}class Fe extends W{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Fe.controlType="decimal-column",Fe.controlName="\u6570\u503C",Fe.controlIcon="decimal-column",Fe.controlFieldType=v.DECIMAL,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",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 ir extends K{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="decimal-column",ir.controlFieldType=v.DECIMAL;var Wo={Designer:Fe,Runtime:ir,Property:nr};class ur extends H{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Oe.controlName}}class Oe extends W{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Oe.controlType="timescope-column",Oe.controlName="\u65E5\u671F\u533A\u95F4",Oe.controlIcon="timescope-column",Oe.controlFieldType=v.TIMESCOPE,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class rr extends K{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}rr.controlType="timescope-column",rr.controlFieldType=v.TIMESCOPE;var Ko={Designer:Oe,Runtime:rr,Property:ur};class ar extends H{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ke.controlName}}class ke extends W{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ke.controlType="timestamp-column",ke.controlName="\u65E5\u671F",ke.controlIcon="timestamp-column",ke.controlFieldType=v.TIMESTAMP,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class lr extends K{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}lr.controlType="timestamp-column",lr.controlFieldType=v.TIMESTAMP;var zo={Designer:ke,Runtime:lr,Property:ar};class ob extends Pa{constructor(e){super(e)}}class Ci extends H{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.options=fe((u=e==null?void 0:e.options)!=null?u:[{}])}}Ci.Rules=ob;class Ne extends W{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}Ne.controlType="array-column",Ne.controlName="\u6570\u7EC4",Ne.controlIcon="array-column",Ne.controlFieldType=v.ARRAY,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class or extends K{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}or.controlType="array-column",or.controlFieldType=v.ARRAY;var Go={Designer:Ne,Runtime:or,Property:Ci};class cr extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Me extends W{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Me.controlType="department-column",Me.controlName="\u90E8\u95E8",Me.controlIcon="department-column",Me.controlFieldType=v.DEPARTMENTS,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class sr extends K{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}sr.controlType="department-column",sr.controlFieldType=v.DEPARTMENTS;var Xo={Designer:Me,Runtime:sr,Property:cr};class dr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName}}class Le extends W{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}Le.controlType="auto-number-column",Le.controlName="\u81EA\u52A8\u7F16\u53F7",Le.controlIcon="auto-number-column",Le.controlFieldType=v.AUTO_NUMBER,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class fr extends K{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}fr.controlType="auto-number-column",fr.controlFieldType=v.AUTO_NUMBER;var Qo={Designer:Le,Runtime:fr,Property:dr};class hr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName}}class $e extends W{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}$e.controlType="file-column",$e.controlName="\u9644\u4EF6",$e.controlIcon="file-column",$e.controlFieldType=v.FILE,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class yr extends K{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}yr.controlType="file-column",yr.controlFieldType=v.FILE;var Jo={Designer:$e,Runtime:yr,Property:hr};class mr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends W{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}Ve.controlType="image-column",Ve.controlName="\u56FE\u7247",Ve.controlIcon="image-column",Ve.controlFieldType=v.IMAGE,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vr extends K{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="image-column",vr.controlFieldType=v.IMAGE;var Zo={Designer:Ve,Runtime:vr,Property:mr};class gr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends W{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}He.controlType="people-column",He.controlName="\u4EBA\u5458",He.controlIcon="people-column",He.controlFieldType=v.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class br extends K{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="people-column",br.controlFieldType=v.EMPLOYEES;var Yo={Designer:He,Runtime:br,Property:gr};class Er extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends W{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}je.controlType="location-column",je.controlName="\u5730\u5740",je.controlIcon="location-column",je.controlFieldType=v.ADDRESS,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Cr extends K{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Cr.controlType="location-column",Cr.controlFieldType=v.ADDRESS;var po={Designer:je,Runtime:Cr,Property:Er};class _r extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const cb=1;class be extends W{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new _r(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children),this.excludes=ye(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return Ii(Ce({},e),{children:this.children.map(n=>n.toSchema())})}}be.controlType="custom-column",be.controlName="\u81EA\u5B9A\u4E49",be.controlIcon="custom-column",be.excludes=[],be.childrenMaxLength=cb,be.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ec extends K{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}}ec.controlType="custom-column";var tc={Designer:be,Runtime:ec,Property:_r};class Ir extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.datasourceBind=new un((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ee.controlCustomAttributes})}}class Ee extends W{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ee.controlType="employee-column",Ee.controlName="\u4EBA\u5458",Ee.controlIcon="employee-column",Ee.controlFieldType=v.EMPLOYEES,Ee.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wr extends K{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}wr.controlType="employee-column",wr.controlFieldType=v.EMPLOYEES;var nc={Designer:Ee,Runtime:wr,Property:Ir},sb=Object.freeze({__proto__:null,VarcharColumn:qo,TextColumn:Uo,DecimalColumn:Wo,TimescopeColumn:Ko,TimestampColumn:zo,ArrayColumn:Go,DepartmentColumn:Xo,AutoNumberColumn:Qo,FileColumn:Jo,ImageColumn:Zo,PeopleColumn:Yo,LocationColumn:po,CustomColumn:tc,OrderColumn:Vo,OperationColumn:Ho,EmployeeColumn:nc});class db extends _e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _i extends Cu{constructor(e){var n,i,u,r,a,l,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new ie((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new ie((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new ie(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}_i.RuntimeRules=db;class Ar extends Uv{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}Ar.controlType="simple-search",Ar.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 ic extends Zv{constructor(e){var n;super(e),this.props=new _i(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ic.controlType="simple-search";var uc={Designer:Ar,Runtime:ic,Property:_i},fb=Object.freeze({__proto__:null,SimpleSearch:uc});f.Address=Vl,f.AdvancedContainer=No,f.Amount=Nl,f.ArrayColumn=Go,f.AssignType=ze,f.Attachment=xl,f.AutoNumber=Ul,f.AutoNumberColumn=Qo,f.BatchPrintListButton=ll,f.BatchPrintRecordListButton=ol,f.BatchSubmissionListButton=za,f.Button=Oa,f.Calc=Kl,f.CardGroup=Co,f.Checkbox=fl,f.Col=vo,f.CreateFormListButton=Ka,f.CustomColumn=tc,f.DATE_CONFIG_TYPE=ka,f.DATE_LIMIT_TYPE=Na,f.Dashboard=nl,f.DataView=Oo,f.DatePicker=bl,f.DateRange=Cl,f.DecimalColumn=Wo,f.Department=jl,f.Department2=ho,f.DepartmentColumn=Xo,f.DepartmentType=Fu,f.Divider=Ua,f.ElectronicSignature=oo,f.ElectronicSignatureConfig=Ma,f.Employee=Dl,f.Employee2=ao,f.EmployeeColumn=nc,f.EncryptTypeEnum=ja,f.Explain=Bn,f.ExportListButton=Xa,f.ExportRecordListButton=Qa,f.ExportTemplate=Pu,f.FileColumn=Jo,f.FlexStyleConfig=Ha,f.FormSelectButton=Za,f.Grid=mo,f.GridRow=Eo,f.GridTable=jo,f.GridTableColumn=So,f.Image=Ol,f.ImageColumn=Zo,f.ImportRecordListButton=Ja,f.Input=sl,f.InternalType=Ou,f.InvoiceCheckButton=al,f.LINE_STYLE=Tu,f.LimitDate=Tn,f.Link=Fa,f.ListSelectButton=Ya,f.ListView=xo,f.ListViewSelect=ul,f.LocationColumn=po,f.Number=vl,f.OperationColumn=Ho,f.OrderColumn=Vo,f.OrganizeType=xu,f.Page=ko,f.Pagination=el,f.PeopleColumn=Yo,f.Position=Lo,f.PositioningContainer=Mo,f.PrintTemplate=Va,f.Radio=yl,f.RichText=Al,f.Row=bo,f.SCORE_TYPE=Ru,f.SUBTABLE_DEFAULT_MAX_HEIGHT=$a,f.Score=Ll,f.SearchDateRange=Ql,f.SearchInput=no,f.SearchNumberRange=Gl,f.Select=Rl,f.SelectMultiple=Bl,f.SelectRelation=pl,f.SimpleSearch=uc,f.SubTable=$o,f.SubTableColumn=Io,f.SubTableRow=wo,f.SubmissionRecordListButton=Ga,f.Tab=To,f.TabPane=Ro,f.Text=xa,f.TextColumn=Uo,f.TextOcrButton=rl,f.Textarea=Il,f.TimescopeColumn=Ko,f.TimestampColumn=zo,f.Title=Wa,f.TitleConfigEnum=we,f.Toolbox=Do,f.Tree=uo,f.UndersignedPerson=Bu,f.VarcharColumn=qo,f.VueFormItem=Zl,f.WPS=so,f.WPSSetting=La,f.WpsOperationItem=Du,f.baseControls=Dg,f.columnControls=sb,f.formControls=I0,f.initExpression=ht,f.layoutControls=p0,f.listControls=ab,f.searchControls=fb,Object.defineProperty(f,"__esModule",{value:!0})});