@byteluck-fe/model-driven-controls 2.6.0-alpha.12 → 2.6.0-alpha.13

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 IC=Object.defineProperty,SC=Object.defineProperties;var AC=Object.getOwnPropertyDescriptors;var $c=Object.getOwnPropertySymbols;var _C=Object.prototype.hasOwnProperty,RC=Object.prototype.propertyIsEnumerable;var Vc=(h,L,W)=>L in h?IC(h,L,{enumerable:!0,configurable:!0,writable:!0,value:W}):h[L]=W,ge=(h,L)=>{for(var W in L||(L={}))_C.call(L,W)&&Vc(h,W,L[W]);if($c)for(var W of $c(L))RC.call(L,W)&&Vc(h,W,L[W]);return h},mn=(h,L)=>SC(h,AC(L));var Wa=(h,L,W)=>new Promise((ae,vn)=>{var ji=de=>{try{ft(W.next(de))}catch(ht){vn(ht)}},qi=de=>{try{ft(W.throw(de))}catch(ht){vn(ht)}},ft=de=>de.done?ae(de.value):Promise.resolve(de.value).then(ji,qi);ft((W=W.apply(h,L)).next())});(function(h,L){typeof exports=="object"&&typeof module!="undefined"?L(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],L):(h=typeof globalThis!="undefined"?globalThis:h||self,L(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,L){"use strict";function W(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ae=W(L),vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ji="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ft="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",de="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ht="{caption}\u5FC5\u586B",Hc="\u8BF7\u8F93\u5165\u6807\u9898",jc="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",qc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Uc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Wc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Kc="\u8BF7\u7ED1\u5B9A\u5217\u8868",zc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Gc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Xc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Qc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Jc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Zc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Yc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",pc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",es="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ts="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ns="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",is="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",us="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",as="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ls="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",rs="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",os="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",cs="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ss="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ds="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",fs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",hs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ys="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ms="\u8BF7\u7ED1\u5B9A\u670D\u52A1",vs="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",gs="\u8BF7\u9009\u62E9\u7701",bs="\u8BF7\u9009\u62E9\u5E02",Cs="\u8BF7\u9009\u62E9\u533A",Es="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ws="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Is="\u8BF7\u8F93\u5165\u5217\u5BBD",Ss="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",As="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",_s="\u8BF7\u9009\u62E9\u63A7\u4EF6",Rs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ts="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Bs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ps="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ds="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Fs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",xs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Os="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ks="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ms="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ns="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ls="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",$s="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Vs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Hs="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",js="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",qs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Us="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ws="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ks="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",zs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Gs="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Xs="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Qs="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Js="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Zs="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ys={isNotNumber:vn,isNotString:ji,isNotObject:qi,isNotArray:ft,isNotBoolean:de,runtimeRequired:ht,pleaseEnterCaption:Hc,pleaseEnterCaptionTip:jc,pleaseEnterPlaceholder:qc,pleaseEnterFieldCode:Uc,pleaseEnterForm:Wc,pleaseEnterList:Kc,pleaseEnterProcess:zc,pleaseEnterLabel:Gc,pleaseEnterValue:Xc,bizKeyNotBindFiled:Qc,pleaseSelectOneField:Jc,pleaseEnterNumberRange:Zc,pleaseEnterAValueGreaterThanMin:Yc,pleaseEnterAValueLessThanMax:pc,numberRangeSetError:es,stringRangeError:ts,attachmentMaxSize:ns,pleaseEnterTotalScoreSetting:is,theTotalScoreMustNotBeLessThan1:us,scoreDefaultValueRange:as,attachmentLimitError:ls,PleaseReselectTheOptionalQuantity:rs,TheMaximumLengthIsGreaterThanTheMinimumLength:os,TheMinimumLengthIsGreaterThanTheMaximumLength:cs,PleaseSelectTheCorrectOptionSettings:ss,optionIdIsRepeat:ds,optionIsRequired:fs,pleaseEnterDataCode:hs,pleaseEnterValueFieldCode:ys,pleaseEnterSvcCode:ms,pleaseBindAtLeastOneDisplayValue:vs,pleaseSelectProvince:gs,pleaseSelectCity:bs,pleaseSelectDistrict:Cs,limitRowsCannotBeLessThan0:Es,TheNumberOfRowsCannotBeLessThanMinRows:ws,pleaseEnterColumnWidth:Is,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ss,pleaseCompleteAllRulesAndConditions:As,pleaseSelectControl:_s,pleaseSelectAtLeastOneColumn:Rs,pleaseSelectFillBackMode:Ts,pleaseSelectDashboard:Bs,rootNodeIsRequired:Ps,theViewNameCannotBeEmpty:Ds,pleaseSelectOcrType:Fs,pleaseSelectAtLeastOneFieldToFillIn:xs,pleaseChooseAtLeastOne:Os,pleaseEnterButtonContent:ks,pleaseEnterDataCodeInDataSetting:Ms,pleaseEnterValueFieldCodeInDataSetting:Ns,pleaseEnterSvcCodeInDataSetting:Ls,pleaseBindAtLeastOneDisplayValueInDataSetting:$s,rootNodeIsRequiredInDataSetting:Vs,pleaseEnterMaxHeight:Hs,pleaseEnter:js,pleaseEnterWatermark:qs,pleaseEnterFileName:Us,pleaseUploadAtLeastOnePrintTemplate:Ws,pleaseAssignBusiness:Ks,pleaseAssignExternal:zs,pleaseEnterAliasCode:Gs,pleaseSelectDataCode:Xs,pleaseSelectSvcCode:Qs,pleaseSelectJoinFieldCode:Js,pleaseSelectMainFieldCode:Zs},ps="Please enter a number",ed="Please enter a string",td="Please enter an object",nd="Please enter an array",id="Please enter a boolean",ud="{caption} Required",ad="Please enter the title",ld="Please enter the bubble prompt",rd="Please enter the prompt text",od="Please bind data items",cd="Please bind the form",sd="Please bind the list",dd="Please bind the process",fd="Please enter the displayed value",hd="Please enter the stored value",yd="The document number is not bound to the data item",md="Please select at least one display field",vd="Please enter a value greater than or equal to {min} and less than or equal to {max}",gd="Please enter a value greater than or equal to {min}",bd="Please enter a value less than or equal to {max}",Cd="The value range is set incorrectly",Ed="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",wd="The attachment size must be between 0MB and 1000MB",Id="Please fill in the total score setting",Sd="The total score cannot be less than 1",Ad="The default value must be between {min} and {max}",_d="The number of attachments uploaded must be between {min} and {max}",Rd="Please re-select the optional quantity",Td="The maximum length of the control must be greater than the minimum length",Bd="The minimum length of the control must be less than the maximum length",Pd="Please select the correct option setting",Dd="Option ID cannot be repeated",Fd="Please enter at least one option",xd="Please bind the data source",Od="Please bind the stored value",kd="Please bind the service",Md="At least one display value must be bound",Nd="Please select a province",Ld="Please select a city",$d="Please select a district",Vd="The minimum number of lines to fill in cannot be less than 0",Hd="The number of rows cannot be less than {min} rows",jd="Please enter the column width",qd="Please set the logical relationship of all rule conditions",Ud="Please complete all rules and conditions",Wd="please select control",Kd="Please select the dashboard",zd="View name cannot be empty",Gd="Please select recognition type",Xd="Please select at least one field to fill in",Qd="Please select at least one",Jd="Please enter the button title",Zd="Please bind the business model in the data settings",Yd="Please bind storage values in data settings",pd="Please bind the service in the data settings",ef="Please bind at least one display value in the data settings",tf="Please select the root node in the data settings",nf="Please enter the maximum height",uf="The input content cannot be empty",af="Watermark cannot be empty",lf="File name cannot be empty",rf="Please upload at least one printing template!\uFF01",of="Please select a specific business department",cf="Please select a specified external organization",sf="Please enter a sub table alias",df="Please select the associated table to set the business model",ff="Please select the association table to set the binding service",hf="Select associated sub table fields",yf="Please select the associated main table field",mf={isNotNumber:ps,isNotString:ed,isNotObject:td,isNotArray:nd,isNotBoolean:id,runtimeRequired:ud,pleaseEnterCaption:ad,pleaseEnterCaptionTip:ld,pleaseEnterPlaceholder:rd,pleaseEnterFieldCode:od,pleaseEnterForm:cd,pleaseEnterList:sd,pleaseEnterProcess:dd,pleaseEnterLabel:fd,pleaseEnterValue:hd,bizKeyNotBindFiled:yd,pleaseSelectOneField:md,pleaseEnterNumberRange:vd,pleaseEnterAValueGreaterThanMin:gd,pleaseEnterAValueLessThanMax:bd,numberRangeSetError:Cd,stringRangeError:Ed,attachmentMaxSize:wd,pleaseEnterTotalScoreSetting:Id,theTotalScoreMustNotBeLessThan1:Sd,scoreDefaultValueRange:Ad,attachmentLimitError:_d,PleaseReselectTheOptionalQuantity:Rd,TheMaximumLengthIsGreaterThanTheMinimumLength:Td,TheMinimumLengthIsGreaterThanTheMaximumLength:Bd,PleaseSelectTheCorrectOptionSettings:Pd,optionIdIsRepeat:Dd,optionIsRequired:Fd,pleaseEnterDataCode:xd,pleaseEnterValueFieldCode:Od,pleaseEnterSvcCode:kd,pleaseBindAtLeastOneDisplayValue:Md,pleaseSelectProvince:Nd,pleaseSelectCity:Ld,pleaseSelectDistrict:$d,limitRowsCannotBeLessThan0:Vd,TheNumberOfRowsCannotBeLessThanMinRows:Hd,pleaseEnterColumnWidth:jd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:qd,pleaseCompleteAllRulesAndConditions:Ud,pleaseSelectControl:Wd,pleaseSelectDashboard:Kd,theViewNameCannotBeEmpty:zd,pleaseSelectOcrType:Gd,pleaseSelectAtLeastOneFieldToFillIn:Xd,pleaseChooseAtLeastOne:Qd,pleaseEnterButtonContent:Jd,pleaseEnterDataCodeInDataSetting:Zd,pleaseEnterValueFieldCodeInDataSetting:Yd,pleaseEnterSvcCodeInDataSetting:pd,pleaseBindAtLeastOneDisplayValueInDataSetting:ef,rootNodeIsRequiredInDataSetting:tf,pleaseEnterMaxHeight:nf,pleaseEnter:uf,pleaseEnterWatermark:af,pleaseEnterFileName:lf,pleaseUploadAtLeastOnePrintTemplate:rf,pleaseAssignBusiness:of,pleaseAssignExternal:cf,pleaseEnterAliasCode:sf,pleaseSelectDataCode:df,pleaseSelectSvcCode:ff,pleaseSelectJoinFieldCode:hf,pleaseSelectMainFieldCode:yf},vf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ef="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wf="{caption}\u5FC5\u9808",If="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Af="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_f="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Tf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",xf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Of="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Nf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Lf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$f="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Vf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Hf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",qf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Uf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Wf="\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",Kf="\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",zf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Gf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Xf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Qf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",pf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",th="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ih="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",uh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ah="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",lh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",rh="please select control",oh="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ch="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",sh="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fh="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",hh="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",mh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",vh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",gh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",bh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ch="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Eh="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",wh="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ih="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sh="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",Ah="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_h="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rh="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Th="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Bh="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ph="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Dh="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fh={isNotNumber:vf,isNotString:gf,isNotObject:bf,isNotArray:Cf,isNotBoolean:Ef,runtimeRequired:wf,pleaseEnterCaption:If,pleaseEnterCaptionTip:Sf,pleaseEnterPlaceholder:Af,pleaseEnterFieldCode:_f,pleaseEnterForm:Rf,pleaseEnterList:Tf,pleaseEnterProcess:Bf,pleaseEnterLabel:Pf,pleaseEnterValue:Df,bizKeyNotBindFiled:Ff,pleaseSelectOneField:xf,pleaseEnterNumberRange:Of,pleaseEnterAValueGreaterThanMin:kf,pleaseEnterAValueLessThanMax:Mf,numberRangeSetError:Nf,stringRangeError:Lf,attachmentMaxSize:$f,pleaseEnterTotalScoreSetting:Vf,theTotalScoreMustNotBeLessThan1:Hf,scoreDefaultValueRange:jf,attachmentLimitError:qf,PleaseReselectTheOptionalQuantity:Uf,TheMaximumLengthIsGreaterThanTheMinimumLength:Wf,TheMinimumLengthIsGreaterThanTheMaximumLength:Kf,PleaseSelectTheCorrectOptionSettings:zf,optionIdIsRepeat:Gf,optionIsRequired:Xf,pleaseEnterDataCode:Qf,pleaseEnterValueFieldCode:Jf,pleaseEnterSvcCode:Zf,pleaseBindAtLeastOneDisplayValue:Yf,pleaseSelectProvince:pf,pleaseSelectCity:eh,pleaseSelectDistrict:th,limitRowsCannotBeLessThan0:nh,TheNumberOfRowsCannotBeLessThanMinRows:ih,pleaseEnterColumnWidth:uh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ah,pleaseCompleteAllRulesAndConditions:lh,pleaseSelectControl:rh,pleaseSelectDashboard:oh,theViewNameCannotBeEmpty:ch,pleaseSelectOcrType:sh,pleaseSelectAtLeastOneFieldToFillIn:dh,pleaseChooseAtLeastOne:fh,pleaseEnterButtonContent:hh,pleaseEnterDataCodeInDataSetting:yh,pleaseEnterValueFieldCodeInDataSetting:mh,pleaseEnterSvcCodeInDataSetting:vh,pleaseBindAtLeastOneDisplayValueInDataSetting:gh,rootNodeIsRequiredInDataSetting:bh,pleaseEnterMaxHeight:Ch,pleaseEnter:Eh,pleaseEnterWatermark:wh,pleaseEnterFileName:Ih,pleaseUploadAtLeastOnePrintTemplate:Sh,pleaseAssignBusiness:Ah,pleaseAssignExternal:_h,pleaseEnterAliasCode:Rh,pleaseSelectDataCode:Th,pleaseSelectSvcCode:Bh,pleaseSelectJoinFieldCode:Ph,pleaseSelectMainFieldCode:Dh},xh={zhCN:Ys,enUS:mf,jaJP:Fh},Ka;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Ka||(Ka={}));var za;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(za||(za={}));var Oh="zh-CN";function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ga;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Ga||(Ga={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(S||(S={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var J;J={},ee(J,g.ARRAY,S.ARRAY_COLUMN),ee(J,g.AUTO_NUMBER,S.AUTO_NUMBER_COLUMN),ee(J,g.DECIMAL,S.DECIMAL_COLUMN),ee(J,g.DEPARTMENTS,S.DEPARTMENT_COLUMN),ee(J,g.FILE,S.FILE_COLUMN),ee(J,g.IMAGE,S.IMAGE_COLUMN),ee(J,g.ADDRESS,S.LOCATION_COLUMN),ee(J,g.EMPLOYEES,S.EMPLOYEE_COLUMN),ee(J,g.TEXT,S.TEXT_COLUMN),ee(J,g.TIMESCOPE,S.TIMESCOPE_COLUMN),ee(J,g.TIMESTAMP,S.TIMESTAMP_COLUMN),ee(J,g.VARCHAR,S.VARCHAR_COLUMN),ee(J,g.RELATION,S.VARCHAR_COLUMN);var be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(be||(be={}));var Xa="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",kh=Xa+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?Xa:kh,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Ui(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Mh(t){if(Array.isArray(t))return Ui(t)}function Nh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function gn(t,e,n){return Lh()?gn=Reflect.construct:gn=function(a,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(a,o),d=new s;return r&&mt(d,r.prototype),d},gn.apply(null,arguments)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yt(t)}function Ja(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&&mt(t,e)}function $h(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Vh(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 jh(t,e){return e&&(qh(e)==="object"||typeof e=="function")?e:Nh(t)}function mt(t,e){return mt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},mt(t,e)}function Za(t){return Mh(t)||Vh(t)||Uh(t)||Hh()}var qh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Uh(t,e){if(!!t){if(typeof t=="string")return Ui(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 Ui(t,e)}}function Wi(t){var e=typeof Map=="function"?new Map:void 0;return Wi=function(u){if(u===null||!$h(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return gn(u,arguments,yt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),mt(a,u)},Wi(t)}function Wh(){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 Ya(t){var e=Wh();return function(){var u=yt(t),a;if(e){var l=yt(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return jh(this,a)}}var Ki=console;function Kh(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Ki).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(Za(a)))}function pa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Ki).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(Za(a)))}function zh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var zi=function(t){Ja(n,t);var e=Ya(n);function n(u){Qa(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?zh(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Wi(Error)),Gh=function(t){Ja(n,t);var e=Ya(n);function n(u){Qa(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(zi);function el(t){throw new zi(t)}function tl(t){throw new Gh(t)}function Xh(t){Ki.error(new zi(t))}var Qh=Object.prototype.toString;function nl(t,e){return Qh.call(t)==="[object "+e+"]"}function Jh(t){return nl(t,"String")}function Zh(t){return nl(t,"Promise")}var Yh=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();Zh(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,l,r,o){if(a!==void 0){var s=a[l];if(!(r===o.length-1&&!Jh(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var l=n[a];return l!==void 0?String(l):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function ph(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function ey(t,e,n){return e&&il(t.prototype,e),n&&il(t,n),t}var f=function(){function t(){ph(this,t)}return ey(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Oh;return new Yh({locale:n,messages:xh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function ty(t,e,n){var u=e.replace(/\[(\d)]/g,function(l,r){return"."+r}).split("."),a=!1;return u.reduce(function(l,r,o,s){var d=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,r)){Kh("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),l,l);return}return o===s.length-1&&!Object.is(d[r],n)&&(d[r]=n,a=!0),d[r]}},t),a}var ny=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},iy={exports:{}};(function(t){(function(e){var n=function(v,I,w){if(!d(I)||m(I)||b(I)||E(I)||s(I))return I;var F,O=0,ie=0;if(y(I))for(F=[],ie=I.length;O<ie;O++)F.push(n(v,I[O],w));else{F={};for(var x in I)Object.prototype.hasOwnProperty.call(I,x)&&(F[v(x,w)]=n(v,I[x],w))}return F},u=function(v,I){I=I||{};var w=I.separator||"_",F=I.split||/(?=[A-Z])/;return v.split(F).join(w)},a=function(v){return A(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(I,w){return w?w.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var I=a(v);return I.substr(0,1).toUpperCase()+I.substr(1)},r=function(v,I){return u(v,I).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},d=function(v){return v===Object(v)},y=function(v){return o.call(v)=="[object Array]"},m=function(v){return o.call(v)=="[object Date]"},b=function(v){return o.call(v)=="[object RegExp]"},E=function(v){return o.call(v)=="[object Boolean]"},A=function(v){return v=v-0,v===v},C=function(v,I){var w=I&&"process"in I?I.process:I;return typeof w!="function"?v:function(F,O){return w(F,v,O)}},_={camelize:a,decamelize:r,pascalize:l,depascalize:r,camelizeKeys:function(v,I){return n(C(a,I),v)},decamelizeKeys:function(v,I){return n(C(r,I),v,I)},pascalizeKeys:function(v,I){return n(C(l,I),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=_:e.humps=_})(ny)})(iy);var ul={};Object.defineProperty(ul,"__esModule",{value:!0});function Gi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Gi(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Gi(u)}return e}}var uy=ul.default=Gi;function Ce(t){if(t!==void 0)return typeof t=="object"?uy(t):t}function ay(t){return Object.prototype.toString.call(t)==="[object Object]"}function Xi(t){return Array.isArray(t)}function ly(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Qi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function ry(t){if(Array.isArray(t))return Qi(t)}function al(t,e,n,u,a,l,r){try{var o=t[l](r),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function oy(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var l=t.apply(e,n);function r(s){al(l,u,a,r,o,"next",s)}function o(s){al(l,u,a,r,o,"throw",s)}r(void 0)})}}function cy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ll(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function sy(t,e,n){return e&&ll(t.prototype,e),n&&ll(t,n),t}function dy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fy(){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 Ji(t){return ry(t)||dy(t)||hy(t)||fy()}function hy(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 yy=function(){function t(){cy(this,t),this._events=new Map,this.debug=!1}return sy(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),l=1;l<u;l++)a[l-1]=arguments[l];var r=this;return oy(ae.default.mark(function o(){var s,d,y,m,b,E,A,C,_,v;return ae.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(s=r._events.get(n),d=[],!s){w.next=42;break}y=s.slice(),m=!0,b=!1,E=void 0,w.prev=5,A=y[Symbol.iterator]();case 7:if(m=(C=A.next()).done){w.next=28;break}if(_=C.value,s.includes(_)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,r.debug&&pa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Ji(a))),w.next=15,_.apply(null,Ji(a));case 15:if(v=w.sent,r.debug&&pa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ji(a),[v])),d.push(v),v!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),Xh(String(w.t0)+":"+String(w.t0.stack));case 25:m=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),b=!0,E=w.t1;case 34:w.prev=34,w.prev=35,!m&&A.return!=null&&A.return();case 37:if(w.prev=37,!b){w.next=40;break}throw E;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",d);case 43:case"end":return w.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),l=a==null?void 0:a.indexOf(u);a==null||a.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}(),my=[];new Set(my.map(function(t){return t.Designer.controlType}));function rl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function le(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&&Zi(t,e)}function ol(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function vy(t,e){return e&&(gy(e)==="object"||typeof e=="function")?e:rl(t)}function Zi(t,e){return Zi=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Zi(t,e)}var gy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function by(){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 re(t){var e=by();return function(){var u=bn(t),a;if(e){var l=bn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return vy(this,a)}}var oe=function t(e){R(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"",this.aliasCode=e==null?void 0:e.aliasCode},cl=function t(e){R(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},Yi=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;a=e.call(this,u);var l;a.width=(l=u==null?void 0:u.width)!==null&&l!==void 0?l:240;var r;return a.widthType=(r=u==null?void 0:u.widthType)!==null&&r!==void 0?r:"auto",a}return n}(cl),Cy=function t(e){R(this,t),this.pc=new Yi(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new Yi(e==null?void 0:e.mobile):new Yi({width:130,minWidth:180})},Ey=function t(e){R(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var u;this.customOptions=(u=e==null?void 0:e.customOptions)!==null&&u!==void 0?u:[]},Ye=function t(e){R(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},wy=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;a=e.call(this,u);var l;return a.primaryControlId=(l=u==null?void 0:u.primaryControlId)!==null&&l!==void 0?l:"",a}return n}(Ye),sl=function t(e){R(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},pi=function t(e){R(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var l;this.headers=(l=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new sl(r)}))!==null&&l!==void 0?l:[]},Iy=function t(e){R(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:g.VARCHAR},Sy=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;a=e.call(this,u);var l;a.title=(l=u==null?void 0:u.title)!==null&&l!==void 0?l:"";var r;a.svcCode=(r=u==null?void 0:u.svcCode)!==null&&r!==void 0?r:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(Ye),Ay=function t(e){R(this,t);var n,u;this.type="sublist-page",this.formBind=new Ye(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Iy(r)}))!==null&&a!==void 0?a:[];var l;this.sublists=(l=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(r){return new Sy(r)}))!==null&&l!==void 0?l:[]},_y=function t(e){R(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},vt=function t(e){R(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},dl=function t(e){R(this,t),this.type="conditions";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;if(this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)){var r=this;e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=r.children)===null||s===void 0||s.push(d)}else{var y,m=new eu(o);(y=r.children)===null||y===void 0||y.push(m)}})}},eu=function t(e){R(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var l;this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new _y(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new vt(e==null?void 0:e.rightVariableBo)},Ry=function t(e){R(this,t);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new K(e==null?void 0:e.datasourceBind);var u;this.relationFields=(u=e==null?void 0:e.relationFields)!==null&&u!==void 0?u:[]},p=function t(e){R(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var l;this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},tu=function t(e){R(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},Ty=function t(e){R(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function nu(t){var e,n,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(s){return s.children!==void 0?new dl(s):new eu(s)}))!==null&&u!==void 0?u:[];var a;if(this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new dl(s):new eu(s)}))!==null&&a!==void 0?a:[],ol(this,K)||ol(this,uu)){var l,r,o;this.orders=(o=(l=t)===null||l===void 0||(r=l.orders)===null||r===void 0?void 0:r.map(function(s){return new Ty(s)}))!==null&&o!==void 0?o:[]}}var K=function t(e){R(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;if(this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)){var r=this;e==null||e.displayBoList.map(function(d){var y;(y=r.displayBoList)===null||y===void 0||y.push(new tu(d))})}var o;this.showOrder=(o=e==null?void 0:e.showOrder)!==null&&o!==void 0?o:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",nu.call(this,e)},iu=function t(e){R(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.displayBoList=(u=e==null?void 0:e.displayBoList)!==null&&u!==void 0?u:[]},Ee=function t(e){R(this,t);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var u;this.color=(u=e==null?void 0:e.color)!==null&&u!==void 0?u:"primary";var a;this.command=(a=e==null?void 0:e.command)!==null&&a!==void 0?a:"view";var l;this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var d;this.needConfirm=(d=e==null?void 0:e.needConfirm)!==null&&d!==void 0?d:!1;var y;this.openType=(y=e==null?void 0:e.openType)!==null&&y!==void 0?y:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},fl=function t(e){R(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var l;this.value=(l=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new tu(r)}))!==null&&l!==void 0?l:[]},Cn=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a,l;a=e.call(this,u);var r;return a.attributes=(r=u==null||(l=u.attributes)===null||l===void 0?void 0:l.map(function(o){return new fl(o)}))!==null&&r!==void 0?r:[],a}return n}(K),By=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a,l;a=e.call(this,u);var r;a.attributes=(r=u==null||(l=u.attributes)===null||l===void 0?void 0:l.map(function(s){return new fl(s)}))!==null&&r!==void 0?r:[];var o;return a.formCode=(o=u==null?void 0:u.formCode)!==null&&o!==void 0?o:"",a}return n}(K),hl=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;a=e.call(this,u),a.rootNode=new vt(u==null?void 0:u.rootNode);var l;return a.filterCode=(l=u==null?void 0:u.filterCode)!==null&&l!==void 0?l:"",a}return n}(Cn),yl=function t(e){R(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var l;this.fillList=(l=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new p(r)}))!==null&&l!==void 0?l:[]},uu=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;return a=e.call(this,u),nu.call(rl(a),u),a}return n}(yl),ml=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;a=e.call(this,u);var l;a.mode=(l=u==null?void 0:u.mode)!==null&&l!==void 0?l:"current";var r;return a.multiple=(r=u==null?void 0:u.multiple)!==null&&r!==void 0?r:!1,a}return n}(yl),vl=function t(e){R(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},Py=function t(e){R(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function he(t){var e;return(e=t==null?void 0:t.map(function(n){return new Py(n)}))!==null&&e!==void 0?e:[]}var au=function t(){R(this,t)},Dy=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;return a=e.call(this),a.amount=new oe(u==null?void 0:u.amount),a.currency=new oe(u==null?void 0:u.currency),a}return n}(au),Fy=function t(e){R(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:En.CNY},xy=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;return a=e.call(this),a.min=new oe(u==null?void 0:u.min),a.max=new oe(u==null?void 0:u.max),a}return n}(au),Oy=function t(e){R(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},ky=function t(e){R(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var l;this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},My=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;return a=e.call(this),a.result=new oe(u==null?void 0:u.result),a.unit=new oe(u==null?void 0:u.unit),a}return n}(au),Ny=function t(e){R(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},En;(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"})(En||(En={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var lu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(lu||(lu={}));var we=function t(e){R(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var l;this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},Ly=function t(e){R(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:fe(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var l;this.headers=(l=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new sl(r)}))!==null&&l!==void 0?l:[],nu.call(this,e)},$y=function t(e){R(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var l;this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},Vy=function t(e){R(this,t);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var u;this.optType=(u=e==null?void 0:e.optType)!==null&&u!==void 0?u:""};function Hy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ru(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jy(){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 wn(t,e,n){return jy()?wn=Reflect.construct:wn=function(a,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(a,o),d=new s;return r&&bt(d,r.prototype),d},wn.apply(null,arguments)}function gt(t){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gt(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&&bt(t,e)}function Uy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wy(t,e){return e&&(Ky(e)==="object"||typeof e=="function")?e:Hy(t)}function bt(t,e){return bt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},bt(t,e)}var Ky=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ou(t){var e=typeof Map=="function"?new Map:void 0;return ou=function(u){if(u===null||!Uy(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return wn(u,arguments,gt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),bt(a,u)},ou(t)}function zy(){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 Gy(t){var e=zy();return function(){var u=gt(t),a;if(e){var l=gt(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Wy(this,a)}}var H=function t(e){ru(this,t),this.isHide={type:"boolean"}},De=function(t){qy(n,t);var e=Gy(n);function n(u){return ru(this,n),e.call(this)}return n}(ou(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ru(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new $y(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};q.Rules=H,q.RuntimeRules=De;function se(){return se=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},se.apply(this,arguments)}function Xy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function cu(t){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(t)}function In(t,e){return In=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},In(t,e)}function Qy(){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 Sn(t,e,n){return Qy()?Sn=Reflect.construct:Sn=function(a,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(a,o),d=new s;return r&&In(d,r.prototype),d},Sn.apply(null,arguments)}function Jy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function su(t){var e=typeof Map=="function"?new Map:void 0;return su=function(u){if(u===null||!Jy(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Sn(u,arguments,cu(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),In(a,u)},su(t)}var Zy=/%[sdj%]/g,gl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(gl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function du(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],l=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var r=String(a).replace(Zy,function(o){if(o==="%%")return"%";if(u>=l)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return r}return a}function Yy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function j(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Yy(e)&&typeof t=="string"&&!t)}function py(t,e,n){var u=[],a=0,l=t.length;function r(o){u.push.apply(u,o),a++,a===l&&n(u)}t.forEach(function(o){e(o,r)})}function bl(t,e,n){var u=0,a=t.length;function l(r){if(r&&r.length){n(r);return}var o=u;u=u+1,o<a?e(t[o],l):n([])}l([])}function em(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Cl=function(t){Xy(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(su(Error));function tm(t,e,n,u){if(e.first){var a=new Promise(function(m,b){var E=function(_){return u(_),_.length?b(new Cl(_,du(_))):m()},A=em(t);bl(A,n,E)});return a.catch(function(m){return m}),a}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var r=Object.keys(t),o=r.length,s=0,d=[],y=new Promise(function(m,b){var E=function(C){if(d.push.apply(d,C),s++,s===o)return u(d),d.length?b(new Cl(d,du(d))):m()};r.length||(u(d),m()),r.forEach(function(A){var C=t[A];l.indexOf(A)!==-1?bl(C,n,E):py(C,n,E)})});return y.catch(function(m){return m}),y}function El(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 wl(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=se(se({},t[n]),u):t[n]=u}}return t}function Il(t,e,n,u,a,l){t.required&&(!n.hasOwnProperty(t.field)||j(e,l||t.type))&&u.push(te(a.messages.required,t.fullField))}function nm(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(te(a.messages.whitespace,t.fullField))}var fu={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},Ct={integer:function(e){return Ct.number(e)&&parseInt(e,10)===e},float:function(e){return Ct.number(e)&&!Ct.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"&&!Ct.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(fu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(fu.url)},hex:function(e){return typeof e=="string"&&!!e.match(fu.hex)}};function im(t,e,n,u,a){if(t.required&&e===void 0){Il(t,e,n,u,a);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;l.indexOf(r)>-1?Ct[r](e)||u.push(te(a.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&u.push(te(a.messages.types[r],t.fullField,t.type))}function um(t,e,n,u,a){var l=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,y=null,m=typeof e=="number",b=typeof e=="string",E=Array.isArray(e);if(m?y="number":b?y="string":E&&(y="array"),!y)return!1;E&&(d=e.length),b&&(d=e.replace(s,"_").length),l?d!==t.len&&u.push(te(a.messages[y].len,t.fullField,t.len)):r&&!o&&d<t.min?u.push(te(a.messages[y].min,t.fullField,t.min)):o&&!r&&d>t.max?u.push(te(a.messages[y].max,t.fullField,t.max)):r&&o&&(d<t.min||d>t.max)&&u.push(te(a.messages[y].range,t.fullField,t.min,t.max))}var pe="enum";function am(t,e,n,u,a){t[pe]=Array.isArray(t[pe])?t[pe]:[],t[pe].indexOf(e)===-1&&u.push(te(a.messages[pe],t.fullField,t[pe].join(", ")))}function lm(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:Il,whitespace:nm,type:im,range:um,enum:am,pattern:lm};function rm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e,"string")&&!t.required)return n();T.required(t,e,u,l,a,"string"),j(e,"string")||(T.type(t,e,u,l,a),T.range(t,e,u,l,a),T.pattern(t,e,u,l,a),t.whitespace===!0&&T.whitespace(t,e,u,l,a))}n(l)}function om(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&T.type(t,e,u,l,a)}n(l)}function cm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&(T.type(t,e,u,l,a),T.range(t,e,u,l,a))}n(l)}function sm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&T.type(t,e,u,l,a)}n(l)}function dm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),j(e)||T.type(t,e,u,l,a)}n(l)}function fm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&(T.type(t,e,u,l,a),T.range(t,e,u,l,a))}n(l)}function hm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&(T.type(t,e,u,l,a),T.range(t,e,u,l,a))}n(l)}function ym(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,u,l,a,"array"),e!=null&&(T.type(t,e,u,l,a),T.range(t,e,u,l,a))}n(l)}function mm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&T.type(t,e,u,l,a)}n(l)}var vm="enum";function gm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&T[vm](t,e,u,l,a)}n(l)}function bm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e,"string")&&!t.required)return n();T.required(t,e,u,l,a),j(e,"string")||T.pattern(t,e,u,l,a)}n(l)}function Cm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e,"date")&&!t.required)return n();if(T.required(t,e,u,l,a),!j(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),T.type(t,o,u,l,a),o&&T.range(t,o.getTime(),u,l,a)}}n(l)}function Em(t,e,n,u,a){var l=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,u,l,a,r),n(l)}function hu(t,e,n,u,a){var l=t.type,r=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(j(e,l)&&!t.required)return n();T.required(t,e,u,r,a,l),j(e,l)||T.type(t,e,u,r,a)}n(r)}function wm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a)}n(l)}var Et={string:rm,method:om,number:cm,boolean:sm,regexp:dm,integer:fm,float:hm,array:ym,object:mm,enum:gm,pattern:bm,date:Cm,url:hu,hex:hu,email:hu,required:Em,any:wm};function yu(){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 mu=yu();function Ie(t){this.rules=null,this._messages=mu,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=wl(yu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var l=e,r=n,o=u;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(C){var _,v=[],I={};function w(F){if(Array.isArray(F)){var O;v=(O=v).concat.apply(O,F)}else v.push(F)}for(_=0;_<C.length;_++)w(C[_]);v.length?I=du(v):(v=null,I=null),o(v,I)}if(r.messages){var d=this.messages();d===mu&&(d=yu()),wl(d,r.messages),r.messages=d}else r.messages=this.messages();var y,m,b={},E=r.keys||Object.keys(this.rules);E.forEach(function(C){y=a.rules[C],m=l[C],y.forEach(function(_){var v=_;typeof v.transform=="function"&&(l===e&&(l=se({},l)),m=l[C]=v.transform(m)),typeof v=="function"?v={validator:v}:v=se({},v),v.validator=a.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=a.getType(v),!!v.validator&&(b[C]=b[C]||[],b[C].push({rule:v,value:m,source:l,field:C}))})});var A={};return tm(b,r,function(C,_){var v=C.rule,I=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");I=I&&(v.required||!v.required&&C.value),v.field=C.field;function w(ie,x){return se(se({},x),{},{fullField:v.fullField+"."+ie})}function F(ie){ie===void 0&&(ie=[]);var x=ie;if(Array.isArray(x)||(x=[x]),!r.suppressWarning&&x.length&&Ie.warning("async-validator:",x),x.length&&v.message!==void 0&&(x=[].concat(v.message)),x=x.map(El(v)),r.first&&x.length)return A[v.field]=1,_(x);if(!I)_(x);else{if(v.required&&!C.value)return v.message!==void 0?x=[].concat(v.message).map(El(v)):r.error&&(x=[r.error(v,te(r.messages.required,v.field))]),_(x);var ue={};if(v.defaultField)for(var yn in C.value)C.value.hasOwnProperty(yn)&&(ue[yn]=v.defaultField);ue=se(se({},ue),C.rule.fields);for(var ve in ue)if(ue.hasOwnProperty(ve)){var wC=Array.isArray(ue[ve])?ue[ve]:[ue[ve]];ue[ve]=wC.map(w.bind(null,ve))}var Lc=new Ie(ue);Lc.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),Lc.validate(C.value,C.rule.options||r,function(Ua){var dt=[];x&&x.length&&dt.push.apply(dt,x),Ua&&Ua.length&&dt.push.apply(dt,Ua),_(dt.length?dt:null)})}}var O;v.asyncValidator?O=v.asyncValidator(v,C.value,F,C.source,r):v.validator&&(O=v.validator(v,C.value,F,C.source,r),O===!0?F():O===!1?F(v.message||v.field+" fails"):O instanceof Array?F(O):O instanceof Error&&F(O.message)),O&&O.then&&O.then(function(){return F()},function(ie){return F(ie)})},function(C){s(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Et.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?Et.required:Et[this.getType(e)]||!1}},Ie.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Et[e]=n},Ie.warning=gl,Ie.messages=mu,Ie.validators=Et;var Im={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 Sm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(Im,e)),n}var Am=new yy;function vu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function _m(t){if(Array.isArray(t))return t}function Rm(t){if(Array.isArray(t))return vu(t)}function Sl(t,e,n,u,a,l,r){try{var o=t[l](r),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Al(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var l=t.apply(e,n);function r(s){Sl(l,u,a,r,o,"next",s)}function o(s){Sl(l,u,a,r,o,"throw",s)}r(void 0)})}}function Tm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _l(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Bm(t,e,n){return e&&_l(t.prototype,e),n&&_l(t,n),t}function Pm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Tl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dm(){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 Fm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Bl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Pm(t,a,n[a])})}return t}function xm(t){return _m(t)||Tl(t)||Pl(t,i)||Dm()}function gu(t){return Rm(t)||Tl(t)||Pl(t)||Fm()}function Pl(t,e){if(!!t){if(typeof t=="string")return vu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vu(t,e)}}var k=function(){function e(n){var u=this;Tm(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Fl,this.removeSetting=Dl,this._callControlHooks("preInstance",n);var a=Rl(this,e)?this.constructor:void 0,l=a.controlName,r=a.controlIcon,o=a.controlType,s=a.controlFieldType,d=a.controlEventKeys,y=a.controlCustomEvents,m=a.name,b=a.setting;l&&r&&o||tl("The ".concat(m," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:fe(10),this.name=l,this.icon=r;var A;this.type=(A=n==null?void 0:n.type)!==null&&A!==void 0?A:o,this.props=new q(n==null?void 0:n.props,(Rl(this,e)?this.constructor:void 0).controlName);var C;this.controlType=(C=n==null?void 0:n.controlType)!==null&&C!==void 0?C:"base",this.setting=Ce(b);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=Ce(d),this.customEvents=Ce(y),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return Bm(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}},{key:"_callControlHooks",value:function(){for(var u=arguments.length,a=new Array(u),l=0;l<u;l++)a[l]=arguments[l];var r,o=xm(a),s=o[0],d=o.slice(1);return(r=Am).emit.apply(r,[s,this].concat(gu(d)))}},{key:"preUpdate",value:function(u,a){this._callControlHooks("preUpdateProps",u,a)}},{key:"postUpdate",value:function(u,a){this._callControlHooks("postUpdateProps",u,a)}},{key:"updateProps",value:function(u,a){this.preUpdate(u,a),ty(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return Al(ae.default.mark(function a(){var l,r,o;return ae.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return l=Bl({},u.rules),d.next=3,u._callControlHooks("preValidate",l);case 3:return r=d.sent,o=r[r.length-1],d.abrupt("return",o===!1?void 0:o);case 6:case"end":return d.stop()}},a)}))()}},{key:"validate",value:function(u,a){var l=this;return Al(ae.default.mark(function r(){var o,s,d;return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,l.preValidate();case 2:return o=m.sent,s=o!==void 0?o:Bl({},l.rules),Array.isArray(a)&&a.forEach(function(b){s.hasOwnProperty(b)&&delete s[b]}),d=Sm(s,u),m.prev=6,m.next=9,d.validate(l.props);case 9:return m.abrupt("return",!0);case 12:throw m.prev=12,m.t0=m.catch(6),m.t0.control||(m.t0.control=l),m.t0;case 16:case"end":return m.stop()}},r,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,l=this.id,r=this.type,o=this.props,s=o.dataBind,d=o.datasourceBind,y=o.optionConfig,m=o.caption,b=o.required,E=o.maxLength,A=o.options,C=o.encrypted,_=o.encryptedMode;if(!(!a&&!s&&!d)){var v={parentId:u,fieldType:a,controlId:l,caption:m,type:r,props:{}};switch(s&&(v.dataBind=s),y){case"datasource":case void 0:d&&(v.datasourceBind=d);break;case"custom":v.props.options=A;break}return b!==void 0&&(v.required=b),E!==void 0&&(v.maxLength=E),C!==void 0&&(v.encrypted=C),_!==void 0&&(v.encryptedMode=_),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(u,a){if(u==="setting"){if(a.add){var l;(l=this.setting).push.apply(l,gu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();k.controlName="\u63A7\u4EF6",k.controlIcon="icon",k.controlType="control",k.controlEventKeys=[],k.controlCustomEvents=[],k.setting=[],k.__is_control__=!0,k.removeSettingItem=Dl,k.updateSettingItem=Fl;function Dl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a=typeof u!="string",l=e.setting.findIndex(function(s){return s.key===(a?u.key:u)});if(l!==-1){var r,o;a?e.setting[l].showItems=(r=e.setting[l].showItems)===null||r===void 0?void 0:r.filter(function(s){return!u.hideItems.includes(s)}):e.setting.splice(l,1),a&&!((o=e.setting[l].showItems)===null||o===void 0?void 0:o.length)&&e.setting.splice(l,1)}})}function Fl(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(a){var l=n.setting.find(function(d){return d.key===a});if(l){if(typeof e=="boolean")l.visible=e;else if(typeof e=="object"){var r,o=(r=e.type)!==null&&r!==void 0?r:"replace";if(o==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,gu(e.showItems))}}}})}function Om(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function km(t,e,n){return e&&xl(t.prototype,e),n&&xl(t,n),t}function Mm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var z=function(){function e(n){Om(this,e),this.customEvents=[],this.parent=null;var u=Mm(this,e)?this.constructor:void 0,a=u.controlType,l=u.controlFieldType,r=u.name,o=u.controlCustomEvents;a||tl("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:fe(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:l;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:lu.UNKNOWN}return km(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var a=new u(this.props);return Array.from(a)}return[]}}]),e}();z.controlType="control",z.__is_control__=!0,z.controlCustomEvents=[];function bu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,u,a){u.length===0&&a(f.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,u,a){var l=u.map(function(o){return o.value}),r=ly(l);l.length!==r.length?a(f.getMessage("optionIdIsRepeat")):a()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,u,a){u.length===0&&a(f.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function An(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(a,l,r){l.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function Ol(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Tn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cu(t,e)}function Nm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Lm(t,e){return e&&($m(e)==="object"||typeof e=="function")?e:Ol(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Cu(t,e)}var $m=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bn(t){var e=Vm();return function(){var u=Rn(t),a;if(e){var l=Rn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Lm(this,a)}}var Q=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;a=e.call(this,u),a.dataBind={},a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.isHideCaption={type:"boolean"},a.labelPosition={type:"enum",enum:["top","left"]},a.defaultState={type:"enum",enum:["default","readonly"]},a.required={type:"boolean"},a.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var l={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Nm(u.dataBind,oe))a.dataBind={type:"object",required:!0,fields:Ce(l),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){r.fields[o]={type:"object",required:!0,fields:Ce(l),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=r}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(H),M=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(De),B=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;a=e.call(this,u);var l;a.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var r;a.isHideCaption=(r=u==null?void 0:u.isHideCaption)!==null&&r!==void 0?r:!1;var o;a.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;a.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;a.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var y;a.labelPosition=(y=u==null?void 0:u.labelPosition)!==null&&y!==void 0?y:"top";var m;a.placeholder=(m=u==null?void 0:u.placeholder)!==null&&m!==void 0?m:"";var b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var E;a.requiredMessage=(E=u==null?void 0:u.requiredMessage)!==null&&E!==void 0?E:"",a.dataBind=new oe(u==null?void 0:u.dataBind);var A;return a.defaultValue=(A=u==null?void 0:u.defaultValue)!==null&&A!==void 0?A:"",a}return n}(q);B.Rules=Q,B.RuntimeRules=M;var et=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],bu.call(Ol(a),u),a}return n}(Q);function Hm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function qm(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 Um(t,e){return e&&(Wm(e)==="object"||typeof e=="function")?e:Hm(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Eu(t,e)}var Wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Km(){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 zm(t){var e=Km();return function(){var u=Pn(t),a;if(e){var l=Pn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Um(this,a)}}var P=function(t){qm(n,t);var e=zm(n);function n(u){jm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new B(u==null?void 0:u.props),a}return n}(k);P.controlEventKeys=["on_change","on_focus","on_blur"];function Gm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function Qm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wu(t,e)}function Jm(t,e){return e&&(Zm(e)==="object"||typeof e=="function")?e:Gm(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},wu(t,e)}var Zm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ym(){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=Ym();return function(){var u=Dn(t),a;if(e){var l=Dn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Jm(this,a)}}var D=function(t){Qm(n,t);var e=pm(n);function n(u){Xm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new B(u==null?void 0:u.props),a}return n}(z);function ev(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function nv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iu(t,e)}function iv(t,e){return e&&(uv(e)==="object"||typeof e=="function")?e:ev(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Iu(t,e)}var uv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function av(){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 lv(t){var e=av();return function(){var u=Fn(t),a;if(e){var l=Fn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return iv(this,a)}}var N=function(t){nv(n,t);var e=lv(n);function n(u){return tv(this,n),e.call(this,u)}return n}(q);function Su(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function rv(t){if(Array.isArray(t))return Su(t)}function ov(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cv(){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 kl(t){return rv(t)||ov(t)||sv(t)||cv()}function sv(t,e){if(!!t){if(typeof t=="string")return Su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Su(t,e)}}function dv(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function Ml(t,e){t.parent=e,dv(t,"parent")}function fv(t,e){t.forEach(function(n){Ml(n,e)})}var Nl=Symbol("targetKey");function Ll(t){var e;return(e=t[Nl])!==null&&e!==void 0?e:t}function $l(t,e){return fv(t,e),new Proxy(t,{get:function(u,a){for(var l=arguments.length,r=new Array(l>2?l-2:0),o=2;o<l;o++)r[o-2]=arguments[o];var s;return a===Nl?u:(s=Reflect).get.apply(s,[u,a].concat(kl(r)))},set:function(u,a,l){for(var r=arguments.length,o=new Array(r>3?r-3:0),s=3;s<r;s++)o[s-3]=arguments[s];var d;if(Xi(t)&&a==="length"&&l===t.length)return!0;var y=(d=Reflect).set.apply(d,[u,a,l].concat(kl(o)));return ay(l)&&Ml(l,e),y}})}function ye(t,e,n,u){var a=u!=null?u:t,l=$l(Ll(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return l},set:function(o){l=$l(Ll(o),a)},enumerable:!0})}function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function hv(t){if(Array.isArray(t))return Au(t)}function Vl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hl(t,e,n,u,a,l,r){try{var o=t[l](r),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function yv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var l=t.apply(e,n);function r(s){Hl(l,u,a,r,o,"next",s)}function o(s){Hl(l,u,a,r,o,"throw",s)}r(void 0)})}}function mv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function vv(t,e,n){return e&&jl(t.prototype,e),n&&jl(t,n),t}function gv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?tt=Reflect.get:tt=function(a,l,r){var o=Av(a,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r):s.value}},tt(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function bv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_u(t,e)}function Cv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Ev(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wv(){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 Iv(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){gv(t,a,n[a])})}return t}function Sv(t,e){return e&&(_v(e)==="object"||typeof e=="function")?e:Vl(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},_u(t,e)}function Av(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function ql(t){return hv(t)||Ev(t)||Rv(t)||wv()}var _v=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Rv(t,e){if(!!t){if(typeof t=="string")return Au(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 Au(t,e)}}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 u=Se(t),a;if(e){var l=Se(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Sv(this,a)}}var Pv=1e4,$=function(e){bv(u,e);var n=Bv(u);function u(a){mv(this,u);var l;l=n.call(this,a),l.controlType="layout";var r=Cv(this,u)?this.constructor:void 0,o=r.excludes,s=r.childrenMaxLength;return l.props=new N(a==null?void 0:a.props),ye(Vl(l),"children",a==null?void 0:a.children),l.excludes=Ce(o),l.childrenMaxLength=s,l}return vv(u,[{key:"judgeExcludesChildren",value:function(l){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(l)}},{key:"judgeJoinChildren",value:function(l){var r=this.judgeExcludesChildren(l);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(l,r){var o=this,s=this,d=function(){return tt(Se(u.prototype),"validate",o)};return yv(ae.default.mark(function y(){return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,l,r);case 2:return b.next=4,Promise.all(s.children.map(function(E){return E.validate(l,r)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},y)}))()}},{key:"toDataBindModel",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=tt(Se(u.prototype),"toDataBindModel",this).call(this),o=r?[r]:[];return this.children.reduce(function(s,d){var y=d.toDataBindModel(l);if(Array.isArray(y)){var m=y.filter(function(b){return!!b});return ql(s).concat(ql(m))}return y&&s.push(y),s},o)}},{key:"toSchema",value:function(){var l=tt(Se(u.prototype),"toSchema",this).call(this),r=this.children.map(function(o){var s=o.toSchema();return s});return Iv({},l,{children:r})}}]),u}(k);$.excludes=!1,$.childrenMaxLength=Pv;function Ul(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 xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function Fv(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 xv(t,e){return e&&(Ov(e)==="object"||typeof e=="function")?e:Ul(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ru(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 Mv(t){var e=kv();return function(){var u=xn(t),a;if(e){var l=xn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return xv(this,a)}}var U=function(t){Fv(n,t);var e=Mv(n);function n(u){Dv(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new N(u==null?void 0:u.props),ye(Ul(a),"children",u==null?void 0:u.children),a}return n}(z);function Wl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function 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&&Tu(t,e)}function $v(t,e){return e&&(Vv(e)==="object"||typeof e=="function")?e:Wl(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Tu(t,e)}var Vv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hv(){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=Hv();return function(){var u=On(t),a;if(e){var l=On(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return $v(this,a)}}var kn=function(t){Lv(n,t);var e=jv(n);function n(u,a){Nv(this,n);var l;return l=e.call(this,a),ye(Wl(l),"headers",a==null?void 0:a.headers,u),l}return n}(q);function Bu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function qv(t){if(Array.isArray(t))return Bu(t)}function Kl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zl(t,e,n,u,a,l,r){try{var o=t[l](r),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Uv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var l=t.apply(e,n);function r(s){zl(l,u,a,r,o,"next",s)}function o(s){zl(l,u,a,r,o,"throw",s)}r(void 0)})}}function Wv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Kv(t,e,n){return e&&Gl(t.prototype,e),n&&Gl(t,n),t}function zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?nt=Reflect.get:nt=function(a,l,r){var o=Zv(a,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r):s.value}},nt(t,e,n||t)}function Ae(t){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ae(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&&Pu(t,e)}function Xv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Qv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){zv(t,a,n[a])})}return t}function Jv(t,e){return e&&(Yv(e)==="object"||typeof e=="function")?e:Kl(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Pu(t,e)}function Zv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ae(t),t!==null););return t}function Ql(t){return qv(t)||Xv(t)||pv(t)||Qv()}var Yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pv(t,e){if(!!t){if(typeof t=="string")return Bu(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 Bu(t,e)}}function eg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function tg(t){var e=eg();return function(){var u=Ae(t),a;if(e){var l=Ae(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Jv(this,a)}}var Du=function(t){Gv(n,t);var e=tg(n);function n(u){Wv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new kn(Kl(a),u==null?void 0:u.props),a}return Kv(n,[{key:"validate",value:function(a,l){var r=this,o=this,s=function(){return nt(Ae(n.prototype),"validate",r)};return Uv(ae.default.mark(function d(){return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,s().call(o,a);case 2:return m.next=4,Promise.all(o.props.headers.map(function(b){return b.validate(a,l)}));case 4:return m.abrupt("return",!0);case 5:case"end":return m.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=nt(Ae(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[],r=this.id;return this.props.headers.reduce(function(o,s){var d=s.toDataBindModel(r);if(Array.isArray(d)){var y=d.filter(function(m){return!!m});return Ql(o).concat(Ql(y))}return d&&o.push(d),o},l)}},{key:"toSchema",value:function(){var a=nt(Ae(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(r){return r.toSchema()});return Xl({},a,{props:Xl({},this.props,{headers:l})})}}]),n}(k);Du.controlFieldType=g.LIST;function Fu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ng(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function ig(t,e,n){return e&&Jl(t.prototype,e),n&&Jl(t,n),t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function ug(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xu(t,e)}function ag(t,e){return e&&(lg(e)==="object"||typeof e=="function")?e:Fu(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},xu(t,e)}var lg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function og(t){var e=rg();return function(){var u=Mn(t),a;if(e){var l=Mn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return ag(this,a)}}var Zl=function(t){ug(n,t);var e=og(n);function n(u){ng(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new kn(Fu(a),u==null?void 0:u.props),ye(Fu(a),"children",u==null?void 0:u.children),a}return ig(n,[{key:"length",get:function(){return this.children.length}}]),n}(z);function Yl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ou(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 ku(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 cg(t,e){return e&&(sg(e)==="object"||typeof e=="function")?e:Yl(t)}function Mu(t,e){return Mu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Mu(t,e)}var sg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Nu(t){var e=dg();return function(){var u=Nn(t),a;if(e){var l=Nn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return cg(this,a)}}var me=function(t){ku(n,t);var e=Nu(n);function n(u){Ou(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}(H),V=function(t){ku(n,t);var e=Nu(n);function n(u){Ou(this,n);var a;a=e.call(this,u);var l;a.width=(l=u==null?void 0:u.width)!==null&&l!==void 0?l:150,a.widthType=(u==null?void 0:u.widthType)||"auto";var r;a.caption=(r=u==null?void 0:u.caption)!==null&&r!==void 0?r:"";var o;a.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",a.autoWidth=new cl(u==null?void 0:u.autoWidth),a.dataBind=new oe(u==null?void 0:u.dataBind);var s;a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan;var d;return a.autoHeight=(d=u==null?void 0:u.autoHeight)!==null&&d!==void 0?d:!1,a}return n}(q);V.Rules=me;var pl=function(t){ku(n,t);var e=Nu(n);function n(u){Ou(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],bu.call(Yl(a),u),a}return n}(me);function fg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function yg(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 mg(t,e){return e&&(vg(e)==="object"||typeof e=="function")?e:fg(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Lu(t,e)}var vg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gg(){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 bg(t){var e=gg();return function(){var u=Ln(t),a;if(e){var l=Ln(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return mg(this,a)}}var G=function(t){yg(n,t);var e=bg(n);function n(u){hg(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new V(u==null?void 0:u.props),a}return n}(k);function Cg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function wg(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 Ig(t,e){return e&&(Sg(e)==="object"||typeof e=="function")?e:Cg(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},$u(t,e)}var Sg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _g(t){var e=Ag();return function(){var u=$n(t),a;if(e){var l=$n(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Ig(this,a)}}var X=function(t){wg(n,t);var e=_g(n);function n(u){Eg(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new V(u==null?void 0:u.props),a}return n}(z);function Rg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function Bg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vu(t,e)}function Pg(t,e){return e&&(Dg(e)==="object"||typeof e=="function")?e:Rg(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Vu(t,e)}var Dg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Fg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xg(t){var e=Fg();return function(){var u=Vn(t),a;if(e){var l=Vn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Pg(this,a)}}var Hu=function(t){Bg(n,t);var e=xg(n);function n(u){Tg(this,n);var a;return a=e.call(this,u),a.dataBind=new oe(u==null?void 0:u.dataBind),a}return n}(N);function Og(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function Mg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ju(t,e)}function Ng(t,e){return e&&(Lg(e)==="object"||typeof e=="function")?e:Og(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ju(t,e)}var Lg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $g(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Vg(t){var e=$g();return function(){var u=Hn(t),a;if(e){var l=Hn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Ng(this,a)}}var Hg=function(t){Mg(n,t);var e=Vg(n);function n(u){kg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new Hu(u==null?void 0:u.props),a}return n}($);function jg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function Ug(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qu(t,e)}function Wg(t,e){return e&&(Kg(e)==="object"||typeof e=="function")?e:jg(t)}function qu(t,e){return qu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},qu(t,e)}var Kg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function zg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gg(t){var e=zg();return function(){var u=jn(t),a;if(e){var l=jn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Wg(this,a)}}var Xg=function(t){Ug(n,t);var e=Gg(n);function n(u){qg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new Hu(u==null?void 0:u.props),a}return n}(U);function Fe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Uu extends q{constructor(e){super(e);var n,u,a,l,r;this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(l=e==null?void 0:e.showState)!=null?l:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class er extends k{static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}er.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 Qg extends z{static get controlType(){return"text"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}var tr={Designer:er,Runtime:Qg,Property:Uu};class Wu extends q{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class Ku extends k{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new Wu(e==null?void 0:e.props)}}Ku.controlEventKeys=["on_click"],Ku.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 Jg extends z{static get controlType(){return"link"}constructor(e){super(e);this.props=new Wu(e==null?void 0:e.props)}}var nr={Designer:Ku,Runtime:Jg,Property:Wu};class Z extends q{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1,this.optObj=new Vy((y=e==null?void 0:e.optObj)!=null?y:{})}}class Y extends k{static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}Y.controlEventKeys=["on_click","on_click_finish"],Y.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ne extends z{static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}var ir={Designer:Y,Runtime:ne,Property:Z},_e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(_e||{}),ur=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ur||{}),ar=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(ar||{});class qn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var zu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(zu||{});class Un{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var Gu=(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))(Gu||{});class Xu{constructor(e){var n,u,a,l,r,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new vt((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new vt((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new vt((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class lr{constructor(e){var n,u,a,l,r,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new Xu(s)))!=null?a:[new Xu],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Qu{constructor(e){var n,u,a,l,r,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ju{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class rr{constructor(e){var n,u,a,l;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new Ju(e==null?void 0:e.watermark),this.autoRename=new Ju(e==null?void 0:e.autoRename)}}const or=480;function wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class cr{constructor(e){var n,u,a,l,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(r=e.rules)!=null?r:[]}}class sr{constructor(e){var n,u,a;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var dr=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(dr||{}),Zu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Zu||{}),Wn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Wn||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),Yu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Yu||{});class pu extends q{constructor(e){super(e);var n,u;this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:Gu.SOLID}}class fr extends k{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}fr.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Zg extends z{static get controlType(){return"divider"}constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}var hr={Designer:fr,Runtime:Zg,Property:pu};class Yg extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(_e.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class Kn extends q{constructor(e){super(e);var n,u,a,l;this.dataBind=new oe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[_e.ShowSubmitUser,_e.ShowSubmitDept,_e.ShowSubmitTime,_e.ShowCurrentApprovar,_e.ShowTitle],this.caption=(a=(u=e==null?void 0:e.caption)!=null?u:it==null?void 0:it.controlName)!=null?a:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Kn.Rules=Yg;class it extends k{static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}it.controlFieldType=g.AUTO_NUMBER,it.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class pg extends z{static get controlType(){return"title"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}var yr={Designer:it,Runtime:pg,Property:Kn};class e0 extends H{constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class zn extends Z{constructor(e){super(e);var n,u,a,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:It.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:It.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}zn.Rules=e0;class It extends Y{static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}It.controlEventKeys=["on_click","on_click_finish"],It.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 t0 extends ne{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}var mr={Designer:It,Runtime:t0,Property:zn};class n0 extends H{constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Gn extends Z{constructor(e){super(e);var n,u,a,l,r,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:St.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:St.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Gn.Rules=n0;class St extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}St.controlEventKeys=["on_click","on_click_finish"],St.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 i0 extends ne{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}var vr={Designer:St,Runtime:i0,Property:Gn};class ea extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:At.controlIcon}}class At extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new ea(e==null?void 0:e.props)}}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 u0 extends ne{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new ea(e==null?void 0:e.props)}}var gr={Designer:At,Runtime:u0,Property:ea};class ta extends Z{constructor(e){super(e);var n,u,a,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:_t.controlName,this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(r=>new Qu(r)))!=null?l:[new Qu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class _t extends Y{static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}_t.controlEventKeys=["on_click","on_click_finish"],_t.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 a0 extends ne{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}var br={Designer:_t,Runtime:a0,Property:ta};class na extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Rt.controlIcon}}class Rt extends Y{static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}Rt.controlEventKeys=["on_click"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class l0 extends ne{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}var Cr={Designer:Rt,Runtime:l0,Property:na};class r0{constructor(e){this.dataCode=e.dataCode}}class ia extends Z{constructor(e){super(e);var n,u,a,l;this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Tt.controlIcon,this.canImportList=(l=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(r=>new r0(r)))!=null?l:[]}}class Tt extends Y{static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class o0 extends ne{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}var Er={Designer:Tt,Runtime:o0,Property:ia};function Xn(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class c0 extends H{constructor(e){super(e);this.fillPayload={type:"object",fields:ge({},Xn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Xn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Qn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Bt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new uu(e==null?void 0:e.fillPayload),this.formBind=new wy(e==null?void 0:e.formBind),this.fillBack=new ml(e==null?void 0:e.fillBack)}}Qn.Rules=c0;class Bt extends Y{static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Qn(e==null?void 0:e.props)}}Bt.controlEventKeys=["on_click","on_click_finish"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class s0 extends ne{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Qn(e==null?void 0:e.props)}}var wr={Designer:Bt,Runtime:s0,Property:Qn};class d0 extends H{constructor(e){super(e);this.fillPayload={type:"object",fields:ge({},Xn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Xn())}}}class Jn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Pt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Pt.controlIcon,this.fillPayload=new uu(e==null?void 0:e.fillPayload),this.listPageBind=new pi(e==null?void 0:e.listPageBind),this.fillBack=new ml(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new iu(e==null?void 0:e.selectedContentConfig)}}Jn.Rules=d0;class Pt extends Y{static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}Pt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Pt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class f0 extends ne{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}var Ir={Designer:Pt,Runtime:f0,Property:Jn};class h0 extends H{constructor(e){super(e)}}class y0 extends De{constructor(e){super(e)}}class Dt extends q{constructor(e){super(e)}}Dt.Rules=h0,Dt.RuntimeRules=y0;class Sr extends k{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Dt(e==null?void 0:e.props)}}Sr.setting=[];class m0 extends z{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Dt(e==null?void 0:e.props)}}var Ar={Designer:Sr,Runtime:m0,Property:Dt};class v0 extends H{constructor(e){super(e);this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends q{constructor(e){super(e);var n,u,a,l,r,o;this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}Zn.Rules=v0;class _r extends k{static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Zn(e==null?void 0:e.props)}}_r.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 g0 extends z{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Zn(e==null?void 0:e.props)}}var Rr={Designer:_r,Runtime:g0,Property:Zn};class b0 extends H{constructor(e){super(e);this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Yn extends q{constructor(e){super(e);var n,u,a;this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(u=e==null?void 0:e.viewList)==null?void 0:u.map(l=>new Ly(l)))!=null?a:[]}}Yn.Rules=b0;class Tr extends k{static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}Tr.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class C0 extends z{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}var Br={Designer:Tr,Runtime:C0,Property:Yn};class E0 extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,u,a){if(u.every(r=>!r.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class pn extends Z{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:ut.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ut.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(m=(y=e==null?void 0:e.fillList)==null?void 0:y.map(b=>new p(b)))!=null?m:[]}}pn.Rules=E0;class ut extends Y{static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new pn(e==null?void 0:e.props)}}ut.controlEventKeys=["on_click","on_click_finish"],ut.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 w0 extends ne{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new pn(e==null?void 0:e.props)}}var Pr={Designer:ut,Runtime:w0,Property:pn};class I0 extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,u,a){if(u.every(r=>!r.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ei extends Z{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:at.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:at.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(m=(y=e==null?void 0:e.fillList)==null?void 0:y.map(b=>new p(b)))!=null?m:[]}}ei.Rules=I0;class at extends Y{static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}at.controlEventKeys=["on_click","on_click_finish"],at.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 S0 extends ne{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}var Dr={Designer:at,Runtime:S0,Property:ei};class A0 extends H{constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class ti extends Z{constructor(e){super(e);var n,u,a,l,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:Ft.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Ft.controlName,this.printTemplates=(l=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new cr(o)))!=null?l:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}ti.Rules=A0;class Ft extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}Ft.controlEventKeys=["on_click","on_click_finish"],Ft.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 _0 extends ne{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}var Fr={Designer:Ft,Runtime:_0,Property:ti};class ua extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:xt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:xt.controlIcon}}class xt extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}xt.controlEventKeys=["on_click"],xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class R0 extends ne{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}var xr={Designer:xt,Runtime:R0,Property:ua};class T0 extends H{constructor(e){super(e);this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class ni extends q{constructor(e){super(e);var n,u,a,l,r;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}ni.Rules=T0;class ii extends k{static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new ni(e==null?void 0:e.props)}}ii.controlEventKeys=["on_click"],ii.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 B0 extends z{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new ni(e==null?void 0:e.props)}}var Or={Designer:ii,Runtime:B0,Property:ni};class aa extends q{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.content=(n=e==null?void 0:e.content)!=null?n:Ot.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ot.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(y=e==null?void 0:e.isLoading)!=null?y:!1}}class Ot extends k{static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new aa(e==null?void 0:e.props)}}Ot.controlEventKeys=["on_click"],Ot.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class P0 extends z{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new aa(e==null?void 0:e.props)}}var kr={Designer:Ot,Runtime:P0,Property:aa},D0=Object.freeze({__proto__:null,Text:tr,Link:nr,Button:ir,Divider:hr,Title:yr,CreateFormListButton:mr,BatchSubmissionListButton:vr,SubmissionRecordListButton:gr,ExportListButton:br,ExportRecordListButton:Cr,ImportRecordListButton:Er,FormSelectButton:wr,ListSelectButton:Ir,Pagination:Ar,Dashboard:Rr,ListViewSelect:Br,TextOcrButton:Pr,InvoiceCheckButton:Dr,BatchPrintListButton:Fr,BatchPrintRecordListButton:xr,OperationButton:Or,BatchDeleteButton:kr});class F0 extends Q{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class x0 extends M{constructor(e){super(e);this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class lt extends B{constructor(e){super(e);var n,u,a,l,r,o,s;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new vl(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:rt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}lt.Rules=F0,lt.RuntimeRules=x0;class rt extends P{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}constructor(e){super(e);this.props=new lt(e==null?void 0:e.props)}}rt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rt.controlFieldType=g.VARCHAR,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:"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 Mr extends D{static get controlType(){return"input"}constructor(e){super(e);this.props=new lt(e==null?void 0:e.props)}}Mr.controlFieldType=g.VARCHAR;var Nr={Designer:rt,Runtime:Mr,Property:lt};class O0 extends et{constructor(e){super(e);this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class k0 extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class kt extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Mt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var _;(_=this.multistageFilling)==null||_.push(new p(C))}))}}kt.Rules=O0,kt.RuntimeRules=k0;class Mt extends P{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Mt.controlEventKeys=["on_change","on_click"],Mt.controlFieldType=g.ARRAY,Mt.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 Lr extends D{static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Lr.controlFieldType=g.ARRAY;var $r={Designer:Mt,Runtime:Lr,Property:kt};class M0 extends et{constructor(e){super(e)}}class ui extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Nt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var A;(A=this.multistageFilling)==null||A.push(new p(E))}))}}ui.Rules=M0;class Nt extends P{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new ui(e==null?void 0:e.props)}}Nt.controlEventKeys=["on_change","on_click"],Nt.controlFieldType=g.VARCHAR,Nt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Vr extends D{static get controlType(){return"radio"}constructor(e){super(e);this.props=new ui(e==null?void 0:e.props)}}Vr.controlFieldType=g.VARCHAR;var Hr={Designer:Nt,Runtime:Vr,Property:ui};class N0 extends Q{constructor(e){super(e);this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class L0 extends M{constructor(e){super(e);this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Lt extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(y=e==null?void 0:e.unitPosition)!=null?y:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:$t.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:"\u8BF7\u8F93\u5165",this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:"",this.regularRules=new vl(e==null?void 0:e.regularRules)}}Lt.Rules=N0,Lt.RuntimeRules=L0;class $t extends P{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}$t.controlEventKeys=["on_change","on_input","on_focus","on_blur"],$t.controlFieldType=g.DECIMAL,$t.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 jr extends D{static get controlType(){return"number"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}}jr.controlFieldType=g.DECIMAL;var qr={Designer:$t,Runtime:jr,Property:Lt};class la extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:ai.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(y=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(E=>new qn(E)))!=null?y:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class ai extends P{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new la(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}ai.controlFieldType=g.TIMESTAMP,ai.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ur extends D{static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new la(e==null?void 0:e.props)}}Ur.controlFieldType=g.TIMESTAMP;var Wr={Designer:ai,Runtime:Ur,Property:la};class $0 extends M{constructor(e){super(e);this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class li extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b;this.dataBind=new xy(e==null?void 0:e.dataBind),this.defaultValue=new Oy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(y=e==null?void 0:e.caption)!=null?y:ri.controlName,this.limitDateList=(b=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(E=>new qn(E)))!=null?b:[]}}li.RuntimeRules=$0;class ri extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}ri.controlFieldType=g.TIMESCOPE,ri.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Kr extends D{static get controlType(){return"date-range"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}}Kr.controlFieldType=g.TIMESCOPE;var zr={Designer:ri,Runtime:Kr,Property:li};class V0 extends Q{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class H0 extends M{constructor(e){super(e);this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Vt extends B{constructor(e){super(e);var n,u,a,l,r,o;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ht.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}Vt.Rules=V0,Vt.RuntimeRules=H0;class Ht extends P{static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}constructor(e){super(e);this.props=new Vt(e==null?void 0:e.props)}}Ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ht.controlFieldType=g.TEXT,Ht.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 Gr extends D{static get controlType(){return"textarea"}constructor(e){super(e);this.props=new Vt(e==null?void 0:e.props)}}Gr.controlFieldType=g.TEXT;var Xr={Designer:Ht,Runtime:Gr,Property:Vt};class j0 extends Q{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class q0 extends M{constructor(e){super(e);this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class jt extends B{constructor(e){super(e);var n,u,a,l,r;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:qt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}jt.Rules=j0,jt.RuntimeRules=q0;class qt extends P{static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new jt(e==null?void 0:e.props)}}qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],qt.controlFieldType=g.TEXT,qt.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 Qr extends D{static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new jt(e==null?void 0:e.props)}}Qr.controlFieldType=g.TEXT;var Jr={Designer:qt,Runtime:Qr,Property:jt};class U0 extends et{constructor(e){super(e)}}class oi extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:ci.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var E;(E=this.multistageFilling)==null||E.push(new p(b))})),this.canViewForm=(y=e==null?void 0:e.canViewForm)!=null?y:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new Ye(e==null?void 0:e.formBind)}}oi.Rules=U0;class ci extends P{static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}constructor(e){super(e);this.props=new oi(e==null?void 0:e.props)}}ci.controlFieldType=g.VARCHAR,ci.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.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Zr extends D{static get controlType(){return"select"}constructor(e){super(e);this.props=new oi(e==null?void 0:e.props)}}Zr.controlFieldType=g.VARCHAR;var Yr={Designer:ci,Runtime:Zr,Property:oi};class W0 extends et{constructor(e){super(e)}}class K0 extends M{constructor(e){super(e);this[0].type="array"}}class Ut extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:si.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new p(m))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new Ye(e==null?void 0:e.formBind)}}Ut.Rules=W0,Ut.RuntimeRules=K0;class si extends P{static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}}si.controlFieldType=g.ARRAY,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class pr extends D{static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}}pr.controlFieldType=g.ARRAY;var eo={Designer:si,Runtime:pr,Property:Ut};class z0 extends M{constructor(e){super(e);this[0].type="array"}}class di extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:fi.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(y=e==null?void 0:e.openMultistageFilling)!=null?y:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new p(m))}))}}di.RuntimeRules=z0;class fi extends P{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}fi.controlFieldType=g.EMPLOYEES,fi.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 to extends D{static get controlType(){return"employee"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}to.controlFieldType=g.EMPLOYEES;var no={Designer:fi,Runtime:to,Property:di};const G0=10485760,X0=104857600,Q0=1048576e3;class J0 extends Q{constructor(e){super(e);this.maxSize={type:"number",min:0,max:Q0,message:f.getMessage("attachmentMaxSize")}}}class Z0 extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class ot extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:X0,this.caption=(s=e==null?void 0:e.caption)!=null?s:ct.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}ot.Rules=J0,ot.RuntimeRules=Z0;class ct extends P{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new ot(e==null?void 0:e.props)}}ct.controlEventKeys=["on_change"],ct.controlFieldType=g.FILE,ct.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 ra extends D{static get controlType(){return"attachment"}constructor(e){super(e);this.props=new ot(e==null?void 0:e.props)}}ra.controlFieldType=g.FILE;var io={Designer:ct,Runtime:ra,Property:ot};const uo=class extends ct{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){super(t);var e,n,u,a;this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:uo.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let oa=uo;oa.controlFieldType=g.IMAGE,oa.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 Y0 extends ra{static get controlType(){return"image"}constructor(e){super(e);var n,u,a,l,r,o;this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(l=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?l:"\u56FE\u7247",this.props.placeholder=(o=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class p0 extends ot{constructor(e){super(e)}}var ao={Designer:oa,Runtime:Y0,Property:p0};class eb extends et{constructor(e){super(e);this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class tb extends M{constructor(e){super(e);this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[mn(ge({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class Wt extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Dy(e==null?void 0:e.dataBind),this.datasourceBind=new K((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new tu({value:"name"})]}),this.defaultValue=new Fy((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:En.CNY}),this.options=he(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Kt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Wt.Rules=eb,Wt.RuntimeRules=tb;class Kt extends P{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new Wt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Kt.controlFieldType=g.MONEY,Kt.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 lo extends D{static get controlType(){return"amount"}constructor(e){super(e);this.props=new Wt(e==null?void 0:e.props)}}lo.controlFieldType=g.MONEY;var ro={Designer:Kt,Runtime:lo,Property:Wt};class nb extends Q{constructor(e){super(e);this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class ib extends M{constructor(e){super(e);this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class zt extends B{constructor(e){super(e);var n,u,a,l,r,o,s;this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:zu.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(r=(l=e==null?void 0:e.explain)==null?void 0:l.map(d=>new Un(d)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Un),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Gt.controlName}}zt.Rules=nb,zt.RuntimeRules=ib;class Gt extends P{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new Un);this.props.explain.push(...a)}}super.postUpdate(e,n)}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=g.DECIMAL,Gt.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 oo extends D{static get controlType(){return"score"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}}oo.controlFieldType=g.DECIMAL;var co={Designer:Gt,Runtime:oo,Property:zt};class ub extends M{constructor(e){super(e);if(this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class hi extends B{constructor(e){super(e);var n,u,a,l,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:yi.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new ky((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}hi.RuntimeRules=ub;class yi extends P{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}yi.controlFieldType=g.ADDRESS,yi.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 so extends D{static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}so.controlFieldType=g.ADDRESS;var fo={Designer:yi,Runtime:so,Property:hi};class ab extends M{constructor(e){super(e);this[0].type="array"}}class mi extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:Xt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var A;(A=this.multistageFilling)==null||A.push(new p(E))}))}}mi.RuntimeRules=ab;class Xt extends P{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}Xt.controlName="\u90E8\u95E8",Xt.controlFieldType=g.DEPARTMENTS,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.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 ho extends D{static get controlType(){return"department"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}ho.controlFieldType=g.DEPARTMENTS;var yo={Designer:Xt,Runtime:ho,Property:mi};class ca extends B{constructor(e){super(e);var n,u,a;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:Qt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Qt extends P{static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new ca(e==null?void 0:e.props)}}Qt.controlEventKeys=["on_change"],Qt.controlFieldType=g.AUTO_NUMBER,Qt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class mo extends D{static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new ca(e==null?void 0:e.props)}}mo.controlFieldType=g.AUTO_NUMBER;var vo={Designer:Qt,Runtime:mo,Property:ca};class lb 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 rb extends M{constructor(e){super(e);this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class Jt extends B{constructor(e){super(e);var n,u,a,l,r,o,s;this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new My(e==null?void 0:e.dataBind),this.defaultValue=new Ny(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Zt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}Jt.Rules=lb,Jt.RuntimeRules=rb;class Zt extends P{static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Zt.controlEventKeys=["on_change"],Zt.controlFieldType=g.CALC,Zt.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 go extends D{static get controlType(){return"calc"}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}}go.controlFieldType=g.CALC;var bo={Designer:Zt,Runtime:go,Property:Jt};class ob extends M{constructor(e){super(e);this[0].type="array",this.push({validator(n,u){return e.required&&u.every(l=>!l)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class vi extends B{constructor(e){super(e);var n,u,a,l,r,o;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:gi.controlName}}vi.RuntimeRules=ob;class gi extends P{static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}gi.controlFieldType=g.DECIMAL_RANGE,gi.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 Co extends D{static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}Co.controlFieldType=g.DECIMAL_RANGE;var Eo={Designer:gi,Runtime:Co,Property:vi};class cb extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class bi extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:be.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(y=e==null?void 0:e.placeholderEnd)!=null?y:"\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:Ci.controlName,this.limitDateList=(E=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(A=>new qn(A)))!=null?E:[]}}bi.RuntimeRules=cb;class Ci extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Ci.controlFieldType=g.ARRAY,Ci.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class wo extends D{static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}wo.controlFieldType=g.ARRAY;var Io={Designer:Ci,Runtime:wo,Property:bi};class sb extends Q{constructor(e){super(e);this.dataBind={type:"any"}}}class db extends M{constructor(e){super(e);this[0].type="any"}}class Yt extends B{constructor(e){super(e);var n,u,a,l,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:pt.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Yt.Rules=sb,Yt.RuntimeRules=db;class pt extends P{static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Yt(e==null?void 0:e.props)}}pt.controlFieldType=g.ANY,pt.controlEventKeys=[],pt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class So extends D{static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Yt(e==null?void 0:e.props)}}So.controlFieldType=g.ANY;var Ao={Designer:pt,Runtime:So,Property:Yt};class fb extends et{constructor(e){super(e);this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class Ei extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.options=he((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new pi(e==null?void 0:e.listPageBind),this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:en.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new iu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new p(m))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new Ye(e==null?void 0:e.formBind)}}Ei.Rules=fb;class en extends P{static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}en.controlFieldType=g.VARCHAR,en.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.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],en.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class _o extends D{static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}_o.controlFieldType=g.VARCHAR;var Ro={Designer:en,Runtime:_o,Property:Ei};class sa extends lt{constructor(e){super(e)}}class To extends rt{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new sa(e==null?void 0:e.props)}}To.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 Bo extends D{static get controlType(){return"search-input"}constructor(e){super(e);this.props=new sa(e==null?void 0:e.props)}}Bo.controlFieldType=g.VARCHAR;var Po={Designer:To,Runtime:Bo,Property:sa};class hb extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],An.call(this,e,Te.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class yb extends M{constructor(e){super(e);this[0].type="array"}}class tn extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A,C,_,v,I,w;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(d=e==null?void 0:e.isShowFilterItem)!=null?d:!1,this.isShowIncludeSub=(y=e==null?void 0:e.isShowIncludeSub)!=null?y:!1,this.defaultCollapse=(m=e==null?void 0:e.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new hl((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Te.controlCustomAttributes}),this.filterItemDatasourceBind=new hl((A=e==null?void 0:e.filterItemDatasourceBind)!=null?A:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.defaultDisplay=(_=e==null?void 0:e.defaultDisplay)!=null?_:!1,this.multistageFilling=(I=(v=e==null?void 0:e.multistageFilling)==null?void 0:v.map(F=>new p(F)))!=null?I:[],this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:[]}}tn.Rules=hb,tn.RuntimeRules=yb;class Te extends P{static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=g.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Do extends D{static get controlType(){return"tree"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}Do.controlFieldType=g.ARRAY;var Fo={Designer:Te,Runtime:Do,Property:tn};class mb extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},An.call(this,e,st.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class vb extends M{constructor(e){super(e);this[0].type="array"}}class nn extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A,C;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:st.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Cn((y=e==null?void 0:e.datasourceBind)!=null?y:{attributes:st.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Zu.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Yu.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Re.ALL,this.externalScope=(A=e==null?void 0:e.externalScope)!=null?A:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var v;(v=this.multistageFilling)==null||v.push(new p(_))}))}}nn.Rules=mb,nn.RuntimeRules=vb;class st extends P{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new nn(e==null?void 0:e.props)}}st.controlFieldType=g.EMPLOYEES,st.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 xo extends D{static get controlType(){return"employee2"}constructor(e){super(e);this.props=new nn(e==null?void 0:e.props)}}xo.controlFieldType=g.EMPLOYEES;var Oo={Designer:st,Runtime:xo,Property:nn};class gb 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,u,a)=>(n[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(l,r,o){if(u.type==="public"&&Xi(r.value)&&r.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(l,r,o){if(u.type==="public"&&u.signatureType.includes("company")&&Xi(r.value)&&r.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class wi extends B{constructor(e){super(e);var n,u,a,l,r,o;this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:un.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new lr(e==null?void 0:e.signatureConfig)}}wi.Rules=gb;class un extends P{static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}un.controlEventKeys=["on_click","on_click_finish"],un.controlFieldType=g.VARCHAR,un.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 ko extends D{static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}ko.controlFieldType=g.VARCHAR;var Mo={Designer:un,Runtime:ko,Property:wi};class bb extends Q{constructor(e){super(e);this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class Cb extends M{constructor(e){super(e);this[0].type="array"}}class an extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E;this.caption=(n=e==null?void 0:e.caption)!=null?n:ln.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(y=e==null?void 0:e.canDelete)!=null?y:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:G0,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new rr(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}an.Rules=bb,an.RuntimeRules=Cb;class ln extends P{static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}constructor(e){super(e);this.props=new an(e==null?void 0:e.props)}}ln.controlEventKeys=["on_change","on_wps_open"],ln.controlFieldType=g.FILE,ln.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 No extends D{static get controlType(){return"wps"}constructor(e){super(e);this.props=new an(e==null?void 0:e.props)}}No.controlFieldType=g.FILE;var Lo={Designer:ln,Runtime:No,Property:an};class Eb extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},An.call(this,e,xe.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class wb extends M{constructor(e){super(e);this[0].type="array"}}class rn extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A,C,_;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:xe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Cn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:xe.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Wn.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var I;(I=this.multistageFilling)==null||I.push(new p(v))}))}}rn.Rules=Eb,rn.RuntimeRules=wb;class xe extends P{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}xe.controlName="\u90E8\u95E8",xe.controlFieldType=g.DEPARTMENTS,xe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class $o extends D{static get controlType(){return"department2"}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}}$o.controlFieldType=g.DEPARTMENTS;var Vo={Designer:xe,Runtime:$o,Property:rn};class Ib extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},An.call(this,e,Oe.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Sb extends M{constructor(e){super(e);this[0].type="array"}}class on extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A,C,_,v,I,w;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.listPageBind=new pi(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:Oe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new By((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Wn.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,this.organizingFunction=(_=e==null?void 0:e.organizingFunction)!=null?_:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(I=e==null?void 0:e.showSelectedDetail)!=null?I:!1,this.selectedContentConfig=new iu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(F=>{var O;(O=this.multistageFilling)==null||O.push(new p(F))}))}}on.Rules=Ib,on.RuntimeRules=Sb;class Oe extends P{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new on(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}Oe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Oe.controlFieldType=g.DEPARTMENTS,Oe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Ho extends D{static get controlType(){return"organization-selection"}constructor(e){super(e);this.props=new on(e==null?void 0:e.props)}}Ho.controlFieldType=g.DEPARTMENTS;var jo={Designer:Oe,Runtime:Ho,Property:on},Ab=Object.freeze({__proto__:null,Input:Nr,Checkbox:$r,Radio:Hr,Number:qr,DatePicker:Wr,DateRange:zr,Textarea:Xr,RichText:Jr,Select:Yr,SelectMultiple:eo,Employee:no,Image:ao,Attachment:io,Amount:ro,Score:co,Address:fo,Department:yo,AutoNumber:vo,Calc:bo,SearchNumberRange:Eo,SearchDateRange:Io,VueFormItem:Ao,SelectRelation:Ro,SearchInput:Po,Tree:Fo,Employee2:Oo,ElectronicSignature:Mo,WPS:Lo,Department2:Vo,OrganizationSelection:jo});class qo extends ${static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}qo.excludes=[S.GRID];class _b extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Uo={Designer:qo,Runtime:_b,Property:N};const Rb=24;class ke extends N{constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:Rb,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class cn extends ${static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new ke(e==null?void 0:e.props)}}cn.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.DIVIDER],cn.childrenMaxLength=1;class da extends U{static get controlType(){return"col"}constructor(e){super(e);this.props=new ke(e==null?void 0:e.props)}}var Wo={Designer:cn,Runtime:da,Property:ke};class Ii extends N{constructor(e){super(e);var n,u;this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class Si extends ${static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new Ii(e==null?void 0:e.props)}}Si.excludes=[S.ROW],Si.setting=[{key:"col-setting",visible:!0}];class Ko extends U{static get controlType(){return"row"}constructor(e){super(e);this.props=new Ii(e==null?void 0:e.props)}}var zo={Designer:Si,Runtime:Ko,Property:Ii};const Tb=4;class Ai extends Si{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)}}Ai.excludes=[S.GRID_ROW],Ai.setting=[],Ai.childrenMaxLength=Tb;class Bb extends Ko{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Pb extends Ii{constructor(e){super(e)}}var Go={Designer:Ai,Runtime:Bb,Property:Pb};class Db extends N.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class _i extends N{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}_i.Rules=Db;class fa extends ${static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}fa.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}],fa.excludes=[S.CARD_GROUP];class Fb extends U{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}var Xo={Designer:fa,Runtime:Fb,Property:_i};class xb extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ri extends N{constructor(e){super(e);var n,u,a,l,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new Cy(e==null?void 0:e.metaAutoWidth)}}Ri.Rules=xb;class ce extends ${constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}ce.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Qo extends U{constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}Qo.controlType="subtable-column";var Jo={Designer:ce,Runtime:Qo,Property:Ri};class ha extends N{constructor(e){super(e)}}class Me extends ${constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}Me.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Me.controlType="subtable-row",Me.controlIcon="subtable-row",Me.childrenMaxLength=1,Me.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Me.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Ob extends U{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}var Zo={Designer:Me,Runtime:Ob,Property:ha};class ya extends N{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m;this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:g.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(y=e==null?void 0:e.timestampDateType)!=null?y:be.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Ne extends ${constructor(e){super(e);this.props=new ya(e==null?void 0:e.props)}}Ne.controlName="\u5217\u8868\u5355\u5143\u683C",Ne.controlType="gridtable-column",Ne.controlIcon="gridtable-column",Ne.childrenMaxLength=1,Ne.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Ne.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Yo extends U{constructor(e){super(e);this.props=new ya(e==null?void 0:e.props)}}Yo.controlType="gridtable-column";var po={Designer:Ne,Runtime:Yo,Property:ya};class ma extends N{constructor(e){super(e)}}class kb extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ti extends N{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:dn.controlName}}Ti.Rules=kb;class sn extends ${static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}sn.excludes=[S.TAB],sn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Mb extends U{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}var ec={Designer:sn,Runtime:Mb,Property:Ti};class dn extends ${static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}constructor(e){super(e);var n;this.props=new ma(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new sn,new sn]}}dn.excludes=[S.TAB],dn.controlEventKeys=["on_change_tab"],dn.setting=[{key:"super-setting",visible:!0}];class Nb extends U{static get controlType(){return"tab"}constructor(e){super(e);this.props=new ma(e==null?void 0:e.props)}}var tc={Designer:dn,Runtime:Nb,Property:ma};class nc extends N{constructor(e){super(e)}}class ic extends ${static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new nc({}),this.children=(e==null?void 0:e.children)||[new cn({props:new ke({span:12})}),new cn({props:new ke({span:12})})]}}ic.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class Lb extends U{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new da({props:new ke({span:12})}),new da({props:new ke({span:12})})]}}var uc={Designer:ic,Runtime:Lb,Property:nc};class $b extends De{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Vb extends H{constructor(e){super(e);if(this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),bu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class fn extends N{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new Ay(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new Ry(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isAllLoaded=(y=e==null?void 0:e.isAllLoaded)!=null?y:!0,this.countType=e==null?void 0:e.countType}}fn.Rules=Vb,fn.RuntimeRules=$b;class Bi extends ${static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new fn(e==null?void 0:e.props)}}Bi.excludes=[S.ROW],Bi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Bi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class Hb extends U{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new fn(e==null?void 0:e.props)}}var ac={Designer:Bi,Runtime:Hb,Property:fn};class jb extends De{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Pi extends N{constructor(e){super(e);var n,u,a,l,r,o;this.save=new we((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new we((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new we((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new we((l=e==null?void 0:e.print)!=null?l:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new we(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new K(e==null?void 0:e.datasourceBind)}}Pi.RuntimeRules=jb;class lc extends ${static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}lc.excludes=[];class qb extends U{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}var rc={Designer:lc,Runtime:qb,Property:Pi};class Ub extends ${static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Wb extends U{static get controlType(){return"page"}constructor(e){super(e)}}class Kb extends N{constructor(e){super(e);var n;this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var oc={Designer:Ub,Runtime:Wb,Property:Kb};class zb extends ${static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Gb extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Xb extends N{constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new sr(e==null?void 0:e.flexConfig)}}var cc={Designer:zb,Runtime:Gb,Property:Xb};class Qb extends ${static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Jb extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Zb extends N{constructor(e){super(e)}}var sc={Designer:Qb,Runtime:Jb,Property:Zb};class Yb extends ${static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class pb extends U{static get controlType(){return"position"}constructor(e){super(e)}}class eC extends N{constructor(e){super(e);var n,u,a,l;this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(l=e==null?void 0:e.top)!=null?l:0}}var dc={Designer:Yb,Runtime:pb,Property:eC};class va extends N{constructor(e){super(e);var n,u,a;this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(u=e==null?void 0:e.opacity)!=null?u:!0,this.align=(a=e==null?void 0:e.align)!=null?a:"right"}}class ga extends ${static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}constructor(e){super(e);var n;this.props=new va((n=e==null?void 0:e.props)!=null?n:{})}}ga.excludes=[],ga.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class tC extends U{static get controlType(){return"action-bar"}constructor(e){super(e);var n;this.props=new va((n=e==null?void 0:e.props)!=null?n:{})}}var fc={Designer:ga,Runtime:tC,Property:va},nC=Object.freeze({__proto__:null,Grid:Uo,Col:Wo,Row:zo,GridRow:Go,CardGroup:Xo,SubTableColumn:Jo,SubTableRow:Zo,GridTableColumn:po,Tab:tc,TabPane:ec,Toolbox:uc,ListView:ac,DataView:rc,Page:oc,AdvancedContainer:cc,PositioningContainer:sc,Position:dc,ActionBar:fc});class iC extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class uC extends De{constructor(e){super(e);e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class hn extends kn{constructor(e,n){super(e,n);var u,a,l,r,o,s,d,y,m,b,E,A,C,_,v,I,w,F,O,ie,x,ue,yn,ve;this.caption=(u=n==null?void 0:n.caption)!=null?u:Di.controlName,this.isHideCaption=(a=n==null?void 0:n.isHideCaption)!=null?a:!1,this.defaultState=(l=n==null?void 0:n.defaultState)!=null?l:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(y=n==null?void 0:n.maxHeight)!=null?y:or,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.defaultRows=(E=n==null?void 0:n.defaultRows)!=null?E:1,this.datasourceBind=new K(n==null?void 0:n.datasourceBind),this.canAdd=(A=n==null?void 0:n.canAdd)!=null?A:!0,this.canDelete=(C=n==null?void 0:n.canDelete)!=null?C:!0,this.canCheck=(_=n==null?void 0:n.canCheck)!=null?_:!1,this.canEdit=(v=n==null?void 0:n.canEdit)!=null?v:!1,this.canImport=(I=n==null?void 0:n.canImport)!=null?I:!1,this.canExport=(w=n==null?void 0:n.canExport)!=null?w:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(O=n==null?void 0:n.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ie=n==null?void 0:n.isShowCaptionTip)!=null?ie:!1,this.captionTip=(x=n==null?void 0:n.captionTip)!=null?x:"",this.mobileShowType=(ue=n==null?void 0:n.mobileShowType)!=null?ue:"list",this.dataStorageDoc=(yn=n==null?void 0:n.dataStorageDoc)!=null?yn:new Ey,this.fixedColumn=(ve=n==null?void 0:n.fixedColumn)!=null?ve:[]}}hn.Rules=iC,hn.RuntimeRules=uC;class Di extends Du{static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}constructor(e){super(e);var n;this.props=new hn(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 ce,new ce,new ce])}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new ce,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Di.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Di.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class aC extends Zl{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new hn(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){el("Method not implemented.")}getChildrenFormControl(){return[]}}var hc={Designer:Di,Runtime:aC,Property:hn};class ba extends kn{constructor(e,n){super(e,n);var u,a,l,r;this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class lC extends me{constructor(e){super(e);this.caption.required=!1}}class Fi extends V{constructor(e){super(e);var n,u,a,l,r,o,s,d;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:Le.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(r=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?r:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}Fi.Rules=lC;class Le extends G{constructor(e){super(e);this.props=new Fi(e==null?void 0:e.props)}}Le.controlType="order-column",Le.controlName="\u5E8F\u53F7",Le.controlIcon="order-column",Le.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Ca extends X{constructor(e){super(e);this.props=new Fi(e==null?void 0:e.props)}}Ca.controlType="order-column",Ca.controlFieldType=g.DECIMAL;var yc={Designer:Le,Runtime:Ca,Property:Fi};class Ea extends V{constructor(e){super(e);var n,u,a,l,r,o;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=e==null?void 0:e.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:$e.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class $e extends G{constructor(e){super(e);this.props=new Ea(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===ii.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return mn(ge({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return Wa(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(l=>l.validate(e,n))),!0})}}$e.controlType="operation-column",$e.controlName="\u64CD\u4F5C",$e.controlIcon="operation-column",$e.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class wa extends X{constructor(e){super(e);this.props=new Ea(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}wa.controlType="operation-column",wa.controlFieldType=g.FILE;var mc={Designer:$e,Runtime:wa,Property:Ea};class vc extends Du{static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new ba(this,e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Le,new $e])}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return mn(ge({},e),{children:n})}validate(e,n){var u=a=>super[a];return Wa(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(l=>l.validate(e,n))),!0})}}vc.setting=[{key:"list-fixed-header",visible:!0}];class rC extends Zl{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new ba(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){el("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var gc={Designer:vc,Runtime:rC,Property:ba},oC=Object.freeze({__proto__:null,SubTable:hc,GridTable:gc});class cC extends pl{constructor(e){super(e);Fe.call(this,e)}}class xi extends V{constructor(e){super(e);var n,u,a,l,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}xi.Rules=cC;class Ve extends G{constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}Ve.controlType="varchar-column",Ve.controlName="\u77ED\u6587\u672C",Ve.controlIcon="varchar-column",Ve.controlFieldType=g.VARCHAR,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Ia extends X{constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}Ia.controlType="varchar-column",Ia.controlFieldType=g.VARCHAR;var bc={Designer:Ve,Runtime:Ia,Property:xi};class sC extends me{constructor(e){super(e);Fe.call(this,e)}}class Oi extends V{constructor(e){super(e);var n,u,a,l;this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:He.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}Oi.Rules=sC;class He extends G{constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}He.controlType="text-column",He.controlName="\u957F\u6587\u672C",He.controlIcon="text-column",He.controlFieldType=g.TEXT,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Sa extends X{constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}}Sa.controlType="text-column",Sa.controlFieldType=g.TEXT;var Cc={Designer:He,Runtime:Sa,Property:Oi};class dC extends me{constructor(e){super(e);Fe.call(this,e)}}class ki extends V{constructor(e){super(e);var n,u,a,l,r,o,s;this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=he((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}ki.Rules=dC;class je extends G{constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}je.controlType="decimal-column",je.controlName="\u6570\u503C",je.controlIcon="decimal-column",je.controlFieldType=g.DECIMAL,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Aa extends X{constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}}Aa.controlType="decimal-column",Aa.controlFieldType=g.DECIMAL;var Ec={Designer:je,Runtime:Aa,Property:ki};class fC extends me{constructor(e){super(e);Fe.call(this,e)}}class Mi extends V{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:qe.controlName}}Mi.Rules=fC;class qe extends G{constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}qe.controlType="timescope-column",qe.controlName="\u65E5\u671F\u533A\u95F4",qe.controlIcon="timescope-column",qe.controlFieldType=g.TIMESCOPE,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class _a extends X{constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}}_a.controlType="timescope-column",_a.controlFieldType=g.TIMESCOPE;var wc={Designer:qe,Runtime:_a,Property:Mi};class hC extends me{constructor(e){super(e);Fe.call(this,e)}}class Ni extends V{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ue.controlName}}Ni.Rules=hC;class Ue extends G{constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Ue.controlType="timestamp-column",Ue.controlName="\u65E5\u671F",Ue.controlIcon="timestamp-column",Ue.controlFieldType=g.TIMESTAMP,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ra extends X{constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}}Ra.controlType="timestamp-column",Ra.controlFieldType=g.TIMESTAMP;var Ic={Designer:Ue,Runtime:Ra,Property:Ni};class yC extends pl{constructor(e){super(e)}}class Li extends V{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new K(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}])}}Li.Rules=yC;class We extends G{constructor(e){super(e);this.props=new Li(e==null?void 0:e.props)}}We.controlType="array-column",We.controlName="\u6570\u7EC4",We.controlIcon="array-column",We.controlFieldType=g.ARRAY,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Ta extends X{constructor(e){super(e);this.props=new Li(e==null?void 0:e.props)}}Ta.controlType="array-column",Ta.controlFieldType=g.ARRAY;var Sc={Designer:We,Runtime:Ta,Property:Li};class Ba extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class Ke extends G{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:u}=this.props;n.props.displayLevel=u}return n}}Ke.controlType="department-column",Ke.controlName="\u90E8\u95E8",Ke.controlIcon="department-column",Ke.controlFieldType=g.DEPARTMENTS,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Pa extends X{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}Pa.controlType="department-column",Pa.controlFieldType=g.DEPARTMENTS;var Ac={Designer:Ke,Runtime:Pa,Property:Ba};class mC extends me{constructor(e){super(e);Fe.call(this,e)}}class $i extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}$i.Rules=mC;class ze extends G{constructor(e){super(e);this.props=new $i(e==null?void 0:e.props)}}ze.controlType="auto-number-column",ze.controlName="\u81EA\u52A8\u7F16\u53F7",ze.controlIcon="auto-number-column",ze.controlFieldType=g.AUTO_NUMBER,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Da extends X{constructor(e){super(e);this.props=new $i(e==null?void 0:e.props)}}Da.controlType="auto-number-column",Da.controlFieldType=g.AUTO_NUMBER;var _c={Designer:ze,Runtime:Da,Property:$i};class Fa extends V{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName}}class Ge extends G{constructor(e){super(e);this.props=new Fa(e==null?void 0:e.props)}}Ge.controlType="file-column",Ge.controlName="\u9644\u4EF6",Ge.controlIcon="file-column",Ge.controlFieldType=g.FILE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class xa extends X{constructor(e){super(e);this.props=new Fa(e==null?void 0:e.props)}}xa.controlType="file-column",xa.controlFieldType=g.FILE;var Rc={Designer:Ge,Runtime:xa,Property:Fa};class Oa extends V{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends G{constructor(e){super(e);this.props=new Oa(e==null?void 0:e.props)}}Xe.controlType="image-column",Xe.controlName="\u56FE\u7247",Xe.controlIcon="image-column",Xe.controlFieldType=g.IMAGE,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ka extends X{constructor(e){super(e);this.props=new Oa(e==null?void 0:e.props)}}ka.controlType="image-column",ka.controlFieldType=g.IMAGE;var Tc={Designer:Xe,Runtime:ka,Property:Oa};class Ma extends V{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName}}class Qe extends G{constructor(e){super(e);this.props=new Ma(e==null?void 0:e.props)}}Qe.controlType="people-column",Qe.controlName="\u4EBA\u5458",Qe.controlIcon="people-column",Qe.controlFieldType=g.EMPLOYEES,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Na extends X{constructor(e){super(e);this.props=new Ma(e==null?void 0:e.props)}}Na.controlType="people-column",Na.controlFieldType=g.EMPLOYEES;var Bc={Designer:Qe,Runtime:Na,Property:Ma};class vC extends me{constructor(e){super(e);Fe.call(this,e)}}class Vi extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}Vi.Rules=vC;class Je extends G{constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}Je.controlType="location-column",Je.controlName="\u5730\u5740",Je.controlIcon="location-column",Je.controlFieldType=g.ADDRESS,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class La extends X{constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}La.controlType="location-column",La.controlFieldType=g.ADDRESS;var Pc={Designer:Je,Runtime:La,Property:Vi};class $a extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const gC=1;class Be extends G{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new $a(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),this.excludes=Ce(n),this.childrenMaxLength=u}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return mn(ge({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.excludes=[],Be.childrenMaxLength=gC,Be.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Dc extends X{constructor(e){super(e);this.props=new $a(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}Dc.controlType="custom-column";var Fc={Designer:Be,Runtime:Dc,Property:$a};class Va extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Pe.controlName,this.datasourceBind=new Cn((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Pe.controlCustomAttributes})}}class Pe extends G{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new Va(e==null?void 0:e.props)}}Pe.controlType="employee-column",Pe.controlName="\u4EBA\u5458",Pe.controlIcon="employee-column",Pe.controlFieldType=g.EMPLOYEES,Pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ha extends X{constructor(e){super(e);this.props=new Va(e==null?void 0:e.props)}}Ha.controlType="employee-column",Ha.controlFieldType=g.EMPLOYEES;var xc={Designer:Pe,Runtime:Ha,Property:Va};class ja extends V{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class Ze extends G{constructor(e){super(e);this.props=new ja(e==null?void 0:e.props)}}Ze.controlType="approval-status-column",Ze.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ze.controlIcon="approval-status-column",Ze.excludes=[],Ze.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Oc extends X{constructor(e){super(e);this.props=new ja(e==null?void 0:e.props)}}Oc.controlType="approval-status-column";var kc={Designer:Ze,Runtime:Oc,Property:ja},bC=Object.freeze({__proto__:null,VarcharColumn:bc,TextColumn:Cc,DecimalColumn:Ec,TimescopeColumn:wc,TimestampColumn:Ic,ArrayColumn:Sc,DepartmentColumn:Ac,AutoNumberColumn:_c,FileColumn:Rc,ImageColumn:Tc,PeopleColumn:Bc,LocationColumn:Pc,CustomColumn:Fc,OrderColumn:yc,OperationColumn:mc,EmployeeColumn:xc,ApprovalStatusColumn:kc});class CC extends De{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Hi extends Hu{constructor(e){super(e);var n,u,a,l,r,o,s;this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new we((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new we((l=e==null?void 0:e.cancel)!=null?l:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((o=e==null?void 0:e.custom)!=null?o:[]).map(d=>new we(d)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Hi.RuntimeRules=CC;class qa extends Hg{constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}qa.controlType="simple-search",qa.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 Mc extends Xg{constructor(e){super(e);var n;this.props=new Hi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Mc.controlType="simple-search";var Nc={Designer:qa,Runtime:Mc,Property:Hi},EC=Object.freeze({__proto__:null,SimpleSearch:Nc});h.ActionBar=fc,h.Address=fo,h.AdvancedContainer=cc,h.Amount=ro,h.ApprovalStatusColumn=kc,h.ArrayColumn=Sc,h.AssignType=Re,h.Attachment=io,h.AutoNumber=vo,h.AutoNumberColumn=_c,h.BatchDeleteButton=kr,h.BatchPrintListButton=Fr,h.BatchPrintRecordListButton=xr,h.BatchSubmissionListButton=vr,h.Button=ir,h.Calc=bo,h.CardGroup=Xo,h.Checkbox=$r,h.Col=Wo,h.CreateFormListButton=mr,h.CustomColumn=Fc,h.DATE_CONFIG_TYPE=ur,h.DATE_LIMIT_TYPE=ar,h.Dashboard=Rr,h.DataView=rc,h.DatePicker=Wr,h.DateRange=zr,h.DecimalColumn=Ec,h.Department=yo,h.Department2=Vo,h.DepartmentColumn=Ac,h.DepartmentType=Wn,h.Divider=hr,h.ElectronicSignature=Mo,h.ElectronicSignatureConfig=lr,h.Employee=no,h.Employee2=Oo,h.EmployeeColumn=xc,h.EncryptTypeEnum=dr,h.Explain=Un,h.ExportListButton=br,h.ExportRecordListButton=Cr,h.ExportTemplate=Qu,h.FileColumn=Rc,h.FlexStyleConfig=sr,h.FormSelectButton=wr,h.Grid=Uo,h.GridRow=Go,h.GridTable=gc,h.GridTableColumn=po,h.Image=ao,h.ImageColumn=Tc,h.ImportRecordListButton=Er,h.Input=Nr,h.InternalType=Yu,h.InvoiceCheckButton=Dr,h.LINE_STYLE=Gu,h.LimitDate=qn,h.Link=nr,h.ListSelectButton=Ir,h.ListView=ac,h.ListViewSelect=Br,h.LocationColumn=Pc,h.Number=qr,h.OperationButton=Or,h.OperationColumn=mc,h.OrderColumn=yc,h.OrganizationSelection=jo,h.OrganizeType=Zu,h.Page=oc,h.Pagination=Ar,h.PeopleColumn=Bc,h.Position=dc,h.PositioningContainer=sc,h.PrintTemplate=cr,h.Radio=Hr,h.RichText=Jr,h.Row=zo,h.SCORE_TYPE=zu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=or,h.Score=co,h.SearchDateRange=Io,h.SearchInput=Po,h.SearchNumberRange=Eo,h.Select=Yr,h.SelectMultiple=eo,h.SelectRelation=Ro,h.SimpleSearch=Nc,h.SubTable=hc,h.SubTableColumn=Jo,h.SubTableRow=Zo,h.SubmissionRecordListButton=gr,h.Tab=tc,h.TabPane=ec,h.Text=tr,h.TextColumn=Cc,h.TextOcrButton=Pr,h.Textarea=Xr,h.TimescopeColumn=wc,h.TimestampColumn=Ic,h.Title=yr,h.TitleConfigEnum=_e,h.Toolbox=uc,h.Tree=Fo,h.UndersignedPerson=Xu,h.VarcharColumn=bc,h.VueFormItem=Ao,h.WPS=Lo,h.WPSSetting=rr,h.WpsOperationItem=Ju,h.baseControls=D0,h.columnControls=bC,h.formControls=Ab,h.initExpression=wt,h.layoutControls=nC,h.listControls=oC,h.searchControls=EC,Object.defineProperty(h,"__esModule",{value:!0})});
1
+ var wC=Object.defineProperty,IC=Object.defineProperties;var SC=Object.getOwnPropertyDescriptors;var Lc=Object.getOwnPropertySymbols;var AC=Object.prototype.hasOwnProperty,_C=Object.prototype.propertyIsEnumerable;var $c=(h,L,W)=>L in h?wC(h,L,{enumerable:!0,configurable:!0,writable:!0,value:W}):h[L]=W,ge=(h,L)=>{for(var W in L||(L={}))AC.call(L,W)&&$c(h,W,L[W]);if(Lc)for(var W of Lc(L))_C.call(L,W)&&$c(h,W,L[W]);return h},mn=(h,L)=>IC(h,SC(L));var Ua=(h,L,W)=>new Promise((ae,vn)=>{var ji=de=>{try{ft(W.next(de))}catch(ht){vn(ht)}},qi=de=>{try{ft(W.throw(de))}catch(ht){vn(ht)}},ft=de=>de.done?ae(de.value):Promise.resolve(de.value).then(ji,qi);ft((W=W.apply(h,L)).next())});(function(h,L){typeof exports=="object"&&typeof module!="undefined"?L(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],L):(h=typeof globalThis!="undefined"?globalThis:h||self,L(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,L){"use strict";function W(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ae=W(L),vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ji="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ft="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",de="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ht="{caption}\u5FC5\u586B",Vc="\u8BF7\u8F93\u5165\u6807\u9898",Hc="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",jc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",qc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Uc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Wc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Kc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",zc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Gc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Xc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Qc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Jc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Zc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Yc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",pc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",es="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ts="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ns="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",is="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",us="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",as="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ls="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",rs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",os="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",cs="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ss="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ds="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",fs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",hs="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ys="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ms="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",vs="\u8BF7\u9009\u62E9\u7701",gs="\u8BF7\u9009\u62E9\u5E02",bs="\u8BF7\u9009\u62E9\u533A",Cs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Es="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ws="\u8BF7\u8F93\u5165\u5217\u5BBD",Is="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ss="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",As="\u8BF7\u9009\u62E9\u63A7\u4EF6",_s="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Rs="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ts="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Bs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ps="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ds="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Fs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",xs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Os="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ks="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ms="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ns="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ls="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$s="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Vs="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Hs="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",js="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",qs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Us="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ws="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ks="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",zs="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Gs="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Xs="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Qs="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Js="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Zs={isNotNumber:vn,isNotString:ji,isNotObject:qi,isNotArray:ft,isNotBoolean:de,runtimeRequired:ht,pleaseEnterCaption:Vc,pleaseEnterCaptionTip:Hc,pleaseEnterPlaceholder:jc,pleaseEnterFieldCode:qc,pleaseEnterForm:Uc,pleaseEnterList:Wc,pleaseEnterProcess:Kc,pleaseEnterLabel:zc,pleaseEnterValue:Gc,bizKeyNotBindFiled:Xc,pleaseSelectOneField:Qc,pleaseEnterNumberRange:Jc,pleaseEnterAValueGreaterThanMin:Zc,pleaseEnterAValueLessThanMax:Yc,numberRangeSetError:pc,stringRangeError:es,attachmentMaxSize:ts,pleaseEnterTotalScoreSetting:ns,theTotalScoreMustNotBeLessThan1:is,scoreDefaultValueRange:us,attachmentLimitError:as,PleaseReselectTheOptionalQuantity:ls,TheMaximumLengthIsGreaterThanTheMinimumLength:rs,TheMinimumLengthIsGreaterThanTheMaximumLength:os,PleaseSelectTheCorrectOptionSettings:cs,optionIdIsRepeat:ss,optionIsRequired:ds,pleaseEnterDataCode:fs,pleaseEnterValueFieldCode:hs,pleaseEnterSvcCode:ys,pleaseBindAtLeastOneDisplayValue:ms,pleaseSelectProvince:vs,pleaseSelectCity:gs,pleaseSelectDistrict:bs,limitRowsCannotBeLessThan0:Cs,TheNumberOfRowsCannotBeLessThanMinRows:Es,pleaseEnterColumnWidth:ws,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Is,pleaseCompleteAllRulesAndConditions:Ss,pleaseSelectControl:As,pleaseSelectAtLeastOneColumn:_s,pleaseSelectFillBackMode:Rs,pleaseSelectDashboard:Ts,rootNodeIsRequired:Bs,theViewNameCannotBeEmpty:Ps,pleaseSelectOcrType:Ds,pleaseSelectAtLeastOneFieldToFillIn:Fs,pleaseChooseAtLeastOne:xs,pleaseEnterButtonContent:Os,pleaseEnterDataCodeInDataSetting:ks,pleaseEnterValueFieldCodeInDataSetting:Ms,pleaseEnterSvcCodeInDataSetting:Ns,pleaseBindAtLeastOneDisplayValueInDataSetting:Ls,rootNodeIsRequiredInDataSetting:$s,pleaseEnterMaxHeight:Vs,pleaseEnter:Hs,pleaseEnterWatermark:js,pleaseEnterFileName:qs,pleaseUploadAtLeastOnePrintTemplate:Us,pleaseAssignBusiness:Ws,pleaseAssignExternal:Ks,pleaseEnterAliasCode:zs,pleaseSelectDataCode:Gs,pleaseSelectSvcCode:Xs,pleaseSelectJoinFieldCode:Qs,pleaseSelectMainFieldCode:Js},Ys="Please enter a number",ps="Please enter a string",ed="Please enter an object",td="Please enter an array",nd="Please enter a boolean",id="{caption} Required",ud="Please enter the title",ad="Please enter the bubble prompt",ld="Please enter the prompt text",rd="Please bind data items",od="Please bind the form",cd="Please bind the list",sd="Please bind the process",dd="Please enter the displayed value",fd="Please enter the stored value",hd="The document number is not bound to the data item",yd="Please select at least one display field",md="Please enter a value greater than or equal to {min} and less than or equal to {max}",vd="Please enter a value greater than or equal to {min}",gd="Please enter a value less than or equal to {max}",bd="The value range is set incorrectly",Cd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Ed="The attachment size must be between 0MB and 1000MB",wd="Please fill in the total score setting",Id="The total score cannot be less than 1",Sd="The default value must be between {min} and {max}",Ad="The number of attachments uploaded must be between {min} and {max}",_d="Please re-select the optional quantity",Rd="The maximum length of the control must be greater than the minimum length",Td="The minimum length of the control must be less than the maximum length",Bd="Please select the correct option setting",Pd="Option ID cannot be repeated",Dd="Please enter at least one option",Fd="Please bind the data source",xd="Please bind the stored value",Od="Please bind the service",kd="At least one display value must be bound",Md="Please select a province",Nd="Please select a city",Ld="Please select a district",$d="The minimum number of lines to fill in cannot be less than 0",Vd="The number of rows cannot be less than {min} rows",Hd="Please enter the column width",jd="Please set the logical relationship of all rule conditions",qd="Please complete all rules and conditions",Ud="please select control",Wd="Please select the dashboard",Kd="View name cannot be empty",zd="Please select recognition type",Gd="Please select at least one field to fill in",Xd="Please select at least one",Qd="Please enter the button title",Jd="Please bind the business model in the data settings",Zd="Please bind storage values in data settings",Yd="Please bind the service in the data settings",pd="Please bind at least one display value in the data settings",ef="Please select the root node in the data settings",tf="Please enter the maximum height",nf="The input content cannot be empty",uf="Watermark cannot be empty",af="File name cannot be empty",lf="Please upload at least one printing template!\uFF01",rf="Please select a specific business department",of="Please select a specified external organization",cf="Please enter a sub table alias",sf="Please select the associated table to set the business model",df="Please select the association table to set the binding service",ff="Select associated sub table fields",hf="Please select the associated main table field",yf={isNotNumber:Ys,isNotString:ps,isNotObject:ed,isNotArray:td,isNotBoolean:nd,runtimeRequired:id,pleaseEnterCaption:ud,pleaseEnterCaptionTip:ad,pleaseEnterPlaceholder:ld,pleaseEnterFieldCode:rd,pleaseEnterForm:od,pleaseEnterList:cd,pleaseEnterProcess:sd,pleaseEnterLabel:dd,pleaseEnterValue:fd,bizKeyNotBindFiled:hd,pleaseSelectOneField:yd,pleaseEnterNumberRange:md,pleaseEnterAValueGreaterThanMin:vd,pleaseEnterAValueLessThanMax:gd,numberRangeSetError:bd,stringRangeError:Cd,attachmentMaxSize:Ed,pleaseEnterTotalScoreSetting:wd,theTotalScoreMustNotBeLessThan1:Id,scoreDefaultValueRange:Sd,attachmentLimitError:Ad,PleaseReselectTheOptionalQuantity:_d,TheMaximumLengthIsGreaterThanTheMinimumLength:Rd,TheMinimumLengthIsGreaterThanTheMaximumLength:Td,PleaseSelectTheCorrectOptionSettings:Bd,optionIdIsRepeat:Pd,optionIsRequired:Dd,pleaseEnterDataCode:Fd,pleaseEnterValueFieldCode:xd,pleaseEnterSvcCode:Od,pleaseBindAtLeastOneDisplayValue:kd,pleaseSelectProvince:Md,pleaseSelectCity:Nd,pleaseSelectDistrict:Ld,limitRowsCannotBeLessThan0:$d,TheNumberOfRowsCannotBeLessThanMinRows:Vd,pleaseEnterColumnWidth:Hd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jd,pleaseCompleteAllRulesAndConditions:qd,pleaseSelectControl:Ud,pleaseSelectDashboard:Wd,theViewNameCannotBeEmpty:Kd,pleaseSelectOcrType:zd,pleaseSelectAtLeastOneFieldToFillIn:Gd,pleaseChooseAtLeastOne:Xd,pleaseEnterButtonContent:Qd,pleaseEnterDataCodeInDataSetting:Jd,pleaseEnterValueFieldCodeInDataSetting:Zd,pleaseEnterSvcCodeInDataSetting:Yd,pleaseBindAtLeastOneDisplayValueInDataSetting:pd,rootNodeIsRequiredInDataSetting:ef,pleaseEnterMaxHeight:tf,pleaseEnter:nf,pleaseEnterWatermark:uf,pleaseEnterFileName:af,pleaseUploadAtLeastOnePrintTemplate:lf,pleaseAssignBusiness:rf,pleaseAssignExternal:of,pleaseEnterAliasCode:cf,pleaseSelectDataCode:sf,pleaseSelectSvcCode:df,pleaseSelectJoinFieldCode:ff,pleaseSelectMainFieldCode:hf},mf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ef="{caption}\u5FC5\u9808",wf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",If="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Af="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_f="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Tf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ff="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Of="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Nf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",$f="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Vf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Hf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",qf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Uf="\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",Wf="\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",Kf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",zf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Gf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Xf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Yf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",th="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",nh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ih="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ah="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",lh="please select control",rh="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oh="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ch="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",dh="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fh="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",yh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",mh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",vh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",gh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bh="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ch="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Eh="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",wh="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ih="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",Sh="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ah="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_h="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rh="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Th="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bh="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ph="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Dh={isNotNumber:mf,isNotString:vf,isNotObject:gf,isNotArray:bf,isNotBoolean:Cf,runtimeRequired:Ef,pleaseEnterCaption:wf,pleaseEnterCaptionTip:If,pleaseEnterPlaceholder:Sf,pleaseEnterFieldCode:Af,pleaseEnterForm:_f,pleaseEnterList:Rf,pleaseEnterProcess:Tf,pleaseEnterLabel:Bf,pleaseEnterValue:Pf,bizKeyNotBindFiled:Df,pleaseSelectOneField:Ff,pleaseEnterNumberRange:xf,pleaseEnterAValueGreaterThanMin:Of,pleaseEnterAValueLessThanMax:kf,numberRangeSetError:Mf,stringRangeError:Nf,attachmentMaxSize:Lf,pleaseEnterTotalScoreSetting:$f,theTotalScoreMustNotBeLessThan1:Vf,scoreDefaultValueRange:Hf,attachmentLimitError:jf,PleaseReselectTheOptionalQuantity:qf,TheMaximumLengthIsGreaterThanTheMinimumLength:Uf,TheMinimumLengthIsGreaterThanTheMaximumLength:Wf,PleaseSelectTheCorrectOptionSettings:Kf,optionIdIsRepeat:zf,optionIsRequired:Gf,pleaseEnterDataCode:Xf,pleaseEnterValueFieldCode:Qf,pleaseEnterSvcCode:Jf,pleaseBindAtLeastOneDisplayValue:Zf,pleaseSelectProvince:Yf,pleaseSelectCity:pf,pleaseSelectDistrict:eh,limitRowsCannotBeLessThan0:th,TheNumberOfRowsCannotBeLessThanMinRows:nh,pleaseEnterColumnWidth:ih,pleaseSetTheLogicalRelationshipOfAllRuleConditions:uh,pleaseCompleteAllRulesAndConditions:ah,pleaseSelectControl:lh,pleaseSelectDashboard:rh,theViewNameCannotBeEmpty:oh,pleaseSelectOcrType:ch,pleaseSelectAtLeastOneFieldToFillIn:sh,pleaseChooseAtLeastOne:dh,pleaseEnterButtonContent:fh,pleaseEnterDataCodeInDataSetting:hh,pleaseEnterValueFieldCodeInDataSetting:yh,pleaseEnterSvcCodeInDataSetting:mh,pleaseBindAtLeastOneDisplayValueInDataSetting:vh,rootNodeIsRequiredInDataSetting:gh,pleaseEnterMaxHeight:bh,pleaseEnter:Ch,pleaseEnterWatermark:Eh,pleaseEnterFileName:wh,pleaseUploadAtLeastOnePrintTemplate:Ih,pleaseAssignBusiness:Sh,pleaseAssignExternal:Ah,pleaseEnterAliasCode:_h,pleaseSelectDataCode:Rh,pleaseSelectSvcCode:Th,pleaseSelectJoinFieldCode:Bh,pleaseSelectMainFieldCode:Ph},Fh={zhCN:Zs,enUS:yf,jaJP:Dh},Wa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Wa||(Wa={}));var Ka;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ka||(Ka={}));var xh="zh-CN";function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var za;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(za||(za={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(S||(S={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var J;J={},ee(J,g.ARRAY,S.ARRAY_COLUMN),ee(J,g.AUTO_NUMBER,S.AUTO_NUMBER_COLUMN),ee(J,g.DECIMAL,S.DECIMAL_COLUMN),ee(J,g.DEPARTMENTS,S.DEPARTMENT_COLUMN),ee(J,g.FILE,S.FILE_COLUMN),ee(J,g.IMAGE,S.IMAGE_COLUMN),ee(J,g.ADDRESS,S.LOCATION_COLUMN),ee(J,g.EMPLOYEES,S.EMPLOYEE_COLUMN),ee(J,g.TEXT,S.TEXT_COLUMN),ee(J,g.TIMESCOPE,S.TIMESCOPE_COLUMN),ee(J,g.TIMESTAMP,S.TIMESTAMP_COLUMN),ee(J,g.VARCHAR,S.VARCHAR_COLUMN),ee(J,g.RELATION,S.VARCHAR_COLUMN);var be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(be||(be={}));var Ga="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Oh=Ga+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?Ga:Oh,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Ui(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function kh(t){if(Array.isArray(t))return Ui(t)}function Mh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function gn(t,e,n){return Nh()?gn=Reflect.construct:gn=function(a,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(a,o),d=new s;return r&&mt(d,r.prototype),d},gn.apply(null,arguments)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yt(t)}function Qa(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&&mt(t,e)}function Lh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function $h(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Vh(){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 Hh(t,e){return e&&(jh(e)==="object"||typeof e=="function")?e:Mh(t)}function mt(t,e){return mt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},mt(t,e)}function Ja(t){return kh(t)||$h(t)||qh(t)||Vh()}var jh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qh(t,e){if(!!t){if(typeof t=="string")return Ui(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 Ui(t,e)}}function Wi(t){var e=typeof Map=="function"?new Map:void 0;return Wi=function(u){if(u===null||!Lh(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return gn(u,arguments,yt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),mt(a,u)},Wi(t)}function Uh(){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 Za(t){var e=Uh();return function(){var u=yt(t),a;if(e){var l=yt(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Hh(this,a)}}var Ki=console;function Wh(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Ki).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ja(a)))}function Ya(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Ki).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(Ja(a)))}function Kh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var zi=function(t){Qa(n,t);var e=Za(n);function n(u){Xa(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?Kh(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Wi(Error)),zh=function(t){Qa(n,t);var e=Za(n);function n(u){Xa(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(zi);function pa(t){throw new zi(t)}function el(t){throw new zh(t)}function Gh(t){Ki.error(new zi(t))}var Xh=Object.prototype.toString;function tl(t,e){return Xh.call(t)==="[object "+e+"]"}function Qh(t){return tl(t,"String")}function Jh(t){return tl(t,"Promise")}var Zh=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();Jh(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,l,r,o){if(a!==void 0){var s=a[l];if(!(r===o.length-1&&!Qh(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var l=n[a];return l!==void 0?String(l):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Yh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function ph(t,e,n){return e&&nl(t.prototype,e),n&&nl(t,n),t}var f=function(){function t(){Yh(this,t)}return ph(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xh;return new Zh({locale:n,messages:Fh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function ey(t,e,n){var u=e.replace(/\[(\d)]/g,function(l,r){return"."+r}).split("."),a=!1;return u.reduce(function(l,r,o,s){var d=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,r)){Wh("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),l,l);return}return o===s.length-1&&!Object.is(d[r],n)&&(d[r]=n,a=!0),d[r]}},t),a}var ty=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ny={exports:{}};(function(t){(function(e){var n=function(v,I,w){if(!d(I)||m(I)||b(I)||E(I)||s(I))return I;var F,O=0,ie=0;if(y(I))for(F=[],ie=I.length;O<ie;O++)F.push(n(v,I[O],w));else{F={};for(var x in I)Object.prototype.hasOwnProperty.call(I,x)&&(F[v(x,w)]=n(v,I[x],w))}return F},u=function(v,I){I=I||{};var w=I.separator||"_",F=I.split||/(?=[A-Z])/;return v.split(F).join(w)},a=function(v){return A(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(I,w){return w?w.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var I=a(v);return I.substr(0,1).toUpperCase()+I.substr(1)},r=function(v,I){return u(v,I).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},d=function(v){return v===Object(v)},y=function(v){return o.call(v)=="[object Array]"},m=function(v){return o.call(v)=="[object Date]"},b=function(v){return o.call(v)=="[object RegExp]"},E=function(v){return o.call(v)=="[object Boolean]"},A=function(v){return v=v-0,v===v},C=function(v,I){var w=I&&"process"in I?I.process:I;return typeof w!="function"?v:function(F,O){return w(F,v,O)}},_={camelize:a,decamelize:r,pascalize:l,depascalize:r,camelizeKeys:function(v,I){return n(C(a,I),v)},decamelizeKeys:function(v,I){return n(C(r,I),v,I)},pascalizeKeys:function(v,I){return n(C(l,I),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=_:e.humps=_})(ty)})(ny);var il={};Object.defineProperty(il,"__esModule",{value:!0});function Gi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Gi(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Gi(u)}return e}}var iy=il.default=Gi;function Ce(t){if(t!==void 0)return typeof t=="object"?iy(t):t}function uy(t){return Object.prototype.toString.call(t)==="[object Object]"}function Xi(t){return Array.isArray(t)}function ay(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Qi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function ly(t){if(Array.isArray(t))return Qi(t)}function ul(t,e,n,u,a,l,r){try{var o=t[l](r),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function ry(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var l=t.apply(e,n);function r(s){ul(l,u,a,r,o,"next",s)}function o(s){ul(l,u,a,r,o,"throw",s)}r(void 0)})}}function oy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function al(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function cy(t,e,n){return e&&al(t.prototype,e),n&&al(t,n),t}function sy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dy(){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 Ji(t){return ly(t)||sy(t)||fy(t)||dy()}function fy(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 hy=function(){function t(){oy(this,t),this._events=new Map,this.debug=!1}return cy(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),l=1;l<u;l++)a[l-1]=arguments[l];var r=this;return ry(ae.default.mark(function o(){var s,d,y,m,b,E,A,C,_,v;return ae.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(s=r._events.get(n),d=[],!s){w.next=42;break}y=s.slice(),m=!0,b=!1,E=void 0,w.prev=5,A=y[Symbol.iterator]();case 7:if(m=(C=A.next()).done){w.next=28;break}if(_=C.value,s.includes(_)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,r.debug&&Ya.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Ji(a))),w.next=15,_.apply(null,Ji(a));case 15:if(v=w.sent,r.debug&&Ya.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ji(a),[v])),d.push(v),v!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),Gh(String(w.t0)+":"+String(w.t0.stack));case 25:m=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),b=!0,E=w.t1;case 34:w.prev=34,w.prev=35,!m&&A.return!=null&&A.return();case 37:if(w.prev=37,!b){w.next=40;break}throw E;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",d);case 43:case"end":return w.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),l=a==null?void 0:a.indexOf(u);a==null||a.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}(),yy=[];new Set(yy.map(function(t){return t.Designer.controlType}));function ll(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function le(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&&Zi(t,e)}function my(t,e){return e&&(vy(e)==="object"||typeof e=="function")?e:ll(t)}function Zi(t,e){return Zi=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Zi(t,e)}var vy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gy(){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 re(t){var e=gy();return function(){var u=bn(t),a;if(e){var l=bn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return my(this,a)}}var ce=function t(e){R(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"",this.aliasCode=e==null?void 0:e.aliasCode},rl=function t(e){R(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},Yi=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;a=e.call(this,u);var l;a.width=(l=u==null?void 0:u.width)!==null&&l!==void 0?l:240;var r;return a.widthType=(r=u==null?void 0:u.widthType)!==null&&r!==void 0?r:"auto",a}return n}(rl),by=function t(e){R(this,t),this.pc=new Yi(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new Yi(e==null?void 0:e.mobile):new Yi({width:130,minWidth:180})},Cy=function t(e){R(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var u;this.customOptions=(u=e==null?void 0:e.customOptions)!==null&&u!==void 0?u:[]},Ye=function t(e){R(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},Ey=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;a=e.call(this,u);var l;return a.primaryControlId=(l=u==null?void 0:u.primaryControlId)!==null&&l!==void 0?l:"",a}return n}(Ye),ol=function t(e){R(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},pi=function t(e){R(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var l;this.headers=(l=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new ol(r)}))!==null&&l!==void 0?l:[]},wy=function t(e){R(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:g.VARCHAR},Iy=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;a=e.call(this,u);var l;a.title=(l=u==null?void 0:u.title)!==null&&l!==void 0?l:"";var r;a.svcCode=(r=u==null?void 0:u.svcCode)!==null&&r!==void 0?r:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(Ye),Sy=function t(e){R(this,t);var n,u;this.type="sublist-page",this.formBind=new Ye(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new wy(r)}))!==null&&a!==void 0?a:[];var l;this.sublists=(l=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(r){return new Iy(r)}))!==null&&l!==void 0?l:[]},Ay=function t(e){R(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},vt=function t(e){R(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},cl=function t(e){R(this,t),this.type="conditions";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;if(this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)){var r=this;e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=r.children)===null||s===void 0||s.push(d)}else{var y,m=new eu(o);(y=r.children)===null||y===void 0||y.push(m)}})}},eu=function t(e){R(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var l;this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Ay(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new vt(e==null?void 0:e.rightVariableBo)},_y=function t(e){R(this,t);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind);var u;this.relationFields=(u=e==null?void 0:e.relationFields)!==null&&u!==void 0?u:[]},p=function t(e){R(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var l;this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},tu=function t(e){R(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},Ry=function t(e){R(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function nu(t){var e,n,u,a,l;this.filters=(l=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(s){return s.children!==void 0?new cl(s):new eu(s)}))!==null&&l!==void 0?l:[];var r;this.viewFilters=(r=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new cl(s):new eu(s)}))!==null&&r!==void 0?r:[];var o;this.orders=(o=(u=t)===null||u===void 0||(a=u.orders)===null||a===void 0?void 0:a.map(function(s){return new Ry(s)}))!==null&&o!==void 0?o:[]}var X=function t(e){R(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;if(this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)){var r=this;e==null||e.displayBoList.map(function(d){var y;(y=r.displayBoList)===null||y===void 0||y.push(new tu(d))})}var o;this.showOrder=(o=e==null?void 0:e.showOrder)!==null&&o!==void 0?o:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",nu.call(this,e)},iu=function t(e){R(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.displayBoList=(u=e==null?void 0:e.displayBoList)!==null&&u!==void 0?u:[]},Ee=function t(e){R(this,t);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var u;this.color=(u=e==null?void 0:e.color)!==null&&u!==void 0?u:"primary";var a;this.command=(a=e==null?void 0:e.command)!==null&&a!==void 0?a:"view";var l;this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var d;this.needConfirm=(d=e==null?void 0:e.needConfirm)!==null&&d!==void 0?d:!1;var y;this.openType=(y=e==null?void 0:e.openType)!==null&&y!==void 0?y:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},sl=function t(e){R(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var l;this.value=(l=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new tu(r)}))!==null&&l!==void 0?l:[]},Cn=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a,l;a=e.call(this,u);var r;return a.attributes=(r=u==null||(l=u.attributes)===null||l===void 0?void 0:l.map(function(o){return new sl(o)}))!==null&&r!==void 0?r:[],a}return n}(X),Ty=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a,l;a=e.call(this,u);var r;a.attributes=(r=u==null||(l=u.attributes)===null||l===void 0?void 0:l.map(function(s){return new sl(s)}))!==null&&r!==void 0?r:[];var o;return a.formCode=(o=u==null?void 0:u.formCode)!==null&&o!==void 0?o:"",a}return n}(X),dl=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;a=e.call(this,u),a.rootNode=new vt(u==null?void 0:u.rootNode);var l;return a.filterCode=(l=u==null?void 0:u.filterCode)!==null&&l!==void 0?l:"",a}return n}(Cn),fl=function t(e){R(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var l;this.fillList=(l=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new p(r)}))!==null&&l!==void 0?l:[]},hl=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;return a=e.call(this,u),nu.call(ll(a),u),a}return n}(fl),yl=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;a=e.call(this,u);var l;a.mode=(l=u==null?void 0:u.mode)!==null&&l!==void 0?l:"current";var r;return a.multiple=(r=u==null?void 0:u.multiple)!==null&&r!==void 0?r:!1,a}return n}(fl),ml=function t(e){R(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},By=function t(e){R(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function he(t){var e;return(e=t==null?void 0:t.map(function(n){return new By(n)}))!==null&&e!==void 0?e:[]}var uu=function t(){R(this,t)},Py=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;return a=e.call(this),a.amount=new ce(u==null?void 0:u.amount),a.currency=new ce(u==null?void 0:u.currency),a}return n}(uu),Dy=function t(e){R(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:En.CNY},Fy=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;return a=e.call(this),a.min=new ce(u==null?void 0:u.min),a.max=new ce(u==null?void 0:u.max),a}return n}(uu),xy=function t(e){R(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},Oy=function t(e){R(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var l;this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},ky=function(t){le(n,t);var e=re(n);function n(u){R(this,n);var a;return a=e.call(this),a.result=new ce(u==null?void 0:u.result),a.unit=new ce(u==null?void 0:u.unit),a}return n}(uu),My=function t(e){R(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},En;(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"})(En||(En={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var au;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(au||(au={}));var we=function t(e){R(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var l;this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},Ny=function t(e){R(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:fe(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var l;this.headers=(l=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new ol(r)}))!==null&&l!==void 0?l:[],nu.call(this,e)},Ly=function t(e){R(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var l;this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},$y=function t(e){R(this,t);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var u;this.optType=(u=e==null?void 0:e.optType)!==null&&u!==void 0?u:""};function Vy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function wn(t,e,n){return Hy()?wn=Reflect.construct:wn=function(a,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(a,o),d=new s;return r&&bt(d,r.prototype),d},wn.apply(null,arguments)}function gt(t){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gt(t)}function jy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bt(t,e)}function qy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uy(t,e){return e&&(Wy(e)==="object"||typeof e=="function")?e:Vy(t)}function bt(t,e){return bt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},bt(t,e)}var Wy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ru(t){var e=typeof Map=="function"?new Map:void 0;return ru=function(u){if(u===null||!qy(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return wn(u,arguments,gt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),bt(a,u)},ru(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 u=gt(t),a;if(e){var l=gt(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Uy(this,a)}}var H=function t(e){lu(this,t),this.isHide={type:"boolean"}},De=function(t){jy(n,t);var e=zy(n);function n(u){return lu(this,n),e.call(this)}return n}(ru(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";lu(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new Ly(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};q.Rules=H,q.RuntimeRules=De;function se(){return se=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},se.apply(this,arguments)}function Gy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function ou(t){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(t)}function In(t,e){return In=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},In(t,e)}function Xy(){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 Sn(t,e,n){return Xy()?Sn=Reflect.construct:Sn=function(a,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(a,o),d=new s;return r&&In(d,r.prototype),d},Sn.apply(null,arguments)}function Qy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function cu(t){var e=typeof Map=="function"?new Map:void 0;return cu=function(u){if(u===null||!Qy(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Sn(u,arguments,ou(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),In(a,u)},cu(t)}var Jy=/%[sdj%]/g,vl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(vl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function su(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],l=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var r=String(a).replace(Jy,function(o){if(o==="%%")return"%";if(u>=l)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return r}return a}function Zy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function j(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Zy(e)&&typeof t=="string"&&!t)}function Yy(t,e,n){var u=[],a=0,l=t.length;function r(o){u.push.apply(u,o),a++,a===l&&n(u)}t.forEach(function(o){e(o,r)})}function gl(t,e,n){var u=0,a=t.length;function l(r){if(r&&r.length){n(r);return}var o=u;u=u+1,o<a?e(t[o],l):n([])}l([])}function py(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var bl=function(t){Gy(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(cu(Error));function em(t,e,n,u){if(e.first){var a=new Promise(function(m,b){var E=function(_){return u(_),_.length?b(new bl(_,su(_))):m()},A=py(t);gl(A,n,E)});return a.catch(function(m){return m}),a}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var r=Object.keys(t),o=r.length,s=0,d=[],y=new Promise(function(m,b){var E=function(C){if(d.push.apply(d,C),s++,s===o)return u(d),d.length?b(new bl(d,su(d))):m()};r.length||(u(d),m()),r.forEach(function(A){var C=t[A];l.indexOf(A)!==-1?gl(C,n,E):Yy(C,n,E)})});return y.catch(function(m){return m}),y}function Cl(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 El(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=se(se({},t[n]),u):t[n]=u}}return t}function wl(t,e,n,u,a,l){t.required&&(!n.hasOwnProperty(t.field)||j(e,l||t.type))&&u.push(te(a.messages.required,t.fullField))}function tm(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(te(a.messages.whitespace,t.fullField))}var du={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},Ct={integer:function(e){return Ct.number(e)&&parseInt(e,10)===e},float:function(e){return Ct.number(e)&&!Ct.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"&&!Ct.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(du.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(du.url)},hex:function(e){return typeof e=="string"&&!!e.match(du.hex)}};function nm(t,e,n,u,a){if(t.required&&e===void 0){wl(t,e,n,u,a);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;l.indexOf(r)>-1?Ct[r](e)||u.push(te(a.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&u.push(te(a.messages.types[r],t.fullField,t.type))}function im(t,e,n,u,a){var l=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,y=null,m=typeof e=="number",b=typeof e=="string",E=Array.isArray(e);if(m?y="number":b?y="string":E&&(y="array"),!y)return!1;E&&(d=e.length),b&&(d=e.replace(s,"_").length),l?d!==t.len&&u.push(te(a.messages[y].len,t.fullField,t.len)):r&&!o&&d<t.min?u.push(te(a.messages[y].min,t.fullField,t.min)):o&&!r&&d>t.max?u.push(te(a.messages[y].max,t.fullField,t.max)):r&&o&&(d<t.min||d>t.max)&&u.push(te(a.messages[y].range,t.fullField,t.min,t.max))}var pe="enum";function um(t,e,n,u,a){t[pe]=Array.isArray(t[pe])?t[pe]:[],t[pe].indexOf(e)===-1&&u.push(te(a.messages[pe],t.fullField,t[pe].join(", ")))}function am(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:wl,whitespace:tm,type:nm,range:im,enum:um,pattern:am};function lm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e,"string")&&!t.required)return n();T.required(t,e,u,l,a,"string"),j(e,"string")||(T.type(t,e,u,l,a),T.range(t,e,u,l,a),T.pattern(t,e,u,l,a),t.whitespace===!0&&T.whitespace(t,e,u,l,a))}n(l)}function rm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&T.type(t,e,u,l,a)}n(l)}function om(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&(T.type(t,e,u,l,a),T.range(t,e,u,l,a))}n(l)}function cm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&T.type(t,e,u,l,a)}n(l)}function sm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),j(e)||T.type(t,e,u,l,a)}n(l)}function dm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&(T.type(t,e,u,l,a),T.range(t,e,u,l,a))}n(l)}function fm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&(T.type(t,e,u,l,a),T.range(t,e,u,l,a))}n(l)}function hm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,u,l,a,"array"),e!=null&&(T.type(t,e,u,l,a),T.range(t,e,u,l,a))}n(l)}function ym(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&T.type(t,e,u,l,a)}n(l)}var mm="enum";function vm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a),e!==void 0&&T[mm](t,e,u,l,a)}n(l)}function gm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e,"string")&&!t.required)return n();T.required(t,e,u,l,a),j(e,"string")||T.pattern(t,e,u,l,a)}n(l)}function bm(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e,"date")&&!t.required)return n();if(T.required(t,e,u,l,a),!j(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),T.type(t,o,u,l,a),o&&T.range(t,o.getTime(),u,l,a)}}n(l)}function Cm(t,e,n,u,a){var l=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,u,l,a,r),n(l)}function fu(t,e,n,u,a){var l=t.type,r=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(j(e,l)&&!t.required)return n();T.required(t,e,u,r,a,l),j(e,l)||T.type(t,e,u,r,a)}n(r)}function Em(t,e,n,u,a){var l=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(j(e)&&!t.required)return n();T.required(t,e,u,l,a)}n(l)}var Et={string:lm,method:rm,number:om,boolean:cm,regexp:sm,integer:dm,float:fm,array:hm,object:ym,enum:vm,pattern:gm,date:bm,url:fu,hex:fu,email:fu,required:Cm,any:Em};function hu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var yu=hu();function Ie(t){this.rules=null,this._messages=yu,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=El(hu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var l=e,r=n,o=u;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(C){var _,v=[],I={};function w(F){if(Array.isArray(F)){var O;v=(O=v).concat.apply(O,F)}else v.push(F)}for(_=0;_<C.length;_++)w(C[_]);v.length?I=su(v):(v=null,I=null),o(v,I)}if(r.messages){var d=this.messages();d===yu&&(d=hu()),El(d,r.messages),r.messages=d}else r.messages=this.messages();var y,m,b={},E=r.keys||Object.keys(this.rules);E.forEach(function(C){y=a.rules[C],m=l[C],y.forEach(function(_){var v=_;typeof v.transform=="function"&&(l===e&&(l=se({},l)),m=l[C]=v.transform(m)),typeof v=="function"?v={validator:v}:v=se({},v),v.validator=a.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=a.getType(v),!!v.validator&&(b[C]=b[C]||[],b[C].push({rule:v,value:m,source:l,field:C}))})});var A={};return em(b,r,function(C,_){var v=C.rule,I=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");I=I&&(v.required||!v.required&&C.value),v.field=C.field;function w(ie,x){return se(se({},x),{},{fullField:v.fullField+"."+ie})}function F(ie){ie===void 0&&(ie=[]);var x=ie;if(Array.isArray(x)||(x=[x]),!r.suppressWarning&&x.length&&Ie.warning("async-validator:",x),x.length&&v.message!==void 0&&(x=[].concat(v.message)),x=x.map(Cl(v)),r.first&&x.length)return A[v.field]=1,_(x);if(!I)_(x);else{if(v.required&&!C.value)return v.message!==void 0?x=[].concat(v.message).map(Cl(v)):r.error&&(x=[r.error(v,te(r.messages.required,v.field))]),_(x);var ue={};if(v.defaultField)for(var yn in C.value)C.value.hasOwnProperty(yn)&&(ue[yn]=v.defaultField);ue=se(se({},ue),C.rule.fields);for(var ve in ue)if(ue.hasOwnProperty(ve)){var EC=Array.isArray(ue[ve])?ue[ve]:[ue[ve]];ue[ve]=EC.map(w.bind(null,ve))}var Nc=new Ie(ue);Nc.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),Nc.validate(C.value,C.rule.options||r,function(qa){var dt=[];x&&x.length&&dt.push.apply(dt,x),qa&&qa.length&&dt.push.apply(dt,qa),_(dt.length?dt:null)})}}var O;v.asyncValidator?O=v.asyncValidator(v,C.value,F,C.source,r):v.validator&&(O=v.validator(v,C.value,F,C.source,r),O===!0?F():O===!1?F(v.message||v.field+" fails"):O instanceof Array?F(O):O instanceof Error&&F(O.message)),O&&O.then&&O.then(function(){return F()},function(ie){return F(ie)})},function(C){s(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Et.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?Et.required:Et[this.getType(e)]||!1}},Ie.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Et[e]=n},Ie.warning=vl,Ie.messages=yu,Ie.validators=Et;var wm={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 Im(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(wm,e)),n}var Sm=new hy;function mu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Am(t){if(Array.isArray(t))return t}function _m(t){if(Array.isArray(t))return mu(t)}function Il(t,e,n,u,a,l,r){try{var o=t[l](r),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Sl(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var l=t.apply(e,n);function r(s){Il(l,u,a,r,o,"next",s)}function o(s){Il(l,u,a,r,o,"throw",s)}r(void 0)})}}function Rm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Al(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Tm(t,e,n){return e&&Al(t.prototype,e),n&&Al(t,n),t}function Bm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _l(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Rl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Pm(){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 Dm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Tl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Bm(t,a,n[a])})}return t}function Fm(t){return Am(t)||Rl(t)||Bl(t,i)||Pm()}function vu(t){return _m(t)||Rl(t)||Bl(t)||Dm()}function Bl(t,e){if(!!t){if(typeof t=="string")return mu(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 mu(t,e)}}var k=function(){function e(n){var u=this;Rm(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Dl,this.removeSetting=Pl,this._callControlHooks("preInstance",n);var a=_l(this,e)?this.constructor:void 0,l=a.controlName,r=a.controlIcon,o=a.controlType,s=a.controlFieldType,d=a.controlEventKeys,y=a.controlCustomEvents,m=a.name,b=a.setting;l&&r&&o||el("The ".concat(m," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:fe(10),this.name=l,this.icon=r;var A;this.type=(A=n==null?void 0:n.type)!==null&&A!==void 0?A:o,this.props=new q(n==null?void 0:n.props,(_l(this,e)?this.constructor:void 0).controlName);var C;this.controlType=(C=n==null?void 0:n.controlType)!==null&&C!==void 0?C:"base",this.setting=Ce(b);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=Ce(d),this.customEvents=Ce(y),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return Tm(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}},{key:"_callControlHooks",value:function(){for(var u=arguments.length,a=new Array(u),l=0;l<u;l++)a[l]=arguments[l];var r,o=Fm(a),s=o[0],d=o.slice(1);return(r=Sm).emit.apply(r,[s,this].concat(vu(d)))}},{key:"preUpdate",value:function(u,a){this._callControlHooks("preUpdateProps",u,a)}},{key:"postUpdate",value:function(u,a){this._callControlHooks("postUpdateProps",u,a)}},{key:"updateProps",value:function(u,a){this.preUpdate(u,a),ey(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return Sl(ae.default.mark(function a(){var l,r,o;return ae.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return l=Tl({},u.rules),d.next=3,u._callControlHooks("preValidate",l);case 3:return r=d.sent,o=r[r.length-1],d.abrupt("return",o===!1?void 0:o);case 6:case"end":return d.stop()}},a)}))()}},{key:"validate",value:function(u,a){var l=this;return Sl(ae.default.mark(function r(){var o,s,d;return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,l.preValidate();case 2:return o=m.sent,s=o!==void 0?o:Tl({},l.rules),Array.isArray(a)&&a.forEach(function(b){s.hasOwnProperty(b)&&delete s[b]}),d=Im(s,u),m.prev=6,m.next=9,d.validate(l.props);case 9:return m.abrupt("return",!0);case 12:throw m.prev=12,m.t0=m.catch(6),m.t0.control||(m.t0.control=l),m.t0;case 16:case"end":return m.stop()}},r,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,l=this.id,r=this.type,o=this.props,s=o.dataBind,d=o.datasourceBind,y=o.optionConfig,m=o.caption,b=o.required,E=o.maxLength,A=o.options,C=o.encrypted,_=o.encryptedMode;if(!(!a&&!s&&!d)){var v={parentId:u,fieldType:a,controlId:l,caption:m,type:r,props:{}};switch(s&&(v.dataBind=s),y){case"datasource":case void 0:d&&(v.datasourceBind=d);break;case"custom":v.props.options=A;break}return b!==void 0&&(v.required=b),E!==void 0&&(v.maxLength=E),C!==void 0&&(v.encrypted=C),_!==void 0&&(v.encryptedMode=_),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(u,a){if(u==="setting"){if(a.add){var l;(l=this.setting).push.apply(l,vu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();k.controlName="\u63A7\u4EF6",k.controlIcon="icon",k.controlType="control",k.controlEventKeys=[],k.controlCustomEvents=[],k.setting=[],k.__is_control__=!0,k.removeSettingItem=Pl,k.updateSettingItem=Dl;function Pl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a=typeof u!="string",l=e.setting.findIndex(function(s){return s.key===(a?u.key:u)});if(l!==-1){var r,o;a?e.setting[l].showItems=(r=e.setting[l].showItems)===null||r===void 0?void 0:r.filter(function(s){return!u.hideItems.includes(s)}):e.setting.splice(l,1),a&&!((o=e.setting[l].showItems)===null||o===void 0?void 0:o.length)&&e.setting.splice(l,1)}})}function Dl(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(a){var l=n.setting.find(function(d){return d.key===a});if(l){if(typeof e=="boolean")l.visible=e;else if(typeof e=="object"){var r,o=(r=e.type)!==null&&r!==void 0?r:"replace";if(o==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,vu(e.showItems))}}}})}function xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Om(t,e,n){return e&&Fl(t.prototype,e),n&&Fl(t,n),t}function km(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var K=function(){function e(n){xm(this,e),this.customEvents=[],this.parent=null;var u=km(this,e)?this.constructor:void 0,a=u.controlType,l=u.controlFieldType,r=u.name,o=u.controlCustomEvents;a||el("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:fe(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:l;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:au.UNKNOWN}return Om(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var a=new u(this.props);return Array.from(a)}return[]}}]),e}();K.controlType="control",K.__is_control__=!0,K.controlCustomEvents=[];function gu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,u,a){u.length===0&&a(f.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,u,a){var l=u.map(function(o){return o.value}),r=ay(l);l.length!==r.length?a(f.getMessage("optionIdIsRepeat")):a()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,u,a){u.length===0&&a(f.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function An(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(a,l,r){l.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function Mm(t){return t.dataCode!==void 0&&t.fieldCode!==void 0}function xl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Tn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bu(t,e)}function Nm(t,e){return e&&(Lm(e)==="object"||typeof e=="function")?e:xl(t)}function bu(t,e){return bu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},bu(t,e)}var Lm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bn(t){var e=$m();return function(){var u=Rn(t),a;if(e){var l=Rn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Nm(this,a)}}var Q=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;a=e.call(this,u),a.dataBind={},a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.isHideCaption={type:"boolean"},a.labelPosition={type:"enum",enum:["top","left"]},a.defaultState={type:"enum",enum:["default","readonly"]},a.required={type:"boolean"},a.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var l={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Mm(u.dataBind))a.dataBind={type:"object",required:!0,fields:Ce(l),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){r.fields[o]={type:"object",required:!0,fields:Ce(l),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=r}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(H),M=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(De),B=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;a=e.call(this,u);var l;a.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var r;a.isHideCaption=(r=u==null?void 0:u.isHideCaption)!==null&&r!==void 0?r:!1;var o;a.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;a.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;a.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var y;a.labelPosition=(y=u==null?void 0:u.labelPosition)!==null&&y!==void 0?y:"top";var m;a.placeholder=(m=u==null?void 0:u.placeholder)!==null&&m!==void 0?m:"";var b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var E;a.requiredMessage=(E=u==null?void 0:u.requiredMessage)!==null&&E!==void 0?E:"",a.dataBind=new ce(u==null?void 0:u.dataBind);var A;return a.defaultValue=(A=u==null?void 0:u.defaultValue)!==null&&A!==void 0?A:"",a}return n}(q);B.Rules=Q,B.RuntimeRules=M;var et=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],gu.call(xl(a),u),a}return n}(Q);function Vm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function jm(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,e){return e&&(Um(e)==="object"||typeof e=="function")?e:Vm(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Cu(t,e)}var Um=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Km(t){var e=Wm();return function(){var u=Pn(t),a;if(e){var l=Pn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return qm(this,a)}}var P=function(t){jm(n,t);var e=Km(n);function n(u){Hm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new B(u==null?void 0:u.props),a}return n}(k);P.controlEventKeys=["on_change","on_focus","on_blur"];function zm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(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&&Eu(t,e)}function Qm(t,e){return e&&(Jm(e)==="object"||typeof e=="function")?e:zm(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Eu(t,e)}var Jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ym(t){var e=Zm();return function(){var u=Dn(t),a;if(e){var l=Dn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Qm(this,a)}}var D=function(t){Xm(n,t);var e=Ym(n);function n(u){Gm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new B(u==null?void 0:u.props),a}return n}(K);function pm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ev(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function tv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wu(t,e)}function nv(t,e){return e&&(iv(e)==="object"||typeof e=="function")?e:pm(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},wu(t,e)}var iv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function uv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function av(t){var e=uv();return function(){var u=Fn(t),a;if(e){var l=Fn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return nv(this,a)}}var N=function(t){tv(n,t);var e=av(n);function n(u){return ev(this,n),e.call(this,u)}return n}(q);function Iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function lv(t){if(Array.isArray(t))return Iu(t)}function rv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ov(){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 Ol(t){return lv(t)||rv(t)||cv(t)||ov()}function cv(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 sv(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function kl(t,e){t.parent=e,sv(t,"parent")}function dv(t,e){t.forEach(function(n){kl(n,e)})}var Ml=Symbol("targetKey");function Nl(t){var e;return(e=t[Ml])!==null&&e!==void 0?e:t}function Ll(t,e){return dv(t,e),new Proxy(t,{get:function(u,a){for(var l=arguments.length,r=new Array(l>2?l-2:0),o=2;o<l;o++)r[o-2]=arguments[o];var s;return a===Ml?u:(s=Reflect).get.apply(s,[u,a].concat(Ol(r)))},set:function(u,a,l){for(var r=arguments.length,o=new Array(r>3?r-3:0),s=3;s<r;s++)o[s-3]=arguments[s];var d;if(Xi(t)&&a==="length"&&l===t.length)return!0;var y=(d=Reflect).set.apply(d,[u,a,l].concat(Ol(o)));return uy(l)&&kl(l,e),y}})}function ye(t,e,n,u){var a=u!=null?u:t,l=Ll(Nl(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return l},set:function(o){l=Ll(Nl(o),a)},enumerable:!0})}function Su(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function fv(t){if(Array.isArray(t))return Su(t)}function $l(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vl(t,e,n,u,a,l,r){try{var o=t[l](r),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function hv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var l=t.apply(e,n);function r(s){Vl(l,u,a,r,o,"next",s)}function o(s){Vl(l,u,a,r,o,"throw",s)}r(void 0)})}}function yv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function mv(t,e,n){return e&&Hl(t.prototype,e),n&&Hl(t,n),t}function vv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?tt=Reflect.get:tt=function(a,l,r){var o=Sv(a,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r):s.value}},tt(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function 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&&Au(t,e)}function bv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Cv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ev(){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 wv(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){vv(t,a,n[a])})}return t}function Iv(t,e){return e&&(Av(e)==="object"||typeof e=="function")?e:$l(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Au(t,e)}function Sv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function jl(t){return fv(t)||Cv(t)||_v(t)||Ev()}var Av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _v(t,e){if(!!t){if(typeof t=="string")return Su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Su(t,e)}}function Rv(){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 Tv(t){var e=Rv();return function(){var u=Se(t),a;if(e){var l=Se(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Iv(this,a)}}var Bv=1e4,$=function(e){gv(u,e);var n=Tv(u);function u(a){yv(this,u);var l;l=n.call(this,a),l.controlType="layout";var r=bv(this,u)?this.constructor:void 0,o=r.excludes,s=r.childrenMaxLength;return l.props=new N(a==null?void 0:a.props),ye($l(l),"children",a==null?void 0:a.children),l.excludes=Ce(o),l.childrenMaxLength=s,l}return mv(u,[{key:"judgeExcludesChildren",value:function(l){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(l)}},{key:"judgeJoinChildren",value:function(l){var r=this.judgeExcludesChildren(l);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(l,r){var o=this,s=this,d=function(){return tt(Se(u.prototype),"validate",o)};return hv(ae.default.mark(function y(){return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,l,r);case 2:return b.next=4,Promise.all(s.children.map(function(E){return E.validate(l,r)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},y)}))()}},{key:"toDataBindModel",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=tt(Se(u.prototype),"toDataBindModel",this).call(this),o=r?[r]:[];return this.children.reduce(function(s,d){var y=d.toDataBindModel(l);if(Array.isArray(y)){var m=y.filter(function(b){return!!b});return jl(s).concat(jl(m))}return y&&s.push(y),s},o)}},{key:"toSchema",value:function(){var l=tt(Se(u.prototype),"toSchema",this).call(this),r=this.children.map(function(o){var s=o.toSchema();return s});return wv({},l,{children:r})}}]),u}(k);$.excludes=!1,$.childrenMaxLength=Bv;function ql(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function Dv(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 Fv(t,e){return e&&(xv(e)==="object"||typeof e=="function")?e:ql(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},_u(t,e)}var xv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ov(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function kv(t){var e=Ov();return function(){var u=xn(t),a;if(e){var l=xn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Fv(this,a)}}var U=function(t){Dv(n,t);var e=kv(n);function n(u){Pv(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new N(u==null?void 0:u.props),ye(ql(a),"children",u==null?void 0:u.children),a}return n}(K);function Ul(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function Nv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function Lv(t,e){return e&&($v(e)==="object"||typeof e=="function")?e:Ul(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ru(t,e)}var $v=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Hv(t){var e=Vv();return function(){var u=On(t),a;if(e){var l=On(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Lv(this,a)}}var kn=function(t){Nv(n,t);var e=Hv(n);function n(u,a){Mv(this,n);var l;return l=e.call(this,a),ye(Ul(l),"headers",a==null?void 0:a.headers,u),l}return n}(q);function Tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function jv(t){if(Array.isArray(t))return Tu(t)}function Wl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kl(t,e,n,u,a,l,r){try{var o=t[l](r),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function qv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var l=t.apply(e,n);function r(s){Kl(l,u,a,r,o,"next",s)}function o(s){Kl(l,u,a,r,o,"throw",s)}r(void 0)})}}function Uv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Wv(t,e,n){return e&&zl(t.prototype,e),n&&zl(t,n),t}function Kv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?nt=Reflect.get:nt=function(a,l,r){var o=Jv(a,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r):s.value}},nt(t,e,n||t)}function Ae(t){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ae(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&&Bu(t,e)}function Gv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Xv(){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 Gl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Kv(t,a,n[a])})}return t}function Qv(t,e){return e&&(Zv(e)==="object"||typeof e=="function")?e:Wl(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Bu(t,e)}function Jv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ae(t),t!==null););return t}function Xl(t){return jv(t)||Gv(t)||Yv(t)||Xv()}var Zv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yv(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function eg(t){var e=pv();return function(){var u=Ae(t),a;if(e){var l=Ae(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Qv(this,a)}}var Pu=function(t){zv(n,t);var e=eg(n);function n(u){Uv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new kn(Wl(a),u==null?void 0:u.props),a}return Wv(n,[{key:"validate",value:function(a,l){var r=this,o=this,s=function(){return nt(Ae(n.prototype),"validate",r)};return qv(ae.default.mark(function d(){return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,s().call(o,a);case 2:return m.next=4,Promise.all(o.props.headers.map(function(b){return b.validate(a,l)}));case 4:return m.abrupt("return",!0);case 5:case"end":return m.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=nt(Ae(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[],r=this.id;return this.props.headers.reduce(function(o,s){var d=s.toDataBindModel(r);if(Array.isArray(d)){var y=d.filter(function(m){return!!m});return Xl(o).concat(Xl(y))}return d&&o.push(d),o},l)}},{key:"toSchema",value:function(){var a=nt(Ae(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(r){return r.toSchema()});return Gl({},a,{props:Gl({},this.props,{headers:l})})}}]),n}(k);Pu.controlFieldType=g.LIST;function Du(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function ng(t,e,n){return e&&Ql(t.prototype,e),n&&Ql(t,n),t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function ig(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fu(t,e)}function ug(t,e){return e&&(ag(e)==="object"||typeof e=="function")?e:Du(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Fu(t,e)}var ag=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rg(t){var e=lg();return function(){var u=Mn(t),a;if(e){var l=Mn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return ug(this,a)}}var Jl=function(t){ig(n,t);var e=rg(n);function n(u){tg(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new kn(Du(a),u==null?void 0:u.props),ye(Du(a),"children",u==null?void 0:u.children),a}return ng(n,[{key:"length",get:function(){return this.children.length}}]),n}(K);function Zl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xu(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 Ou(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ku(t,e)}function og(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:Zl(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ku(t,e)}var cg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Mu(t){var e=sg();return function(){var u=Nn(t),a;if(e){var l=Nn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return og(this,a)}}var me=function(t){Ou(n,t);var e=Mu(n);function n(u){xu(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}(H),V=function(t){Ou(n,t);var e=Mu(n);function n(u){xu(this,n);var a;a=e.call(this,u);var l;a.width=(l=u==null?void 0:u.width)!==null&&l!==void 0?l:150,a.widthType=(u==null?void 0:u.widthType)||"auto";var r;a.caption=(r=u==null?void 0:u.caption)!==null&&r!==void 0?r:"";var o;a.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",a.autoWidth=new rl(u==null?void 0:u.autoWidth),a.dataBind=new ce(u==null?void 0:u.dataBind);var s;a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan;var d;return a.autoHeight=(d=u==null?void 0:u.autoHeight)!==null&&d!==void 0?d:!1,a}return n}(q);V.Rules=me;var Yl=function(t){Ou(n,t);var e=Mu(n);function n(u){xu(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],gu.call(Zl(a),u),a}return n}(me);function dg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function hg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nu(t,e)}function yg(t,e){return e&&(mg(e)==="object"||typeof e=="function")?e:dg(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Nu(t,e)}var mg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function gg(t){var e=vg();return function(){var u=Ln(t),a;if(e){var l=Ln(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return yg(this,a)}}var z=function(t){hg(n,t);var e=gg(n);function n(u){fg(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new V(u==null?void 0:u.props),a}return n}(k);function bg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function Eg(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 wg(t,e){return e&&(Ig(e)==="object"||typeof e=="function")?e:bg(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Lu(t,e)}var Ig=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Sg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ag(t){var e=Sg();return function(){var u=$n(t),a;if(e){var l=$n(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return wg(this,a)}}var G=function(t){Eg(n,t);var e=Ag(n);function n(u){Cg(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new V(u==null?void 0:u.props),a}return n}(K);function _g(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function Tg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function Bg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:_g(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},$u(t,e)}var Pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Fg(t){var e=Dg();return function(){var u=Vn(t),a;if(e){var l=Vn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Bg(this,a)}}var Vu=function(t){Tg(n,t);var e=Fg(n);function n(u){Rg(this,n);var a;return a=e.call(this,u),a.dataBind=new ce(u==null?void 0:u.dataBind),a}return n}(N);function xg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function kg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hu(t,e)}function Mg(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:xg(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Hu(t,e)}var Ng=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Lg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $g(t){var e=Lg();return function(){var u=Hn(t),a;if(e){var l=Hn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Mg(this,a)}}var Vg=function(t){kg(n,t);var e=$g(n);function n(u){Og(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new Vu(u==null?void 0:u.props),a}return n}($);function Hg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function qg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ju(t,e)}function Ug(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:Hg(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ju(t,e)}var Wg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zg(t){var e=Kg();return function(){var u=jn(t),a;if(e){var l=jn(this).constructor;a=Reflect.construct(u,arguments,l)}else a=u.apply(this,arguments);return Ug(this,a)}}var Gg=function(t){qg(n,t);var e=zg(n);function n(u){jg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new Vu(u==null?void 0:u.props),a}return n}(U);function Fe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class qu extends q{constructor(e){super(e);var n,u,a,l,r;this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(l=e==null?void 0:e.showState)!=null?l:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class pl extends k{static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}constructor(e){super(e);this.props=new qu(e==null?void 0:e.props)}}pl.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 Xg extends K{static get controlType(){return"text"}constructor(e){super(e);this.props=new qu(e==null?void 0:e.props)}}var er={Designer:pl,Runtime:Xg,Property:qu};class Uu extends q{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class Wu extends k{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}Wu.controlEventKeys=["on_click"],Wu.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 Qg extends K{static get controlType(){return"link"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}var tr={Designer:Wu,Runtime:Qg,Property:Uu};class Z extends q{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1,this.optObj=new $y((y=e==null?void 0:e.optObj)!=null?y:{})}}class Y extends k{static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}Y.controlEventKeys=["on_click","on_click_finish"],Y.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ne extends K{static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}var nr={Designer:Y,Runtime:ne,Property:Z},_e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(_e||{}),ir=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ir||{}),ur=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(ur||{});class qn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ku=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ku||{});class Un{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var zu=(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))(zu||{});class Gu{constructor(e){var n,u,a,l,r,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new vt((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new vt((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new vt((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class ar{constructor(e){var n,u,a,l,r,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new Gu(s)))!=null?a:[new Gu],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Xu{constructor(e){var n,u,a,l,r,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Qu{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class lr{constructor(e){var n,u,a,l;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new Qu(e==null?void 0:e.watermark),this.autoRename=new Qu(e==null?void 0:e.autoRename)}}const rr=480;function wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class or{constructor(e){var n,u,a,l,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(r=e.rules)!=null?r:[]}}class cr{constructor(e){var n,u,a;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var sr=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(sr||{}),Ju=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ju||{}),Wn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Wn||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),Zu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Zu||{});class Yu extends q{constructor(e){super(e);var n,u;this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:zu.SOLID}}class dr extends k{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new Yu(e==null?void 0:e.props)}}dr.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Jg extends K{static get controlType(){return"divider"}constructor(e){super(e);this.props=new Yu(e==null?void 0:e.props)}}var fr={Designer:dr,Runtime:Jg,Property:Yu};class Zg extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(_e.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class Kn extends q{constructor(e){super(e);var n,u,a,l;this.dataBind=new ce(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[_e.ShowSubmitUser,_e.ShowSubmitDept,_e.ShowSubmitTime,_e.ShowCurrentApprovar,_e.ShowTitle],this.caption=(a=(u=e==null?void 0:e.caption)!=null?u:it==null?void 0:it.controlName)!=null?a:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Kn.Rules=Zg;class it extends k{static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}it.controlFieldType=g.AUTO_NUMBER,it.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Yg extends K{static get controlType(){return"title"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}var hr={Designer:it,Runtime:Yg,Property:Kn};class pg extends H{constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class zn extends Z{constructor(e){super(e);var n,u,a,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:It.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:It.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}zn.Rules=pg;class It extends Y{static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}It.controlEventKeys=["on_click","on_click_finish"],It.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 e0 extends ne{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}var yr={Designer:It,Runtime:e0,Property:zn};class t0 extends H{constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Gn extends Z{constructor(e){super(e);var n,u,a,l,r,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:St.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:St.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Gn.Rules=t0;class St extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}St.controlEventKeys=["on_click","on_click_finish"],St.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 n0 extends ne{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}var mr={Designer:St,Runtime:n0,Property:Gn};class pu extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:At.controlIcon}}class At extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}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 i0 extends ne{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}var vr={Designer:At,Runtime:i0,Property:pu};class ea extends Z{constructor(e){super(e);var n,u,a,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:_t.controlName,this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(r=>new Xu(r)))!=null?l:[new Xu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class _t extends Y{static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ea(e==null?void 0:e.props)}}_t.controlEventKeys=["on_click","on_click_finish"],_t.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 u0 extends ne{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ea(e==null?void 0:e.props)}}var gr={Designer:_t,Runtime:u0,Property:ea};class ta extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Rt.controlIcon}}class Rt extends Y{static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}Rt.controlEventKeys=["on_click"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class a0 extends ne{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}var br={Designer:Rt,Runtime:a0,Property:ta};class l0{constructor(e){this.dataCode=e.dataCode}}class na extends Z{constructor(e){super(e);var n,u,a,l;this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Tt.controlIcon,this.canImportList=(l=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(r=>new l0(r)))!=null?l:[]}}class Tt extends Y{static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class r0 extends ne{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}var Cr={Designer:Tt,Runtime:r0,Property:na};function Xn(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class o0 extends H{constructor(e){super(e);this.fillPayload={type:"object",fields:ge({},Xn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Xn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Qn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Bt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new hl(e==null?void 0:e.fillPayload),this.formBind=new Ey(e==null?void 0:e.formBind),this.fillBack=new yl(e==null?void 0:e.fillBack)}}Qn.Rules=o0;class Bt extends Y{static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Qn(e==null?void 0:e.props)}}Bt.controlEventKeys=["on_click","on_click_finish"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class c0 extends ne{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Qn(e==null?void 0:e.props)}}var Er={Designer:Bt,Runtime:c0,Property:Qn};class s0 extends H{constructor(e){super(e);this.fillPayload={type:"object",fields:ge({},Xn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Xn())}}}class Jn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Pt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Pt.controlIcon,this.fillPayload=new hl(e==null?void 0:e.fillPayload),this.listPageBind=new pi(e==null?void 0:e.listPageBind),this.fillBack=new yl(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new iu(e==null?void 0:e.selectedContentConfig)}}Jn.Rules=s0;class Pt extends Y{static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}Pt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Pt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class d0 extends ne{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}var wr={Designer:Pt,Runtime:d0,Property:Jn};class f0 extends H{constructor(e){super(e)}}class h0 extends De{constructor(e){super(e)}}class Dt extends q{constructor(e){super(e)}}Dt.Rules=f0,Dt.RuntimeRules=h0;class Ir extends k{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Dt(e==null?void 0:e.props)}}Ir.setting=[];class y0 extends K{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Dt(e==null?void 0:e.props)}}var Sr={Designer:Ir,Runtime:y0,Property:Dt};class m0 extends H{constructor(e){super(e);this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends q{constructor(e){super(e);var n,u,a,l,r,o;this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}Zn.Rules=m0;class Ar extends k{static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Zn(e==null?void 0:e.props)}}Ar.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 v0 extends K{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Zn(e==null?void 0:e.props)}}var _r={Designer:Ar,Runtime:v0,Property:Zn};class g0 extends H{constructor(e){super(e);this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Yn extends q{constructor(e){super(e);var n,u,a;this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(u=e==null?void 0:e.viewList)==null?void 0:u.map(l=>new Ny(l)))!=null?a:[]}}Yn.Rules=g0;class Rr extends k{static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}Rr.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class b0 extends K{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}var Tr={Designer:Rr,Runtime:b0,Property:Yn};class C0 extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,u,a){if(u.every(r=>!r.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class pn extends Z{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:ut.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ut.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(m=(y=e==null?void 0:e.fillList)==null?void 0:y.map(b=>new p(b)))!=null?m:[]}}pn.Rules=C0;class ut extends Y{static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new pn(e==null?void 0:e.props)}}ut.controlEventKeys=["on_click","on_click_finish"],ut.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 E0 extends ne{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new pn(e==null?void 0:e.props)}}var Br={Designer:ut,Runtime:E0,Property:pn};class w0 extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,u,a){if(u.every(r=>!r.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ei extends Z{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:at.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:at.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(m=(y=e==null?void 0:e.fillList)==null?void 0:y.map(b=>new p(b)))!=null?m:[]}}ei.Rules=w0;class at extends Y{static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}at.controlEventKeys=["on_click","on_click_finish"],at.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 I0 extends ne{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}var Pr={Designer:at,Runtime:I0,Property:ei};class S0 extends H{constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class ti extends Z{constructor(e){super(e);var n,u,a,l,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:Ft.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Ft.controlName,this.printTemplates=(l=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new or(o)))!=null?l:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}ti.Rules=S0;class Ft extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}Ft.controlEventKeys=["on_click","on_click_finish"],Ft.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 A0 extends ne{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}var Dr={Designer:Ft,Runtime:A0,Property:ti};class ia extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:xt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:xt.controlIcon}}class xt extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}xt.controlEventKeys=["on_click"],xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class _0 extends ne{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}var Fr={Designer:xt,Runtime:_0,Property:ia};class R0 extends H{constructor(e){super(e);this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class ni extends q{constructor(e){super(e);var n,u,a,l,r;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}ni.Rules=R0;class ii extends k{static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new ni(e==null?void 0:e.props)}}ii.controlEventKeys=["on_click"],ii.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 T0 extends K{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new ni(e==null?void 0:e.props)}}var xr={Designer:ii,Runtime:T0,Property:ni};class ua extends q{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.content=(n=e==null?void 0:e.content)!=null?n:Ot.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ot.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(y=e==null?void 0:e.isLoading)!=null?y:!1}}class Ot extends k{static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}Ot.controlEventKeys=["on_click"],Ot.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class B0 extends K{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}var Or={Designer:Ot,Runtime:B0,Property:ua},P0=Object.freeze({__proto__:null,Text:er,Link:tr,Button:nr,Divider:fr,Title:hr,CreateFormListButton:yr,BatchSubmissionListButton:mr,SubmissionRecordListButton:vr,ExportListButton:gr,ExportRecordListButton:br,ImportRecordListButton:Cr,FormSelectButton:Er,ListSelectButton:wr,Pagination:Sr,Dashboard:_r,ListViewSelect:Tr,TextOcrButton:Br,InvoiceCheckButton:Pr,BatchPrintListButton:Dr,BatchPrintRecordListButton:Fr,OperationButton:xr,BatchDeleteButton:Or});class D0 extends Q{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class F0 extends M{constructor(e){super(e);this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class lt extends B{constructor(e){super(e);var n,u,a,l,r,o,s;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new ml(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:rt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}lt.Rules=D0,lt.RuntimeRules=F0;class rt extends P{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}constructor(e){super(e);this.props=new lt(e==null?void 0:e.props)}}rt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rt.controlFieldType=g.VARCHAR,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:"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 kr extends D{static get controlType(){return"input"}constructor(e){super(e);this.props=new lt(e==null?void 0:e.props)}}kr.controlFieldType=g.VARCHAR;var Mr={Designer:rt,Runtime:kr,Property:lt};class x0 extends et{constructor(e){super(e);this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class O0 extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class kt extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Mt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var _;(_=this.multistageFilling)==null||_.push(new p(C))}))}}kt.Rules=x0,kt.RuntimeRules=O0;class Mt extends P{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Mt.controlEventKeys=["on_change","on_click"],Mt.controlFieldType=g.ARRAY,Mt.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 Nr extends D{static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Nr.controlFieldType=g.ARRAY;var Lr={Designer:Mt,Runtime:Nr,Property:kt};class k0 extends et{constructor(e){super(e)}}class ui extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Nt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var A;(A=this.multistageFilling)==null||A.push(new p(E))}))}}ui.Rules=k0;class Nt extends P{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new ui(e==null?void 0:e.props)}}Nt.controlEventKeys=["on_change","on_click"],Nt.controlFieldType=g.VARCHAR,Nt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 $r extends D{static get controlType(){return"radio"}constructor(e){super(e);this.props=new ui(e==null?void 0:e.props)}}$r.controlFieldType=g.VARCHAR;var Vr={Designer:Nt,Runtime:$r,Property:ui};class M0 extends Q{constructor(e){super(e);this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class N0 extends M{constructor(e){super(e);this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Lt extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(y=e==null?void 0:e.unitPosition)!=null?y:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:$t.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:"\u8BF7\u8F93\u5165",this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:"",this.regularRules=new ml(e==null?void 0:e.regularRules)}}Lt.Rules=M0,Lt.RuntimeRules=N0;class $t extends P{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}$t.controlEventKeys=["on_change","on_input","on_focus","on_blur"],$t.controlFieldType=g.DECIMAL,$t.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 Hr extends D{static get controlType(){return"number"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}}Hr.controlFieldType=g.DECIMAL;var jr={Designer:$t,Runtime:Hr,Property:Lt};class aa extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:ai.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(y=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(E=>new qn(E)))!=null?y:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class ai extends P{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new aa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}ai.controlFieldType=g.TIMESTAMP,ai.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class qr extends D{static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new aa(e==null?void 0:e.props)}}qr.controlFieldType=g.TIMESTAMP;var Ur={Designer:ai,Runtime:qr,Property:aa};class L0 extends M{constructor(e){super(e);this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class li extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b;this.dataBind=new Fy(e==null?void 0:e.dataBind),this.defaultValue=new xy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(y=e==null?void 0:e.caption)!=null?y:ri.controlName,this.limitDateList=(b=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(E=>new qn(E)))!=null?b:[]}}li.RuntimeRules=L0;class ri extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}ri.controlFieldType=g.TIMESCOPE,ri.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wr extends D{static get controlType(){return"date-range"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}}Wr.controlFieldType=g.TIMESCOPE;var Kr={Designer:ri,Runtime:Wr,Property:li};class $0 extends Q{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class V0 extends M{constructor(e){super(e);this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Vt extends B{constructor(e){super(e);var n,u,a,l,r,o;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ht.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}Vt.Rules=$0,Vt.RuntimeRules=V0;class Ht extends P{static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}constructor(e){super(e);this.props=new Vt(e==null?void 0:e.props)}}Ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ht.controlFieldType=g.TEXT,Ht.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 zr extends D{static get controlType(){return"textarea"}constructor(e){super(e);this.props=new Vt(e==null?void 0:e.props)}}zr.controlFieldType=g.TEXT;var Gr={Designer:Ht,Runtime:zr,Property:Vt};class H0 extends Q{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class j0 extends M{constructor(e){super(e);this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class jt extends B{constructor(e){super(e);var n,u,a,l,r;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:qt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}jt.Rules=H0,jt.RuntimeRules=j0;class qt extends P{static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new jt(e==null?void 0:e.props)}}qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],qt.controlFieldType=g.TEXT,qt.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 Xr extends D{static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new jt(e==null?void 0:e.props)}}Xr.controlFieldType=g.TEXT;var Qr={Designer:qt,Runtime:Xr,Property:jt};class q0 extends et{constructor(e){super(e)}}class oi extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:ci.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var E;(E=this.multistageFilling)==null||E.push(new p(b))})),this.canViewForm=(y=e==null?void 0:e.canViewForm)!=null?y:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new Ye(e==null?void 0:e.formBind)}}oi.Rules=q0;class ci extends P{static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}constructor(e){super(e);this.props=new oi(e==null?void 0:e.props)}}ci.controlFieldType=g.VARCHAR,ci.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.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Jr extends D{static get controlType(){return"select"}constructor(e){super(e);this.props=new oi(e==null?void 0:e.props)}}Jr.controlFieldType=g.VARCHAR;var Zr={Designer:ci,Runtime:Jr,Property:oi};class U0 extends et{constructor(e){super(e)}}class W0 extends M{constructor(e){super(e);this[0].type="array"}}class Ut extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:si.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new p(m))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new Ye(e==null?void 0:e.formBind)}}Ut.Rules=U0,Ut.RuntimeRules=W0;class si extends P{static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}}si.controlFieldType=g.ARRAY,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Yr extends D{static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}}Yr.controlFieldType=g.ARRAY;var pr={Designer:si,Runtime:Yr,Property:Ut};class K0 extends M{constructor(e){super(e);this[0].type="array"}}class di extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:fi.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(y=e==null?void 0:e.openMultistageFilling)!=null?y:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new p(m))}))}}di.RuntimeRules=K0;class fi extends P{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}fi.controlFieldType=g.EMPLOYEES,fi.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 eo extends D{static get controlType(){return"employee"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}eo.controlFieldType=g.EMPLOYEES;var to={Designer:fi,Runtime:eo,Property:di};const z0=10485760,G0=104857600,X0=1048576e3;class Q0 extends Q{constructor(e){super(e);this.maxSize={type:"number",min:0,max:X0,message:f.getMessage("attachmentMaxSize")}}}class J0 extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class ot extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:G0,this.caption=(s=e==null?void 0:e.caption)!=null?s:ct.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}ot.Rules=Q0,ot.RuntimeRules=J0;class ct extends P{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new ot(e==null?void 0:e.props)}}ct.controlEventKeys=["on_change"],ct.controlFieldType=g.FILE,ct.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 la extends D{static get controlType(){return"attachment"}constructor(e){super(e);this.props=new ot(e==null?void 0:e.props)}}la.controlFieldType=g.FILE;var no={Designer:ct,Runtime:la,Property:ot};const io=class extends ct{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){super(t);var e,n,u,a;this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:io.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let ra=io;ra.controlFieldType=g.IMAGE,ra.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 Z0 extends la{static get controlType(){return"image"}constructor(e){super(e);var n,u,a,l,r,o;this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(l=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?l:"\u56FE\u7247",this.props.placeholder=(o=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class Y0 extends ot{constructor(e){super(e)}}var uo={Designer:ra,Runtime:Z0,Property:Y0};class p0 extends et{constructor(e){super(e);this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class eb extends M{constructor(e){super(e);this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[mn(ge({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class Wt extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Py(e==null?void 0:e.dataBind),this.datasourceBind=new X((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new tu({value:"name"})]}),this.defaultValue=new Dy((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:En.CNY}),this.options=he(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Kt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Wt.Rules=p0,Wt.RuntimeRules=eb;class Kt extends P{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new Wt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Kt.controlFieldType=g.MONEY,Kt.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 ao extends D{static get controlType(){return"amount"}constructor(e){super(e);this.props=new Wt(e==null?void 0:e.props)}}ao.controlFieldType=g.MONEY;var lo={Designer:Kt,Runtime:ao,Property:Wt};class tb extends Q{constructor(e){super(e);this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class nb extends M{constructor(e){super(e);this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class zt extends B{constructor(e){super(e);var n,u,a,l,r,o,s;this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:Ku.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(r=(l=e==null?void 0:e.explain)==null?void 0:l.map(d=>new Un(d)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Un),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Gt.controlName}}zt.Rules=tb,zt.RuntimeRules=nb;class Gt extends P{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new Un);this.props.explain.push(...a)}}super.postUpdate(e,n)}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=g.DECIMAL,Gt.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 ro extends D{static get controlType(){return"score"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}}ro.controlFieldType=g.DECIMAL;var oo={Designer:Gt,Runtime:ro,Property:zt};class ib extends M{constructor(e){super(e);if(this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class hi extends B{constructor(e){super(e);var n,u,a,l,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:yi.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new Oy((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}hi.RuntimeRules=ib;class yi extends P{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}yi.controlFieldType=g.ADDRESS,yi.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 co extends D{static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}co.controlFieldType=g.ADDRESS;var so={Designer:yi,Runtime:co,Property:hi};class ub extends M{constructor(e){super(e);this[0].type="array"}}class mi extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:Xt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var A;(A=this.multistageFilling)==null||A.push(new p(E))}))}}mi.RuntimeRules=ub;class Xt extends P{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}Xt.controlName="\u90E8\u95E8",Xt.controlFieldType=g.DEPARTMENTS,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.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 fo extends D{static get controlType(){return"department"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}fo.controlFieldType=g.DEPARTMENTS;var ho={Designer:Xt,Runtime:fo,Property:mi};class oa extends B{constructor(e){super(e);var n,u,a;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:Qt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Qt extends P{static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new oa(e==null?void 0:e.props)}}Qt.controlEventKeys=["on_change"],Qt.controlFieldType=g.AUTO_NUMBER,Qt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class yo extends D{static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new oa(e==null?void 0:e.props)}}yo.controlFieldType=g.AUTO_NUMBER;var mo={Designer:Qt,Runtime:yo,Property:oa};class ab 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 lb extends M{constructor(e){super(e);this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class Jt extends B{constructor(e){super(e);var n,u,a,l,r,o,s;this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new ky(e==null?void 0:e.dataBind),this.defaultValue=new My(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Zt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}Jt.Rules=ab,Jt.RuntimeRules=lb;class Zt extends P{static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Zt.controlEventKeys=["on_change"],Zt.controlFieldType=g.CALC,Zt.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 vo extends D{static get controlType(){return"calc"}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}}vo.controlFieldType=g.CALC;var go={Designer:Zt,Runtime:vo,Property:Jt};class rb extends M{constructor(e){super(e);this[0].type="array",this.push({validator(n,u){return e.required&&u.every(l=>!l)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class vi extends B{constructor(e){super(e);var n,u,a,l,r,o;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:gi.controlName}}vi.RuntimeRules=rb;class gi extends P{static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}gi.controlFieldType=g.DECIMAL_RANGE,gi.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 bo extends D{static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}bo.controlFieldType=g.DECIMAL_RANGE;var Co={Designer:gi,Runtime:bo,Property:vi};class ob extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class bi extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:be.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(y=e==null?void 0:e.placeholderEnd)!=null?y:"\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:Ci.controlName,this.limitDateList=(E=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(A=>new qn(A)))!=null?E:[]}}bi.RuntimeRules=ob;class Ci extends P{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Ci.controlFieldType=g.ARRAY,Ci.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Eo extends D{static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Eo.controlFieldType=g.ARRAY;var wo={Designer:Ci,Runtime:Eo,Property:bi};class cb extends Q{constructor(e){super(e);this.dataBind={type:"any"}}}class sb extends M{constructor(e){super(e);this[0].type="any"}}class Yt extends B{constructor(e){super(e);var n,u,a,l,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:pt.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Yt.Rules=cb,Yt.RuntimeRules=sb;class pt extends P{static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Yt(e==null?void 0:e.props)}}pt.controlFieldType=g.ANY,pt.controlEventKeys=[],pt.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 Io extends D{static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Yt(e==null?void 0:e.props)}}Io.controlFieldType=g.ANY;var So={Designer:pt,Runtime:Io,Property:Yt};class db extends et{constructor(e){super(e);this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class Ei extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.options=he((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new pi(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:en.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new iu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new p(m))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new Ye(e==null?void 0:e.formBind)}}Ei.Rules=db;class en extends P{static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}en.controlFieldType=g.VARCHAR,en.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.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],en.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Ao extends D{static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}Ao.controlFieldType=g.VARCHAR;var _o={Designer:en,Runtime:Ao,Property:Ei};class ca extends lt{constructor(e){super(e)}}class Ro extends rt{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new ca(e==null?void 0:e.props)}}Ro.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 D{static get controlType(){return"search-input"}constructor(e){super(e);this.props=new ca(e==null?void 0:e.props)}}To.controlFieldType=g.VARCHAR;var Bo={Designer:Ro,Runtime:To,Property:ca};class fb extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],An.call(this,e,Te.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class hb extends M{constructor(e){super(e);this[0].type="array"}}class tn extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A,C,_,v,I,w;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(d=e==null?void 0:e.isShowFilterItem)!=null?d:!1,this.isShowIncludeSub=(y=e==null?void 0:e.isShowIncludeSub)!=null?y:!1,this.defaultCollapse=(m=e==null?void 0:e.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new dl((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Te.controlCustomAttributes}),this.filterItemDatasourceBind=new dl((A=e==null?void 0:e.filterItemDatasourceBind)!=null?A:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.defaultDisplay=(_=e==null?void 0:e.defaultDisplay)!=null?_:!1,this.multistageFilling=(I=(v=e==null?void 0:e.multistageFilling)==null?void 0:v.map(F=>new p(F)))!=null?I:[],this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:[]}}tn.Rules=fb,tn.RuntimeRules=hb;class Te extends P{static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=g.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Po extends D{static get controlType(){return"tree"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}Po.controlFieldType=g.ARRAY;var Do={Designer:Te,Runtime:Po,Property:tn};class yb extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},An.call(this,e,st.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class mb extends M{constructor(e){super(e);this[0].type="array"}}class nn extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A,C;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:st.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Cn((y=e==null?void 0:e.datasourceBind)!=null?y:{attributes:st.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Ju.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Zu.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Re.ALL,this.externalScope=(A=e==null?void 0:e.externalScope)!=null?A:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var v;(v=this.multistageFilling)==null||v.push(new p(_))}))}}nn.Rules=yb,nn.RuntimeRules=mb;class st extends P{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new nn(e==null?void 0:e.props)}}st.controlFieldType=g.EMPLOYEES,st.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 Fo extends D{static get controlType(){return"employee2"}constructor(e){super(e);this.props=new nn(e==null?void 0:e.props)}}Fo.controlFieldType=g.EMPLOYEES;var xo={Designer:st,Runtime:Fo,Property:nn};class vb 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,u,a)=>(n[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(l,r,o){if(u.type==="public"&&Xi(r.value)&&r.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(l,r,o){if(u.type==="public"&&u.signatureType.includes("company")&&Xi(r.value)&&r.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class wi extends B{constructor(e){super(e);var n,u,a,l,r,o;this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:un.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new ar(e==null?void 0:e.signatureConfig)}}wi.Rules=vb;class un extends P{static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}un.controlEventKeys=["on_click","on_click_finish"],un.controlFieldType=g.VARCHAR,un.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 Oo extends D{static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}Oo.controlFieldType=g.VARCHAR;var ko={Designer:un,Runtime:Oo,Property:wi};class gb extends Q{constructor(e){super(e);this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class bb extends M{constructor(e){super(e);this[0].type="array"}}class an extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E;this.caption=(n=e==null?void 0:e.caption)!=null?n:ln.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(y=e==null?void 0:e.canDelete)!=null?y:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:z0,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new lr(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}an.Rules=gb,an.RuntimeRules=bb;class ln extends P{static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}constructor(e){super(e);this.props=new an(e==null?void 0:e.props)}}ln.controlEventKeys=["on_change","on_wps_open"],ln.controlFieldType=g.FILE,ln.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 Mo extends D{static get controlType(){return"wps"}constructor(e){super(e);this.props=new an(e==null?void 0:e.props)}}Mo.controlFieldType=g.FILE;var No={Designer:ln,Runtime:Mo,Property:an};class Cb extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},An.call(this,e,xe.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Eb extends M{constructor(e){super(e);this[0].type="array"}}class rn extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A,C,_;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:xe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Cn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:xe.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Wn.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var I;(I=this.multistageFilling)==null||I.push(new p(v))}))}}rn.Rules=Cb,rn.RuntimeRules=Eb;class xe extends P{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}xe.controlName="\u90E8\u95E8",xe.controlFieldType=g.DEPARTMENTS,xe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Lo extends D{static get controlType(){return"department2"}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}}Lo.controlFieldType=g.DEPARTMENTS;var $o={Designer:xe,Runtime:Lo,Property:rn};class wb extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},An.call(this,e,Oe.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Ib extends M{constructor(e){super(e);this[0].type="array"}}class on extends B{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m,b,E,A,C,_,v,I,w;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.listPageBind=new pi(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:Oe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new Ty((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Wn.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,this.organizingFunction=(_=e==null?void 0:e.organizingFunction)!=null?_:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(I=e==null?void 0:e.showSelectedDetail)!=null?I:!1,this.selectedContentConfig=new iu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(F=>{var O;(O=this.multistageFilling)==null||O.push(new p(F))}))}}on.Rules=wb,on.RuntimeRules=Ib;class Oe extends P{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new on(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}Oe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Oe.controlFieldType=g.DEPARTMENTS,Oe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Vo extends D{static get controlType(){return"organization-selection"}constructor(e){super(e);this.props=new on(e==null?void 0:e.props)}}Vo.controlFieldType=g.DEPARTMENTS;var Ho={Designer:Oe,Runtime:Vo,Property:on},Sb=Object.freeze({__proto__:null,Input:Mr,Checkbox:Lr,Radio:Vr,Number:jr,DatePicker:Ur,DateRange:Kr,Textarea:Gr,RichText:Qr,Select:Zr,SelectMultiple:pr,Employee:to,Image:uo,Attachment:no,Amount:lo,Score:oo,Address:so,Department:ho,AutoNumber:mo,Calc:go,SearchNumberRange:Co,SearchDateRange:wo,VueFormItem:So,SelectRelation:_o,SearchInput:Bo,Tree:Do,Employee2:xo,ElectronicSignature:ko,WPS:No,Department2:$o,OrganizationSelection:Ho});class jo extends ${static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}jo.excludes=[S.GRID];class Ab extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var qo={Designer:jo,Runtime:Ab,Property:N};const _b=24;class ke extends N{constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:_b,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class cn extends ${static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new ke(e==null?void 0:e.props)}}cn.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.DIVIDER],cn.childrenMaxLength=1;class sa extends U{static get controlType(){return"col"}constructor(e){super(e);this.props=new ke(e==null?void 0:e.props)}}var Uo={Designer:cn,Runtime:sa,Property:ke};class Ii extends N{constructor(e){super(e);var n,u;this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class Si extends ${static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new Ii(e==null?void 0:e.props)}}Si.excludes=[S.ROW],Si.setting=[{key:"col-setting",visible:!0}];class Wo extends U{static get controlType(){return"row"}constructor(e){super(e);this.props=new Ii(e==null?void 0:e.props)}}var Ko={Designer:Si,Runtime:Wo,Property:Ii};const Rb=4;class Ai extends Si{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)}}Ai.excludes=[S.GRID_ROW],Ai.setting=[],Ai.childrenMaxLength=Rb;class Tb extends Wo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Bb extends Ii{constructor(e){super(e)}}var zo={Designer:Ai,Runtime:Tb,Property:Bb};class Pb extends N.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class _i extends N{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}_i.Rules=Pb;class da extends ${static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}da.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}],da.excludes=[S.CARD_GROUP];class Db extends U{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}var Go={Designer:da,Runtime:Db,Property:_i};class Fb extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ri extends N{constructor(e){super(e);var n,u,a,l,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new by(e==null?void 0:e.metaAutoWidth)}}Ri.Rules=Fb;class oe extends ${constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}oe.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",oe.controlType="subtable-column",oe.controlIcon="subtable-column",oe.childrenMaxLength=1,oe.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],oe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Xo extends U{constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}Xo.controlType="subtable-column";var Qo={Designer:oe,Runtime:Xo,Property:Ri};class fa extends N{constructor(e){super(e)}}class Me extends ${constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}Me.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Me.controlType="subtable-row",Me.controlIcon="subtable-row",Me.childrenMaxLength=1,Me.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Me.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class xb extends U{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}var Jo={Designer:Me,Runtime:xb,Property:fa};class ha extends N{constructor(e){super(e);var n,u,a,l,r,o,s,d,y,m;this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:g.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(y=e==null?void 0:e.timestampDateType)!=null?y:be.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Ne extends ${constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}Ne.controlName="\u5217\u8868\u5355\u5143\u683C",Ne.controlType="gridtable-column",Ne.controlIcon="gridtable-column",Ne.childrenMaxLength=1,Ne.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Ne.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Zo extends U{constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}Zo.controlType="gridtable-column";var Yo={Designer:Ne,Runtime:Zo,Property:ha};class ya extends N{constructor(e){super(e)}}class Ob extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ti extends N{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:dn.controlName}}Ti.Rules=Ob;class sn extends ${static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}sn.excludes=[S.TAB],sn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class kb extends U{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}var po={Designer:sn,Runtime:kb,Property:Ti};class dn extends ${static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}constructor(e){super(e);var n;this.props=new ya(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new sn,new sn]}}dn.excludes=[S.TAB],dn.controlEventKeys=["on_change_tab"],dn.setting=[{key:"super-setting",visible:!0}];class Mb extends U{static get controlType(){return"tab"}constructor(e){super(e);this.props=new ya(e==null?void 0:e.props)}}var ec={Designer:dn,Runtime:Mb,Property:ya};class tc extends N{constructor(e){super(e)}}class nc extends ${static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new tc({}),this.children=(e==null?void 0:e.children)||[new cn({props:new ke({span:12})}),new cn({props:new ke({span:12})})]}}nc.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class Nb extends U{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new sa({props:new ke({span:12})}),new sa({props:new ke({span:12})})]}}var ic={Designer:nc,Runtime:Nb,Property:tc};class Lb extends De{constructor(e){super(e);this.push({type:"object",fields:{}})}}class $b extends H{constructor(e){super(e);if(this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),gu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class fn extends N{constructor(e){super(e);var n,u,a,l,r,o,s,d,y;this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new Sy(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new _y(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isAllLoaded=(y=e==null?void 0:e.isAllLoaded)!=null?y:!0,this.countType=e==null?void 0:e.countType}}fn.Rules=$b,fn.RuntimeRules=Lb;class Bi extends ${static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new fn(e==null?void 0:e.props)}}Bi.excludes=[S.ROW],Bi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Bi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class Vb extends U{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new fn(e==null?void 0:e.props)}}var uc={Designer:Bi,Runtime:Vb,Property:fn};class Hb extends De{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Pi extends N{constructor(e){super(e);var n,u,a,l,r,o;this.save=new we((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new we((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new we((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new we((l=e==null?void 0:e.print)!=null?l:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new we(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}Pi.RuntimeRules=Hb;class ac extends ${static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}ac.excludes=[];class jb extends U{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}var lc={Designer:ac,Runtime:jb,Property:Pi};class qb extends ${static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Ub extends U{static get controlType(){return"page"}constructor(e){super(e)}}class Wb extends N{constructor(e){super(e);var n;this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var rc={Designer:qb,Runtime:Ub,Property:Wb};class Kb extends ${static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class zb extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Gb extends N{constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new cr(e==null?void 0:e.flexConfig)}}var oc={Designer:Kb,Runtime:zb,Property:Gb};class Xb extends ${static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Qb extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Jb extends N{constructor(e){super(e)}}var cc={Designer:Xb,Runtime:Qb,Property:Jb};class Zb extends ${static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Yb extends U{static get controlType(){return"position"}constructor(e){super(e)}}class pb extends N{constructor(e){super(e);var n,u,a,l;this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(l=e==null?void 0:e.top)!=null?l:0}}var sc={Designer:Zb,Runtime:Yb,Property:pb};class ma extends N{constructor(e){super(e);var n,u,a;this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(u=e==null?void 0:e.opacity)!=null?u:!0,this.align=(a=e==null?void 0:e.align)!=null?a:"right"}}class va extends ${static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}constructor(e){super(e);var n;this.props=new ma((n=e==null?void 0:e.props)!=null?n:{})}}va.excludes=[],va.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class eC extends U{static get controlType(){return"action-bar"}constructor(e){super(e);var n;this.props=new ma((n=e==null?void 0:e.props)!=null?n:{})}}var dc={Designer:va,Runtime:eC,Property:ma},tC=Object.freeze({__proto__:null,Grid:qo,Col:Uo,Row:Ko,GridRow:zo,CardGroup:Go,SubTableColumn:Qo,SubTableRow:Jo,GridTableColumn:Yo,Tab:ec,TabPane:po,Toolbox:ic,ListView:uc,DataView:lc,Page:rc,AdvancedContainer:oc,PositioningContainer:cc,Position:sc,ActionBar:dc});class nC extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class iC extends De{constructor(e){super(e);e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class hn extends kn{constructor(e,n){super(e,n);var u,a,l,r,o,s,d,y,m,b,E,A,C,_,v,I,w,F,O,ie,x,ue,yn,ve;this.caption=(u=n==null?void 0:n.caption)!=null?u:Di.controlName,this.isHideCaption=(a=n==null?void 0:n.isHideCaption)!=null?a:!1,this.defaultState=(l=n==null?void 0:n.defaultState)!=null?l:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(y=n==null?void 0:n.maxHeight)!=null?y:rr,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.defaultRows=(E=n==null?void 0:n.defaultRows)!=null?E:1,this.datasourceBind=new X(n==null?void 0:n.datasourceBind),this.canAdd=(A=n==null?void 0:n.canAdd)!=null?A:!0,this.canDelete=(C=n==null?void 0:n.canDelete)!=null?C:!0,this.canCheck=(_=n==null?void 0:n.canCheck)!=null?_:!1,this.canEdit=(v=n==null?void 0:n.canEdit)!=null?v:!1,this.canImport=(I=n==null?void 0:n.canImport)!=null?I:!1,this.canExport=(w=n==null?void 0:n.canExport)!=null?w:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(O=n==null?void 0:n.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ie=n==null?void 0:n.isShowCaptionTip)!=null?ie:!1,this.captionTip=(x=n==null?void 0:n.captionTip)!=null?x:"",this.mobileShowType=(ue=n==null?void 0:n.mobileShowType)!=null?ue:"list",this.dataStorageDoc=(yn=n==null?void 0:n.dataStorageDoc)!=null?yn:new Cy,this.fixedColumn=(ve=n==null?void 0:n.fixedColumn)!=null?ve:[]}}hn.Rules=nC,hn.RuntimeRules=iC;class Di extends Pu{static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}constructor(e){super(e);var n;this.props=new hn(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 oe,new oe,new oe])}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new oe,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Di.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Di.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class uC extends Jl{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new hn(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){pa("Method not implemented.")}getChildrenFormControl(){return[]}}var fc={Designer:Di,Runtime:uC,Property:hn};class ga extends kn{constructor(e,n){super(e,n);var u,a,l,r;this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class aC extends me{constructor(e){super(e);this.caption.required=!1}}class Fi extends V{constructor(e){super(e);var n,u,a,l,r,o,s,d;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:Le.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(r=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?r:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}Fi.Rules=aC;class Le extends z{constructor(e){super(e);this.props=new Fi(e==null?void 0:e.props)}}Le.controlType="order-column",Le.controlName="\u5E8F\u53F7",Le.controlIcon="order-column",Le.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ba extends G{constructor(e){super(e);this.props=new Fi(e==null?void 0:e.props)}}ba.controlType="order-column",ba.controlFieldType=g.DECIMAL;var hc={Designer:Le,Runtime:ba,Property:Fi};class Ca extends V{constructor(e){super(e);var n,u,a,l,r,o;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=e==null?void 0:e.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:$e.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class $e extends z{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===ii.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return mn(ge({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return Ua(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(l=>l.validate(e,n))),!0})}}$e.controlType="operation-column",$e.controlName="\u64CD\u4F5C",$e.controlIcon="operation-column",$e.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Ea extends G{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}Ea.controlType="operation-column",Ea.controlFieldType=g.FILE;var yc={Designer:$e,Runtime:Ea,Property:Ca};class mc extends Pu{static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new ga(this,e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Le,new $e])}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return mn(ge({},e),{children:n})}validate(e,n){var u=a=>super[a];return Ua(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(l=>l.validate(e,n))),!0})}}mc.setting=[{key:"list-fixed-header",visible:!0}];class lC extends Jl{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new ga(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){pa("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var vc={Designer:mc,Runtime:lC,Property:ga},rC=Object.freeze({__proto__:null,SubTable:fc,GridTable:vc});class oC extends Yl{constructor(e){super(e);Fe.call(this,e)}}class xi extends V{constructor(e){super(e);var n,u,a,l,r;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}xi.Rules=oC;class Ve extends z{constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}Ve.controlType="varchar-column",Ve.controlName="\u77ED\u6587\u672C",Ve.controlIcon="varchar-column",Ve.controlFieldType=g.VARCHAR,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class wa extends G{constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}wa.controlType="varchar-column",wa.controlFieldType=g.VARCHAR;var gc={Designer:Ve,Runtime:wa,Property:xi};class cC extends me{constructor(e){super(e);Fe.call(this,e)}}class Oi extends V{constructor(e){super(e);var n,u,a,l;this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:He.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}Oi.Rules=cC;class He extends z{constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}He.controlType="text-column",He.controlName="\u957F\u6587\u672C",He.controlIcon="text-column",He.controlFieldType=g.TEXT,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Ia extends G{constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}}Ia.controlType="text-column",Ia.controlFieldType=g.TEXT;var bc={Designer:He,Runtime:Ia,Property:Oi};class sC extends me{constructor(e){super(e);Fe.call(this,e)}}class ki extends V{constructor(e){super(e);var n,u,a,l,r,o,s;this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=he((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}ki.Rules=sC;class je extends z{constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}je.controlType="decimal-column",je.controlName="\u6570\u503C",je.controlIcon="decimal-column",je.controlFieldType=g.DECIMAL,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Sa extends G{constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}}Sa.controlType="decimal-column",Sa.controlFieldType=g.DECIMAL;var Cc={Designer:je,Runtime:Sa,Property:ki};class dC extends me{constructor(e){super(e);Fe.call(this,e)}}class Mi extends V{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:qe.controlName}}Mi.Rules=dC;class qe extends z{constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}qe.controlType="timescope-column",qe.controlName="\u65E5\u671F\u533A\u95F4",qe.controlIcon="timescope-column",qe.controlFieldType=g.TIMESCOPE,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Aa extends G{constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}}Aa.controlType="timescope-column",Aa.controlFieldType=g.TIMESCOPE;var Ec={Designer:qe,Runtime:Aa,Property:Mi};class fC extends me{constructor(e){super(e);Fe.call(this,e)}}class Ni extends V{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ue.controlName}}Ni.Rules=fC;class Ue extends z{constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Ue.controlType="timestamp-column",Ue.controlName="\u65E5\u671F",Ue.controlIcon="timestamp-column",Ue.controlFieldType=g.TIMESTAMP,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class _a extends G{constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}}_a.controlType="timestamp-column",_a.controlFieldType=g.TIMESTAMP;var wc={Designer:Ue,Runtime:_a,Property:Ni};class hC extends Yl{constructor(e){super(e)}}class Li extends V{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}])}}Li.Rules=hC;class We extends z{constructor(e){super(e);this.props=new Li(e==null?void 0:e.props)}}We.controlType="array-column",We.controlName="\u6570\u7EC4",We.controlIcon="array-column",We.controlFieldType=g.ARRAY,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Ra extends G{constructor(e){super(e);this.props=new Li(e==null?void 0:e.props)}}Ra.controlType="array-column",Ra.controlFieldType=g.ARRAY;var Ic={Designer:We,Runtime:Ra,Property:Li};class Ta extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class Ke extends z{constructor(e){super(e);this.props=new Ta(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:u}=this.props;n.props.displayLevel=u}return n}}Ke.controlType="department-column",Ke.controlName="\u90E8\u95E8",Ke.controlIcon="department-column",Ke.controlFieldType=g.DEPARTMENTS,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Ba extends G{constructor(e){super(e);this.props=new Ta(e==null?void 0:e.props)}}Ba.controlType="department-column",Ba.controlFieldType=g.DEPARTMENTS;var Sc={Designer:Ke,Runtime:Ba,Property:Ta};class yC extends me{constructor(e){super(e);Fe.call(this,e)}}class $i extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}$i.Rules=yC;class ze extends z{constructor(e){super(e);this.props=new $i(e==null?void 0:e.props)}}ze.controlType="auto-number-column",ze.controlName="\u81EA\u52A8\u7F16\u53F7",ze.controlIcon="auto-number-column",ze.controlFieldType=g.AUTO_NUMBER,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Pa extends G{constructor(e){super(e);this.props=new $i(e==null?void 0:e.props)}}Pa.controlType="auto-number-column",Pa.controlFieldType=g.AUTO_NUMBER;var Ac={Designer:ze,Runtime:Pa,Property:$i};class Da extends V{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName}}class Ge extends z{constructor(e){super(e);this.props=new Da(e==null?void 0:e.props)}}Ge.controlType="file-column",Ge.controlName="\u9644\u4EF6",Ge.controlIcon="file-column",Ge.controlFieldType=g.FILE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Fa extends G{constructor(e){super(e);this.props=new Da(e==null?void 0:e.props)}}Fa.controlType="file-column",Fa.controlFieldType=g.FILE;var _c={Designer:Ge,Runtime:Fa,Property:Da};class xa extends V{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends z{constructor(e){super(e);this.props=new xa(e==null?void 0:e.props)}}Xe.controlType="image-column",Xe.controlName="\u56FE\u7247",Xe.controlIcon="image-column",Xe.controlFieldType=g.IMAGE,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Oa extends G{constructor(e){super(e);this.props=new xa(e==null?void 0:e.props)}}Oa.controlType="image-column",Oa.controlFieldType=g.IMAGE;var Rc={Designer:Xe,Runtime:Oa,Property:xa};class ka extends V{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName}}class Qe extends z{constructor(e){super(e);this.props=new ka(e==null?void 0:e.props)}}Qe.controlType="people-column",Qe.controlName="\u4EBA\u5458",Qe.controlIcon="people-column",Qe.controlFieldType=g.EMPLOYEES,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ma extends G{constructor(e){super(e);this.props=new ka(e==null?void 0:e.props)}}Ma.controlType="people-column",Ma.controlFieldType=g.EMPLOYEES;var Tc={Designer:Qe,Runtime:Ma,Property:ka};class mC extends me{constructor(e){super(e);Fe.call(this,e)}}class Vi extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption)}}Vi.Rules=mC;class Je extends z{constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}Je.controlType="location-column",Je.controlName="\u5730\u5740",Je.controlIcon="location-column",Je.controlFieldType=g.ADDRESS,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Na extends G{constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}Na.controlType="location-column",Na.controlFieldType=g.ADDRESS;var Bc={Designer:Je,Runtime:Na,Property:Vi};class La extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const vC=1;class Be extends z{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new La(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),this.excludes=Ce(n),this.childrenMaxLength=u}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return mn(ge({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.excludes=[],Be.childrenMaxLength=vC,Be.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Pc extends G{constructor(e){super(e);this.props=new La(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}Pc.controlType="custom-column";var Dc={Designer:Be,Runtime:Pc,Property:La};class $a extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Pe.controlName,this.datasourceBind=new Cn((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Pe.controlCustomAttributes})}}class Pe extends z{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new $a(e==null?void 0:e.props)}}Pe.controlType="employee-column",Pe.controlName="\u4EBA\u5458",Pe.controlIcon="employee-column",Pe.controlFieldType=g.EMPLOYEES,Pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Va extends G{constructor(e){super(e);this.props=new $a(e==null?void 0:e.props)}}Va.controlType="employee-column",Va.controlFieldType=g.EMPLOYEES;var Fc={Designer:Pe,Runtime:Va,Property:$a};class Ha extends V{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ee(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class Ze extends z{constructor(e){super(e);this.props=new Ha(e==null?void 0:e.props)}}Ze.controlType="approval-status-column",Ze.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ze.controlIcon="approval-status-column",Ze.excludes=[],Ze.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}];class xc extends G{constructor(e){super(e);this.props=new Ha(e==null?void 0:e.props)}}xc.controlType="approval-status-column";var Oc={Designer:Ze,Runtime:xc,Property:Ha},gC=Object.freeze({__proto__:null,VarcharColumn:gc,TextColumn:bc,DecimalColumn:Cc,TimescopeColumn:Ec,TimestampColumn:wc,ArrayColumn:Ic,DepartmentColumn:Sc,AutoNumberColumn:Ac,FileColumn:_c,ImageColumn:Rc,PeopleColumn:Tc,LocationColumn:Bc,CustomColumn:Dc,OrderColumn:hc,OperationColumn:yc,EmployeeColumn:Fc,ApprovalStatusColumn:Oc});class bC extends De{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Hi extends Vu{constructor(e){super(e);var n,u,a,l,r,o,s;this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new we((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new we((l=e==null?void 0:e.cancel)!=null?l:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((o=e==null?void 0:e.custom)!=null?o:[]).map(d=>new we(d)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Hi.RuntimeRules=bC;class ja extends Vg{constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}ja.controlType="simple-search",ja.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 kc extends Gg{constructor(e){super(e);var n;this.props=new Hi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}kc.controlType="simple-search";var Mc={Designer:ja,Runtime:kc,Property:Hi},CC=Object.freeze({__proto__:null,SimpleSearch:Mc});h.ActionBar=dc,h.Address=so,h.AdvancedContainer=oc,h.Amount=lo,h.ApprovalStatusColumn=Oc,h.ArrayColumn=Ic,h.AssignType=Re,h.Attachment=no,h.AutoNumber=mo,h.AutoNumberColumn=Ac,h.BatchDeleteButton=Or,h.BatchPrintListButton=Dr,h.BatchPrintRecordListButton=Fr,h.BatchSubmissionListButton=mr,h.Button=nr,h.Calc=go,h.CardGroup=Go,h.Checkbox=Lr,h.Col=Uo,h.CreateFormListButton=yr,h.CustomColumn=Dc,h.DATE_CONFIG_TYPE=ir,h.DATE_LIMIT_TYPE=ur,h.Dashboard=_r,h.DataView=lc,h.DatePicker=Ur,h.DateRange=Kr,h.DecimalColumn=Cc,h.Department=ho,h.Department2=$o,h.DepartmentColumn=Sc,h.DepartmentType=Wn,h.Divider=fr,h.ElectronicSignature=ko,h.ElectronicSignatureConfig=ar,h.Employee=to,h.Employee2=xo,h.EmployeeColumn=Fc,h.EncryptTypeEnum=sr,h.Explain=Un,h.ExportListButton=gr,h.ExportRecordListButton=br,h.ExportTemplate=Xu,h.FileColumn=_c,h.FlexStyleConfig=cr,h.FormSelectButton=Er,h.Grid=qo,h.GridRow=zo,h.GridTable=vc,h.GridTableColumn=Yo,h.Image=uo,h.ImageColumn=Rc,h.ImportRecordListButton=Cr,h.Input=Mr,h.InternalType=Zu,h.InvoiceCheckButton=Pr,h.LINE_STYLE=zu,h.LimitDate=qn,h.Link=tr,h.ListSelectButton=wr,h.ListView=uc,h.ListViewSelect=Tr,h.LocationColumn=Bc,h.Number=jr,h.OperationButton=xr,h.OperationColumn=yc,h.OrderColumn=hc,h.OrganizationSelection=Ho,h.OrganizeType=Ju,h.Page=rc,h.Pagination=Sr,h.PeopleColumn=Tc,h.Position=sc,h.PositioningContainer=cc,h.PrintTemplate=or,h.Radio=Vr,h.RichText=Qr,h.Row=Ko,h.SCORE_TYPE=Ku,h.SUBTABLE_DEFAULT_MAX_HEIGHT=rr,h.Score=oo,h.SearchDateRange=wo,h.SearchInput=Bo,h.SearchNumberRange=Co,h.Select=Zr,h.SelectMultiple=pr,h.SelectRelation=_o,h.SimpleSearch=Mc,h.SubTable=fc,h.SubTableColumn=Qo,h.SubTableRow=Jo,h.SubmissionRecordListButton=vr,h.Tab=ec,h.TabPane=po,h.Text=er,h.TextColumn=bc,h.TextOcrButton=Br,h.Textarea=Gr,h.TimescopeColumn=Ec,h.TimestampColumn=wc,h.Title=hr,h.TitleConfigEnum=_e,h.Toolbox=ic,h.Tree=Do,h.UndersignedPerson=Gu,h.VarcharColumn=gc,h.VueFormItem=So,h.WPS=No,h.WPSSetting=lr,h.WpsOperationItem=Qu,h.baseControls=P0,h.columnControls=gC,h.formControls=Sb,h.initExpression=wt,h.layoutControls=tC,h.listControls=rC,h.searchControls=CC,Object.defineProperty(h,"__esModule",{value:!0})});