@byteluck-fe/model-driven-controls 4.35.0-lx2 → 4.35.0-lx3
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 dw=Object.defineProperty,hw=Object.defineProperties;var fw=Object.getOwnPropertyDescriptors;var Ws=Object.getOwnPropertySymbols,yw=Object.getPrototypeOf,mw=Object.prototype.hasOwnProperty,vw=Object.prototype.propertyIsEnumerable,gw=Reflect.get;var Ks=(y,V,U)=>V in y?dw(y,V,{enumerable:!0,configurable:!0,writable:!0,value:U}):y[V]=U,ut=(y,V)=>{for(var U in V||(V={}))mw.call(V,U)&&Ks(y,U,V[U]);if(Ws)for(var U of Ws(V))vw.call(V,U)&&Ks(y,U,V[U]);return y},Al=(y,V)=>hw(y,fw(V));var Tl=(y,V,U)=>gw(yw(y),U,V);var Ol=(y,V,U)=>new Promise((su,Bn)=>{var du=ge=>{try{It(U.next(ge))}catch(Et){Bn(Et)}},hu=ge=>{try{It(U.throw(ge))}catch(Et){Bn(Et)}},It=ge=>ge.done?su(ge.value):Promise.resolve(ge.value).then(du,hu);It((U=U.apply(y,V)).next())});(function(y,V){typeof exports=="object"&&typeof module!="undefined"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(y=typeof globalThis!="undefined"?globalThis:y||self,V(y.modelDrivenControls={}))})(this,function(y){"use strict";var V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",U="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",su="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Bn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",du="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",hu="{caption}\u5FC5\u586B",It="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Et="\u8BF7\u8F93\u5165\u884C\u6807\u9898",zs="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Gs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Zs="\u8BF7\u7ED1\u5B9A\u8868\u5355",Qs="\u8BF7\u7ED1\u5B9A\u5217\u8868",Xs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Js="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ys="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ps="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ed="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",td="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",nd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",id="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ud="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ad="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ld="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",rd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",od="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",cd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",sd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",dd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",hd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",fd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",yd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",md="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",vd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",gd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",bd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",_d="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Cd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",wd="\u8BF7\u9009\u62E9\u7701",Id="\u8BF7\u9009\u62E9\u5E02",Ed="\u8BF7\u9009\u62E9\u533A",Sd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ad="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Td="\u8BF7\u8F93\u5165\u5217\u5BBD",Od="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Bd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Pd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Rd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Dd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",xd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Fd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",kd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ld="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Nd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",$d="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Hd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ud="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Wd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Kd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",zd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Gd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Qd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Xd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Jd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Yd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",pd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",eh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",th="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",nh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ih={isNotNumber:V,isNotString:U,isNotObject:su,isNotArray:Bn,isNotBoolean:du,runtimeRequired:hu,pleaseEnterCaption:It,pleaseEnterCaptionTip:ge,pleaseEnterRowCaption:Et,pleaseEnterPlaceholder:zs,pleaseEnterFieldCode:Gs,pleaseEnterForm:Zs,pleaseEnterList:Qs,pleaseEnterProcess:Xs,pleaseEnterLabel:Js,pleaseEnterValue:Ys,bizKeyNotBindFiled:ps,pleaseSelectOneField:ed,pleaseEnterNumberRange:td,pleaseEnterAValueGreaterThanMin:nd,pleaseEnterAValueLessThanMax:id,numberRangeSetError:ud,stringRangeError:ad,attachmentMaxSize:ld,pleaseEnterTotalScoreSetting:rd,theTotalScoreMustNotBeLessThan1:od,scoreDefaultValueRange:cd,attachmentLimitError:sd,PleaseReselectTheOptionalQuantity:dd,TheMaximumLengthIsGreaterThanTheMinimumLength:hd,TheMinimumLengthIsGreaterThanTheMaximumLength:fd,PleaseSelectTheCorrectOptionSettings:yd,optionIdIsRepeat:md,optionIsRequired:vd,pleaseEnterDataCode:gd,pleaseEnterValueFieldCode:bd,pleaseEnterSvcCode:_d,pleaseBindAtLeastOneDisplayValue:Cd,pleaseSelectProvince:wd,pleaseSelectCity:Id,pleaseSelectDistrict:Ed,limitRowsCannotBeLessThan0:Sd,TheNumberOfRowsCannotBeLessThanMinRows:Ad,pleaseEnterColumnWidth:Td,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Od,pleaseCompleteAllRulesAndConditions:Bd,pleaseSelectControl:Pd,pleaseSelectAtLeastOneColumn:Rd,pleaseSelectFillBackMode:Dd,pleaseSelectDashboard:xd,rootNodeIsRequired:Fd,theViewNameCannotBeEmpty:kd,pleaseSelectOcrType:Ld,pleaseSelectAtLeastOneFieldToFillIn:Nd,pleaseChooseAtLeastOne:Md,pleaseEnterButtonContent:$d,pleaseEnterDataCodeInDataSetting:Vd,pleaseEnterValueFieldCodeInDataSetting:Hd,pleaseEnterSvcCodeInDataSetting:jd,pleaseBindAtLeastOneDisplayValueInDataSetting:qd,rootNodeIsRequiredInDataSetting:Ud,pleaseEnterMaxHeight:Wd,pleaseEnter:Kd,pleaseEnterWatermark:zd,pleaseEnterFileName:Gd,pleaseUploadAtLeastOnePrintTemplate:Zd,pleaseAssignBusiness:Qd,pleaseAssignExternal:Xd,pleaseEnterAliasCode:Jd,pleaseSelectDataCode:Yd,pleaseSelectSvcCode:pd,pleaseSelectJoinFieldCode:eh,pleaseSelectMainFieldCode:th,pleaseSelectSortFieldCode:nh},uh="Please enter a number",ah="Please enter a string",lh="Please enter an object",rh="Please enter an array",oh="Please enter a boolean",ch="{caption} Required",sh="Please enter the title",dh="Please enter the bubble prompt",hh="Please enter the row title",fh="Please enter the prompt text",yh="Please bind data items",mh="Please bind the form",vh="Please bind the list",gh="Please bind the process",bh="Please enter the displayed value",_h="Please enter the stored value",Ch="The document number is not bound to the data item",wh="Please select at least one display field",Ih="Please enter a value greater than or equal to {min} and less than or equal to {max}",Eh="Please enter a value greater than or equal to {min}",Sh="Please enter a value less than or equal to {max}",Ah="The value range is set incorrectly",Th="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Oh="The attachment size must be between 0MB and 1000MB",Bh="Please fill in the total score setting",Ph="The total score cannot be less than 1",Rh="The default value must be between {min} and {max}",Dh="The number of attachments uploaded must be between {min} and {max}",xh="Please re-select the optional quantity",Fh="The maximum length of the control must be greater than the minimum length",kh="The minimum length of the control must be less than the maximum length",Lh="Please select the correct option setting",Nh="Option ID cannot be repeated",Mh="Please enter at least one option",$h="Please bind the data source",Vh="Please bind the stored value",Hh="Please bind the service",jh="At least one display value must be bound",qh="Please select a province",Uh="Please select a city",Wh="Please select a district",Kh="The minimum number of lines to fill in cannot be less than 0",zh="The number of rows cannot be less than {min} rows",Gh="Please enter the column width",Zh="Please set the logical relationship of all rule conditions",Qh="Please complete all rules and conditions",Xh="please select control",Jh="Please select the dashboard",Yh="View name cannot be empty",ph="Please select recognition type",ef="Please select at least one field to fill in",tf="Please select at least one",nf="Please enter the button title",uf="Please bind the business model in the data settings",af="Please bind storage values in data settings",lf="Please bind the service in the data settings",rf="Please bind at least one display value in the data settings",of="Please select the root node in the data settings",cf="Please enter the maximum height",sf="The input content cannot be empty",df="Watermark cannot be empty",hf="File name cannot be empty",ff="Please upload at least one printing template!\uFF01",yf="Please select a specific business department",mf="Please select a specified external organization",vf="Please enter a sub table alias",gf="Please select the associated table to set the business model",bf="Please select the association table to set the binding service",_f="Select associated sub table fields",Cf="Please select the associated main table field",wf="Please select the sort field",If={isNotNumber:uh,isNotString:ah,isNotObject:lh,isNotArray:rh,isNotBoolean:oh,runtimeRequired:ch,pleaseEnterCaption:sh,pleaseEnterCaptionTip:dh,pleaseEnterRowCaption:hh,pleaseEnterPlaceholder:fh,pleaseEnterFieldCode:yh,pleaseEnterForm:mh,pleaseEnterList:vh,pleaseEnterProcess:gh,pleaseEnterLabel:bh,pleaseEnterValue:_h,bizKeyNotBindFiled:Ch,pleaseSelectOneField:wh,pleaseEnterNumberRange:Ih,pleaseEnterAValueGreaterThanMin:Eh,pleaseEnterAValueLessThanMax:Sh,numberRangeSetError:Ah,stringRangeError:Th,attachmentMaxSize:Oh,pleaseEnterTotalScoreSetting:Bh,theTotalScoreMustNotBeLessThan1:Ph,scoreDefaultValueRange:Rh,attachmentLimitError:Dh,PleaseReselectTheOptionalQuantity:xh,TheMaximumLengthIsGreaterThanTheMinimumLength:Fh,TheMinimumLengthIsGreaterThanTheMaximumLength:kh,PleaseSelectTheCorrectOptionSettings:Lh,optionIdIsRepeat:Nh,optionIsRequired:Mh,pleaseEnterDataCode:$h,pleaseEnterValueFieldCode:Vh,pleaseEnterSvcCode:Hh,pleaseBindAtLeastOneDisplayValue:jh,pleaseSelectProvince:qh,pleaseSelectCity:Uh,pleaseSelectDistrict:Wh,limitRowsCannotBeLessThan0:Kh,TheNumberOfRowsCannotBeLessThanMinRows:zh,pleaseEnterColumnWidth:Gh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Zh,pleaseCompleteAllRulesAndConditions:Qh,pleaseSelectControl:Xh,pleaseSelectDashboard:Jh,theViewNameCannotBeEmpty:Yh,pleaseSelectOcrType:ph,pleaseSelectAtLeastOneFieldToFillIn:ef,pleaseChooseAtLeastOne:tf,pleaseEnterButtonContent:nf,pleaseEnterDataCodeInDataSetting:uf,pleaseEnterValueFieldCodeInDataSetting:af,pleaseEnterSvcCodeInDataSetting:lf,pleaseBindAtLeastOneDisplayValueInDataSetting:rf,rootNodeIsRequiredInDataSetting:of,pleaseEnterMaxHeight:cf,pleaseEnter:sf,pleaseEnterWatermark:df,pleaseEnterFileName:hf,pleaseUploadAtLeastOnePrintTemplate:ff,pleaseAssignBusiness:yf,pleaseAssignExternal:mf,pleaseEnterAliasCode:vf,pleaseSelectDataCode:gf,pleaseSelectSvcCode:bf,pleaseSelectJoinFieldCode:_f,pleaseSelectMainFieldCode:Cf,pleaseSelectSortFieldCode:wf},Ef="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Af="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Of="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bf="{caption}\u5FC5\u9808",Pf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Df="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Hf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Kf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Zf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Jf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yf="\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",pf="\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",ey="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ty="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ny="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",iy="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uy="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ay="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ly="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ry="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oy="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cy="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sy="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dy="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fy="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",yy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",my="please select control",vy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gy="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",by="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_y="\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",Cy="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wy="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Iy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ey="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ay="\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",Ty="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Oy="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",By="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Py="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ry="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Dy="\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",xy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ky="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ly="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ny="\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",My="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",$y="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Vy="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Hy={isNotNumber:Ef,isNotString:Sf,isNotObject:Af,isNotArray:Tf,isNotBoolean:Of,runtimeRequired:Bf,pleaseEnterCaption:Pf,pleaseEnterCaptionTip:Rf,pleaseEnterRowCaption:Df,pleaseEnterPlaceholder:xf,pleaseEnterFieldCode:Ff,pleaseEnterForm:kf,pleaseEnterList:Lf,pleaseEnterProcess:Nf,pleaseEnterLabel:Mf,pleaseEnterValue:$f,bizKeyNotBindFiled:Vf,pleaseSelectOneField:Hf,pleaseEnterNumberRange:jf,pleaseEnterAValueGreaterThanMin:qf,pleaseEnterAValueLessThanMax:Uf,numberRangeSetError:Wf,stringRangeError:Kf,attachmentMaxSize:zf,pleaseEnterTotalScoreSetting:Gf,theTotalScoreMustNotBeLessThan1:Zf,scoreDefaultValueRange:Qf,attachmentLimitError:Xf,PleaseReselectTheOptionalQuantity:Jf,TheMaximumLengthIsGreaterThanTheMinimumLength:Yf,TheMinimumLengthIsGreaterThanTheMaximumLength:pf,PleaseSelectTheCorrectOptionSettings:ey,optionIdIsRepeat:ty,optionIsRequired:ny,pleaseEnterDataCode:iy,pleaseEnterValueFieldCode:uy,pleaseEnterSvcCode:ay,pleaseBindAtLeastOneDisplayValue:ly,pleaseSelectProvince:ry,pleaseSelectCity:oy,pleaseSelectDistrict:cy,limitRowsCannotBeLessThan0:sy,TheNumberOfRowsCannotBeLessThanMinRows:dy,pleaseEnterColumnWidth:hy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fy,pleaseCompleteAllRulesAndConditions:yy,pleaseSelectControl:my,pleaseSelectDashboard:vy,theViewNameCannotBeEmpty:gy,pleaseSelectOcrType:by,pleaseSelectAtLeastOneFieldToFillIn:_y,pleaseChooseAtLeastOne:Cy,pleaseEnterButtonContent:wy,pleaseEnterDataCodeInDataSetting:Iy,pleaseEnterValueFieldCodeInDataSetting:Ey,pleaseEnterSvcCodeInDataSetting:Sy,pleaseBindAtLeastOneDisplayValueInDataSetting:Ay,rootNodeIsRequiredInDataSetting:Ty,pleaseEnterMaxHeight:Oy,pleaseEnter:By,pleaseEnterWatermark:Py,pleaseEnterFileName:Ry,pleaseUploadAtLeastOnePrintTemplate:Dy,pleaseAssignBusiness:xy,pleaseAssignExternal:Fy,pleaseEnterAliasCode:ky,pleaseSelectDataCode:Ly,pleaseSelectSvcCode:Ny,pleaseSelectJoinFieldCode:My,pleaseSelectMainFieldCode:$y,pleaseSelectSortFieldCode:Vy},jy={zhCN:ih,enUS:If,jaJP:Hy},qy="zh-CN";function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Pn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),A=function(t){return 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.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",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.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.SENSITIVEN_INFORMATION="sensitiven-information",t}({}),b=function(t){return 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",t}({}),p;p={},ie(p,"array","array-column"),ie(p,"auto_number","auto-number-column"),ie(p,"decimal","decimal-column"),ie(p,"department","department-column"),ie(p,"file","file-column"),ie(p,"image","image-column"),ie(p,"location","location-column"),ie(p,"people","employee-column"),ie(p,"text","text-column"),ie(p,"timescope","timescope-column"),ie(p,"timestamp","timestamp-column"),ie(p,"varchar","varchar-column"),ie(p,"relation","varchar-column");var at=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),Bl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Uy=Bl+"0123456789";function ce(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Bl:Uy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Wy(t){if(Array.isArray(t))return fu(t)}function Ky(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pl(t,e,n){return e=St(e),Qy(t,mu()?Reflect.construct(e,n||[],St(t).constructor):e.apply(t,n))}function Rl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t,e,n){return mu()?Rn=Reflect.construct:Rn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&At(c,l.prototype),c},Rn.apply(null,arguments)}function St(t){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},St(t)}function Dl(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&&At(t,e)}function zy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Zy(){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 Qy(t,e){return e&&(Xy(e)==="object"||typeof e=="function")?e:Ky(t)}function At(t,e){return At=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},At(t,e)}function xl(t){return Wy(t)||Gy(t)||Jy(t)||Zy()}function Xy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jy(t,e){if(!!t){if(typeof t=="string")return fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fu(t,e)}}function yu(t){var e=typeof Map=="function"?new Map:void 0;return yu=function(i){if(i===null||!zy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Rn(i,arguments,St(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),At(u,i)},yu(t)}function mu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mu=function(){return!!t})()}var vu=console;function gu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=vu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(xl(u)))}function Fl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=vu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(xl(u)))}function Yy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var bu=function(t){Dl(e,t);function e(n){Rl(this,e);var i;return i=Pl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?Yy(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(yu(Error)),py=function(t){Dl(e,t);function e(n){Rl(this,e);var i;return i=Pl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(bu);function Tt(t){throw new bu(t)}function kl(t){throw new py(t)}function em(t){vu.error(new bu(t))}var tm=Object.prototype.toString;function Ll(t,e){return tm.call(t)==="[object "+e+"]"}function nm(t){return Ll(t,"String")}function im(t){return Ll(t,"Promise")}var um=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();im(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,l,r){if(u!==void 0){var s=u[a];if(!(l===r.length-1&&!nm(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function am(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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function lm(t,e,n){return e&&Nl(t.prototype,e),n&&Nl(t,n),t}function rm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){am(this,t)}return lm(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qy;return new um({locale:n,messages:jy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();rm(d,"$i18n",d.resetI18n());function om(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,r,s){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){gu("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return r===s.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var cm=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},sm={exports:{}};(function(t){(function(e){var n=function(m,w,x){if(!c(w)||v(w)||g(w)||C(w)||s(w))return w;var B,D=0,re=0;if(h(w))for(B=[],re=w.length;D<re;D++)B.push(n(m,w[D],x));else{B={};for(var F in w)Object.prototype.hasOwnProperty.call(w,F)&&(B[m(F,x)]=n(m,w[F],x))}return B},i=function(m,w){w=w||{};var x=w.separator||"_",B=w.split||/(?=[A-Z])/;return m.split(B).join(x)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(w,x){return x?x.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var w=u(m);return w.substr(0,1).toUpperCase()+w.substr(1)},l=function(m,w){return i(m,w).toLowerCase()},r=Object.prototype.toString,s=function(m){return typeof m=="function"},c=function(m){return m===Object(m)},h=function(m){return r.call(m)=="[object Array]"},v=function(m){return r.call(m)=="[object Date]"},g=function(m){return r.call(m)=="[object RegExp]"},C=function(m){return r.call(m)=="[object Boolean]"},I=function(m){return m=m-0,m===m},_=function(m,w){var x=w&&"process"in w?w.process:w;return typeof x!="function"?m:function(B,D){return x(B,m,D)}},E={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(m,w){return n(_(u,w),m)},decamelizeKeys:function(m,w){return n(_(l,w),m,w)},pascalizeKeys:function(m,w){return n(_(a,w),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=E:e.humps=E})(cm)})(sm);var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});function _u(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:_u(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:_u(i)}return e}}var dm=Ml.default=_u;function hm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ee(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":hm(t))==="object"?dm(t):t}function fm(t){return Object.prototype.toString.call(t)==="[object Object]"}function Cu(t){return Array.isArray(t)}function ym(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function wu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function mm(t){if(Array.isArray(t))return wu(t)}function $l(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function vm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){$l(a,i,u,l,r,"next",s)}function r(s){$l(a,i,u,l,r,"throw",s)}l(void 0)})}}function gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function bm(t,e,n){return e&&Vl(t.prototype,e),n&&Vl(t,n),t}function Hl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _m(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Cm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Iu(t){return mm(t)||_m(t)||wm(t)||Cm()}function wm(t,e){if(!!t){if(typeof t=="string")return wu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wu(t,e)}}function Im(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=r(0),l.throw=r(1),l.return=r(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function r(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Em=function(){function t(){gm(this,t),Hl(this,"_events",new Map),Hl(this,"debug",!1)}return bm(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];return vm(function(){var l,r,s,c,h,v,g,C,I,_,E,m;return Im(this,function(w){switch(w.label){case 0:if(l=this._events.get(n),r=[],!l)return[3,10];s=l.slice(),c=!0,h=!1,v=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),g=s[Symbol.iterator](),w.label=2;case 2:if(c=(C=g.next()).done)return[3,7];if(I=C.value,!l.includes(I))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),this.debug&&Fl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Iu(u))),[4,I.apply(null,Iu(u))];case 4:return _=w.sent(),this.debug&&Fl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Iu(u),[_])),r.push(_),_===!1?[3,7]:[3,6];case 5:return E=w.sent(),em(String(E)+":"+String(E.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return m=w.sent(),h=!0,v=m,[3,10];case 9:try{!c&&g.return!=null&&g.return()}finally{if(h)throw v}return[7];case 10:return[2,r]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Sm(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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Am(t,e,n){return e&&jl(t.prototype,e),n&&jl(t,n),t}function Tm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Om=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Bm=function(){function t(){Sm(this,t)}return Am(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var r=l.key;return{key:r,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();Tm(Bm,"events",Om);function Eu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Pm(t){if(Array.isArray(t))return Eu(t)}function Rm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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 ql(t){return Pm(t)||Rm(t)||xm(t)||Dm()}function xm(t,e){if(!!t){if(typeof t=="string")return Eu(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 Eu(t,e)}}function Su(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ul(t,e,n){n!=="Runtime"&&(t.parent=e,Su(t,"parent"))}function Fm(t,e,n){t.forEach(function(i){Ul(i,e,n)})}var Wl=Symbol("targetKey");function Kl(t){var e;return(e=t[Wl])!==null&&e!==void 0?e:t}function zl(t,e,n){return Fm(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,r=new Array(l>2?l-2:0),s=2;s<l;s++)r[s-2]=arguments[s];var c;return a===Wl?u:(c=Reflect).get.apply(c,[u,a].concat(ql(r)))},set:function(u,a,l){for(var r=arguments.length,s=new Array(r>3?r-3:0),c=3;c<r;c++)s[c-3]=arguments[c];var h;if(Cu(t)&&a==="length"&&l===t.length)return!0;var v=(h=Reflect).set.apply(h,[u,a,l].concat(ql(s)));return fm(l)&&Ul(l,e,n),v}})}function fe(t,e,n,i,u){var a=i!=null?i:t,l=zl(Kl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=zl(Kl(s),a,u)},enumerable:!0})}function km(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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Lm(t,e,n){return e&&Gl(t.prototype,e),n&&Gl(t,n),t}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Zl=[],Dn=function(){function t(e){km(this,t),Se(this,"registeredControlTypes",new Set),Se(this,"controlConfigMap",new Map),Se(this,"_controls",[]),Se(this,"_type",void 0),this._type=e,this._initControls(e)}return Lm(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Tt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(gu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Pn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Pn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Pn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Pn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(h){return u.createControl(h,i)});if(n.children&&(n.children=n.children.map(function(h){return u.createControl(h,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(h){return u.createControl(h,i)})),a.footers&&(a.footers=a.footers.map(function(h){var v;return h&&(v=u.createControl(h,i)),v}))}var l=this.getControlFormType(n.type);if(l){var r=n;if(typeof i=="function"){var s=i(r);s&&(r=s)}var c;return l.mode==="Runtime"?(c=r,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(r),c}else Tt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Su(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,r=i.instanceMap;if(!(!l||!r)){var s=l[a],c=r[a];if(!(!s&&!c)){var h=c.findIndex(function(C){return C==n}),v=r[s]||[],g;return v.length!==c.length?g=v[0]:g=v[h],g}}}}),Su(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Tt("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return r>-1&&(gu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();Se(Dn,"staticControlsRuntimeRules",new Map),Se(Dn,"staticControls",Zl),Se(Dn,"staticRegisteredTypes",new Set(Zl.map(function(t){return t.Designer.controlType}))),Se(Dn,"staticRegisteredConfigs",new Map);function Nm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function se(t,e,n){return e=xn(e),Mm(t,Ql()?Reflect.construct(e,n||[],xn(t).constructor):e.apply(t,n))}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function de(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 Mm(t,e){return e&&($m(e)==="object"||typeof e=="function")?e:Nm(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Au(t,e)}function $m(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ql(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ql=function(){return!!t})()}var ye=function t(e){S(this,t),f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Xl=function t(e){S(this,t),f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Tu=function(t){de(e,t);function e(n){S(this,e);var i;i=se(this,e,[n]),f(i,"width",void 0),f(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(Xl),Vm=function t(e){S(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Tu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Tu(e==null?void 0:e.mobile):new Tu({width:130,minWidth:180})},Hm=function t(e){S(this,t),f(this,"type",void 0),f(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},lt=function t(e){S(this,t),f(this,"dataCode",void 0),f(this,"formKey",void 0),f(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},jm=function(t){de(e,t);function e(n){S(this,e);var i;i=se(this,e,[n]),f(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(lt),Jl=function t(e){S(this,t),f(this,"fieldCode",void 0),f(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Ou=function t(e){S(this,t);var n;f(this,"appId",void 0),f(this,"formKey",void 0),f(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Jl(l)}))!==null&&a!==void 0?a:[]},qm=function t(e){S(this,t),f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},Um=function(t){de(e,t);function e(n){S(this,e);var i;i=se(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var r;return i.filters=(r=n==null?void 0:n.filters)!==null&&r!==void 0?r:[],i}return e}(lt),Wm=function t(e){S(this,t);var n,i;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new lt(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new qm(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new Um(l)}))!==null&&a!==void 0?a:[]},Km=function t(e){S(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Ot=function t(e){S(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Bu=function t(e){var n=this;S(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ce();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;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)&&(e==null||e.children.map(function(r){if(r.children!==void 0){var s,c=new t(r);(s=n.children)===null||s===void 0||s.push(c)}else{var h,v=new Fn(r);(h=n.children)===null||h===void 0||h.push(v)}}))},Fn=function t(e){S(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ce();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new Km(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ot(e==null?void 0:e.rightVariableBo)},zm=function t(e){S(this,t),f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ne=function t(e){S(this,t),f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Pu=function t(e){S(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Gm=function t(e){S(this,t),f(this,"columnName",void 0),f(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Ru(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Bu(r):new Fn(r)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new Bu(r):new Fn(r)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Gm(r)}))!==null&&l!==void 0?l:[]}var Y=function t(e){var n=this;S(this,t),f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(h){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Pu(h))}));var r;this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!==null&&r!==void 0?r:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",Ru.call(this,e)},Du=function t(e){S(this,t),f(this,"dataCode",void 0),f(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},be=function t(e){S(this,t),f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var h;this.openType=(h=e==null?void 0:e.openType)!==null&&h!==void 0?h:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},Yl=function t(e){S(this,t);var n;f(this,"name",void 0),f(this,"key",void 0),f(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Pu(l)}))!==null&&a!==void 0?a:[]},kn=function(t){de(e,t);function e(n){S(this,e);var i,u;i=se(this,e,[n]),f(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new Yl(l)}))!==null&&a!==void 0?a:[],i}return e}(Y),Zm=function(t){de(e,t);function e(n){S(this,e);var i,u;i=se(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(r){return new Yl(r)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Y),pl=function(t){de(e,t);function e(n){S(this,e);var i;i=se(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new Ot(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(kn),er=function t(e){S(this,t);var n;f(this,"dataCode",void 0),f(this,"appId",void 0),f(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ne(l)}))!==null&&a!==void 0?a:[]},tr=function(t){de(e,t);function e(n){S(this,e);var i;return i=se(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Ru.call(i,n),i}return e}(er),nr=function(t){de(e,t);function e(n){S(this,e);var i;i=se(this,e,[n]),f(i,"mode",void 0),f(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(er),xu=function t(e){S(this,t),f(this,"stencilName",void 0),f(this,"expression",void 0),f(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Qm=function t(e){S(this,t),f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ce(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new Qm(n)}))!==null&&e!==void 0?e:[]}var Fu=function t(){S(this,t)},Xm=function(t){de(e,t);function e(n){S(this,e);var i;return i=se(this,e),f(i,"amount",void 0),f(i,"currency",void 0),i.amount=new ye(n==null?void 0:n.amount),i.currency=new ye(n==null?void 0:n.currency),i}return e}(Fu),Jm=function t(e){S(this,t),f(this,"amount",void 0),f(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},Ym=function(t){de(e,t);function e(n){S(this,e);var i;return i=se(this,e),f(i,"min",void 0),f(i,"max",void 0),i.min=new ye(n==null?void 0:n.min),i.max=new ye(n==null?void 0:n.max),i}return e}(Fu),pm=function t(e){S(this,t),f(this,"min",void 0),f(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},ev=function t(e){S(this,t),f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var r;this.provinceDisplay=(r=e==null?void 0:e.provinceDisplay)!==null&&r!==void 0?r:""},tv=function(t){de(e,t);function e(n){S(this,e);var i;return i=se(this,e),f(i,"result",void 0),f(i,"unit",void 0),i.result=new ye(n==null?void 0:n.result),i.unit=new ye(n==null?void 0:n.unit),i}return e}(Fu),nv=function t(e){S(this,t),f(this,"result",void 0),f(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},iv=function(t){return 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",t}({}),o=function(t){return 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.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.ONLY_ALLOW_TAKE_PHOTO="onlyAllowTakePhoto",t.FORBID_DOWNLOAD="forbidDownload",t.ACCESS_CONTROL="accessControl",t}({}),uv=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ae=function t(e){S(this,t),f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var r;this.priorityProcess=(r=e==null?void 0:e.priorityProcess)!==null&&r!==void 0?r:!1},av=function t(e){S(this,t);var n;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ce(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Jl(l)}))!==null&&a!==void 0?a:[],Ru.call(this,e)},lv=function t(e){S(this,t),f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},rv=function t(e){S(this,t),f(this,"optCode",void 0),f(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},ov=function t(e){S(this,t);var n;f(this,"id",void 0),f(this,"name",void 0),f(this,"color",void 0),f(this,"filters",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ce();var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:"theme";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new Bu(r):new Fn(r)}))!==null&&l!==void 0?l:[]},cv=function t(e){S(this,t),f(this,"id",void 0),f(this,"script",void 0),f(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:ce();var i;this.script=(i=e.script)!==null&&i!==void 0?i:"";var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme"};function sv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dv(t,e,n){return e=Bt(e),yv(t,Nu()?Reflect.construct(e,n||[],Bt(t).constructor):e.apply(t,n))}function ku(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return Nu()?Ln=Reflect.construct:Ln=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&Pt(c,l.prototype),c},Ln.apply(null,arguments)}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bt(t){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bt(t)}function hv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pt(t,e)}function fv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function yv(t,e){return e&&(mv(e)==="object"||typeof e=="function")?e:sv(t)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pt(t,e)}function mv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lu(t){var e=typeof Map=="function"?new Map:void 0;return Lu=function(i){if(i===null||!fv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Bt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Pt(u,i)},Lu(t)}function Nu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nu=function(){return!!t})()}var W=function t(e){ku(this,t),Te(this,"isHide",{type:"boolean"})},Me=function(t){hv(e,t);function e(n){return ku(this,e),dv(this,e)}return e}(Lu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ku(this,t),Te(this,"isHide",void 0),Te(this,"className",void 0),Te(this,"style",void 0),Te(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new lv(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Te(G,"mode",void 0),Te(G,"Rules",W),Te(G,"RuntimeRules",Me);function me(){return me=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},me.apply(this,arguments)}function vv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Mu(t){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function gv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Mn(t,e,n){return gv()?Mn=Reflect.construct:Mn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&Nn(c,l.prototype),c},Mn.apply(null,arguments)}function bv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function $u(t){var e=typeof Map=="function"?new Map:void 0;return $u=function(i){if(i===null||!bv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Mn(i,arguments,Mu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},$u(t)}var _v=/%[sdj%]/g,ir=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ir=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Vu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ue(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var l=String(u).replace(_v,function(r){if(r==="%%")return"%";if(i>=a)return r;switch(r){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return r}});return l}return u}function Cv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Cv(e)&&typeof t=="string"&&!t)}function wv(t,e,n){var i=[],u=0,a=t.length;function l(r){i.push.apply(i,r),u++,u===a&&n(i)}t.forEach(function(r){e(r,l)})}function ur(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var r=i;i=i+1,r<u?e(t[r],a):n([])}a([])}function Iv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var ar=function(t){vv(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}($u(Error));function Ev(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var C=function(E){return i(E),E.length?g(new ar(E,Vu(E))):v()},I=Iv(t);ur(I,n,C)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),r=l.length,s=0,c=[],h=new Promise(function(v,g){var C=function(_){if(c.push.apply(c,_),s++,s===r)return i(c),c.length?g(new ar(c,Vu(c))):v()};l.length||(i(c),v()),l.forEach(function(I){var _=t[I];a.indexOf(I)!==-1?ur(_,n,C):wv(_,n,C)})});return h.catch(function(v){return v}),h}function lr(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 rr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=me(me({},t[n]),i):t[n]=i}}return t}function or(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(ue(u.messages.required,t.fullField))}function Sv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ue(u.messages.whitespace,t.fullField))}var Hu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Rt={integer:function(e){return Rt.number(e)&&parseInt(e,10)===e},float:function(e){return Rt.number(e)&&!Rt.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"&&!Rt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Hu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Hu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Hu.hex)}};function Av(t,e,n,i,u){if(t.required&&e===void 0){or(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Rt[l](e)||i.push(ue(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(ue(u.messages.types[l],t.fullField,t.type))}function Tv(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",r=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,h=null,v=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(v?h="number":g?h="string":C&&(h="array"),!h)return!1;C&&(c=e.length),g&&(c=e.replace(s,"_").length),a?c!==t.len&&i.push(ue(u.messages[h].len,t.fullField,t.len)):l&&!r&&c<t.min?i.push(ue(u.messages[h].min,t.fullField,t.min)):r&&!l&&c>t.max?i.push(ue(u.messages[h].max,t.fullField,t.max)):l&&r&&(c<t.min||c>t.max)&&i.push(ue(u.messages[h].range,t.fullField,t.min,t.max))}var rt="enum";function Ov(t,e,n,i,u){t[rt]=Array.isArray(t[rt])?t[rt]:[],t[rt].indexOf(e)===-1&&i.push(ue(u.messages[rt],t.fullField,t[rt].join(", ")))}function Bv(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ue(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(ue(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:or,whitespace:Sv,type:Av,range:Tv,enum:Ov,pattern:Bv};function Pv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),K(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Rv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Dv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function xv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Fv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),K(e)||T.type(t,e,i,a,u)}n(a)}function kv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Lv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Nv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Mv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var $v="enum";function Vv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[$v](t,e,i,a,u)}n(a)}function Hv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),K(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function jv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!K(e,"date")){var r;e instanceof Date?r=e:r=new Date(e),T.type(t,r,i,a,u),r&&T.range(t,r.getTime(),i,a,u)}}n(a)}function qv(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,l),n(a)}function ju(t,e,n,i,u){var a=t.type,l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,a)&&!t.required)return n();T.required(t,e,i,l,u,a),K(e,a)||T.type(t,e,i,l,u)}n(l)}function Uv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Dt={string:Pv,method:Rv,number:Dv,boolean:xv,regexp:Fv,integer:kv,float:Lv,array:Nv,object:Mv,enum:Vv,pattern:Hv,date:jv,url:ju,hex:ju,email:ju,required:qv,any:Uv};function qu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Uu=qu();function Oe(t){this.rules=null,this._messages=Uu,this.define(t)}Oe.prototype={messages:function(e){return e&&(this._messages=rr(qu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,r=i;if(typeof l=="function"&&(r=l,l={}),!this.rules||Object.keys(this.rules).length===0)return r&&r(),Promise.resolve();function s(_){var E,m=[],w={};function x(B){if(Array.isArray(B)){var D;m=(D=m).concat.apply(D,B)}else m.push(B)}for(E=0;E<_.length;E++)x(_[E]);m.length?w=Vu(m):(m=null,w=null),r(m,w)}if(l.messages){var c=this.messages();c===Uu&&(c=qu()),rr(c,l.messages),l.messages=c}else l.messages=this.messages();var h,v,g={},C=l.keys||Object.keys(this.rules);C.forEach(function(_){h=u.rules[_],v=a[_],h.forEach(function(E){var m=E;typeof m.transform=="function"&&(a===e&&(a=me({},a)),v=a[_]=m.transform(v)),typeof m=="function"?m={validator:m}:m=me({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(g[_]=g[_]||[],g[_].push({rule:m,value:v,source:a,field:_}))})});var I={};return Ev(g,l,function(_,E){var m=_.rule,w=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");w=w&&(m.required||!m.required&&_.value),m.field=_.field;function x(re,F){return me(me({},F),{},{fullField:m.fullField+"."+re})}function B(re){re===void 0&&(re=[]);var F=re;if(Array.isArray(F)||(F=[F]),!l.suppressWarning&&F.length&&Oe.warning("async-validator:",F),F.length&&m.message!==void 0&&(F=[].concat(m.message)),F=F.map(lr(m)),l.first&&F.length)return I[m.field]=1,E(F);if(!w)E(F);else{if(m.required&&!_.value)return m.message!==void 0?F=[].concat(m.message).map(lr(m)):l.error&&(F=[l.error(m,ue(l.messages.required,m.field))]),E(F);var oe={};if(m.defaultField)for(var Tn in _.value)_.value.hasOwnProperty(Tn)&&(oe[Tn]=m.defaultField);oe=me(me({},oe),_.rule.fields);for(var we in oe)if(oe.hasOwnProperty(we)){var cu=Array.isArray(oe[we])?oe[we]:[oe[we]];oe[we]=cu.map(x.bind(null,we))}var On=new Oe(oe);On.messages(l.messages),_.rule.options&&(_.rule.options.messages=l.messages,_.rule.options.error=l.error),On.validate(_.value,_.rule.options||l,function(wt){var Ie=[];F&&F.length&&Ie.push.apply(Ie,F),wt&&wt.length&&Ie.push.apply(Ie,wt),E(Ie.length?Ie:null)})}}var D;m.asyncValidator?D=m.asyncValidator(m,_.value,B,_.source,l):m.validator&&(D=m.validator(m,_.value,B,_.source,l),D===!0?B():D===!1?B(m.message||m.field+" fails"):D instanceof Array?B(D):D instanceof Error&&B(D.message)),D&&D.then&&D.then(function(){return B()},function(re){return B(re)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Dt.hasOwnProperty(e.type))throw new Error(ue("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Dt.required:Dt[this.getType(e)]||!1}},Oe.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Dt[e]=n},Oe.warning=ir,Oe.messages=Uu,Oe.validators=Dt;var Wv={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 Kv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Oe(t);return n.messages(Object.assign(Wv,e)),n}var zv=new Em;function Wu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Gv(t){if(Array.isArray(t))return t}function Zv(t){if(Array.isArray(t))return Wu(t)}function cr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function sr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){cr(a,i,u,l,r,"next",s)}function r(s){cr(a,i,u,l,r,"throw",s)}l(void 0)})}}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Xv(t,e,n){return e&&dr(t.prototype,e),n&&dr(t,n),t}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function fr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jv(){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 Yv(){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 yr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){L(t,u,n[u])})}return t}function pv(t){return Gv(t)||fr(t)||mr(t)||Jv()}function Ku(t){return Zv(t)||fr(t)||mr(t)||Yv()}function eg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mr(t,e){if(!!t){if(typeof t=="string")return Wu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wu(t,e)}}function vr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=r(0),l.throw=r(1),l.return=r(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function r(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var N=function(){function e(n){var i=this;Qv(this,e),L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"updateSetting",br),L(this,"removeSetting",gr),this._callControlHooks("preInstance",n);var u=hr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,r=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,h=u.controlCustomEvents,v=u.name,g=u.setting;a&&l&&r||kl("The ".concat(v," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:ce(10),this.name=a,this.icon=l;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:r,this.props=new G(n==null?void 0:n.props,(hr(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Ee(g);var E;this.fieldType=(E=n==null?void 0:n.fieldType)!==null&&E!==void 0?E:s,this.eventKeys=Ee(c),this.customEvents=Ee(h),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Xv(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,r=pv(u),s=r[0],c=r.slice(1);return(l=zv).emit.apply(l,[s,this].concat(Ku(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),om(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return sr(function(){var i,u,a;return vr(this,function(l){switch(l.label){case 0:return i=yr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return sr(function(){var a,l,r,s;return vr(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:a=c.sent(),l=a!==void 0?a:yr({},this.rules),Array.isArray(u)&&u.forEach(function(h){l.hasOwnProperty(h)&&delete l[h]}),r=Kv(l,i),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,r.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw s=c.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,r=this.props,s=r.dataBind,c=r.datasourceBind,h=r.optionConfig,v=r.caption,g=r.required,C=r.maxLength,I=r.options,_=r.encrypted,E=r.encryptedMode;if(!(!u&&!s&&!c)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:l,props:{}};switch(s&&(m.dataBind=s),h){case"datasource":case void 0:c&&(m.datasourceBind=c);break;case"custom":m.props.options=I;break}return g!==void 0&&(m.required=g),C!==void 0&&(m.maxLength=C),_!==void 0&&(m.encrypted=_),E!==void 0&&(m.encryptedMode=E),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Ku(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();L(N,"mode","Designer"),L(N,"controlName","\u63A7\u4EF6"),L(N,"controlIcon","icon"),L(N,"controlType","control"),L(N,"controlFieldType",void 0),L(N,"controlEventKeys",[]),L(N,"controlCustomEvents",[]),L(N,"setting",[]),L(N,"__is_control__",!0),L(N,"removeSettingItem",gr),L(N,"updateSettingItem",br);function gr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var r,s;a?e.setting[l].showItems=(r=e.setting[l].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((s=e.setting[l].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(l,1)}})}function br(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":eg(e))==="object"){var l,r=(l=e.type)!==null&&l!==void 0?l:"replace";if(r==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Ku(e.showItems))}}}})}function tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ng(t,e,n){return e&&_r(t.prototype,e),n&&_r(t,n),t}function ae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ig(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var z=function(){function e(n){tg(this,e),ae(this,"id",void 0),ae(this,"type",void 0),ae(this,"controlType",void 0),ae(this,"props",void 0),ae(this,"fieldType",void 0),ae(this,"customEvents",[]),ae(this,"pageStatus",void 0),ae(this,"parent",null);var i=ig(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,r=i.controlCustomEvents;u||kl("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:ce(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new G(n==null?void 0:n.props),this.customEvents=r;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:uv.UNKNOWN}return ng(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ae(z,"mode","Runtime"),ae(z,"controlType","control"),ae(z,"controlFieldType",void 0),ae(z,"__is_control__",!0),ae(z,"controlCustomEvents",[]);function zu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(r){return r.value}),l=ym(a);a.length!==l.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function $n(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,a,l){a.length===0&&l(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function ug(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function ag(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vn(t,e,n){return e=jn(e),lg(t,Cr()?Reflect.construct(e,n||[],jn(t).constructor):e.apply(t,n))}function Hn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function qn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gu(t,e)}function lg(t,e){return e&&(rg(e)==="object"||typeof e=="function")?e:ag(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}function rg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cr=function(){return!!t})()}var Z=function(t){qn(e,t);function e(n){Hn(this,e);var i;i=Vn(this,e,[n]),k(i,"dataBind",{}),k(i,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),k(i,"isHideCaption",{type:"boolean"}),k(i,"labelPosition",{type:"enum",enum:["top","left"]}),k(i,"defaultState",{type:"enum",enum:["default","readonly"]}),k(i,"required",{type:"boolean"}),k(i,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var u={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(ug(n.dataBind))i.dataBind={type:"object",required:!0,fields:Ee(u),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:Ee(u),message:d.getMessage("pleaseEnterFieldCode")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(W),M=function(t){qn(e,t);function e(n){Hn(this,e);var i;i=Vn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),i}return e}(Me),O=function(t){qn(e,t);function e(n){Hn(this,e);var i;i=Vn(this,e,[n]),k(i,"caption",void 0),k(i,"captionSize",void 0),k(i,"captionColor",void 0),k(i,"isCaptionItalic",void 0),k(i,"isHideCaption",void 0),k(i,"isShowCaptionTip",void 0),k(i,"captionTip",void 0),k(i,"labelPosition",void 0),k(i,"dataBind",void 0),k(i,"defaultValue",void 0),k(i,"placeholder",void 0),k(i,"defaultState",void 0),k(i,"required",void 0),k(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.captionSize=(a=n==null?void 0:n.captionSize)!==null&&a!==void 0?a:"";var l;i.captionColor=(l=n==null?void 0:n.captionColor)!==null&&l!==void 0?l:"";var r;i.isCaptionItalic=(r=n==null?void 0:n.isCaptionItalic)!==null&&r!==void 0?r:!1;var s;i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1;var c;i.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var h;i.captionTip=(h=n==null?void 0:n.captionTip)!==null&&h!==void 0?h:"";var v;i.defaultState=(v=n==null?void 0:n.defaultState)!==null&&v!==void 0?v:"default";var g;i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top";var C;i.placeholder=(C=n==null?void 0:n.placeholder)!==null&&C!==void 0?C:"";var I;i.required=(I=n==null?void 0:n.required)!==null&&I!==void 0?I:!1;var _;i.requiredMessage=(_=n==null?void 0:n.requiredMessage)!==null&&_!==void 0?_:"",i.dataBind=new ye(n==null?void 0:n.dataBind);var E;return i.defaultValue=(E=n==null?void 0:n.defaultValue)!==null&&E!==void 0?E:"",i}return e}(G);k(O,"Rules",Z),k(O,"RuntimeRules",M);var ot=function(t){qn(e,t);function e(n){Hn(this,e);var i;return i=Vn(this,e,[n]),k(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),k(i,"options",[{type:"array",message:d.getMessage("isNotArray")}]),k(i,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),zu.call(i,n),i}return e}(Z);function og(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cg(t,e,n){return e=Wn(e),hg(t,wr()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function sg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function dg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zu(t,e)}function hg(t,e){return e&&(fg(e)==="object"||typeof e=="function")?e:og(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function fg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wr=function(){return!!t})()}var P=function(t){dg(e,t);function e(n){sg(this,e);var i;return i=cg(this,e,[n]),Un(i,"controlType","form"),Un(i,"props",void 0),i.props=new O(n==null?void 0:n.props),i}return e}(N);Un(P,"controlEventKeys",["on_change","on_focus","on_blur"]),Un(P,"controlCustomAttributes",void 0);function yg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mg(t,e,n){return e=Kn(e),bg(t,Ir()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function gg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xu(t,e)}function bg(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:yg(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}function _g(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ir(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ir=function(){return!!t})()}var R=function(t){gg(e,t);function e(n){vg(this,e);var i;return i=mg(this,e,[n]),Qu(i,"controlType","form"),Qu(i,"props",void 0),Qu(i,"value",void 0),i.props=new O(n==null?void 0:n.props),i}return e}(z);function Cg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wg(t,e,n){return e=zn(e),Sg(t,Er()?Reflect.construct(e,n||[],zn(t).constructor):e.apply(t,n))}function Ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(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&&Ju(t,e)}function Sg(t,e){return e&&(Ag(e)==="object"||typeof e=="function")?e:Cg(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}function Ag(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Er(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Er=function(){return!!t})()}var $=function(t){Eg(e,t);function e(n){return Ig(this,e),wg(this,e,[n])}return e}(G);function Yu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Tg(t){if(Array.isArray(t))return Yu(t)}function Og(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function Bg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Sr(a,i,u,l,r,"next",s)}function r(s){Sr(a,i,u,l,r,"throw",s)}l(void 0)})}}function Pg(t,e,n){return e=Pe(e),Vg(t,Or()?Reflect.construct(e,n||[],Pe(t).constructor):e.apply(t,n))}function Rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ar(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Dg(t,e,n){return e&&Ar(t.prototype,e),n&&Ar(t,n),t}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,l){var r=Hg(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},ct(t,e,n||t)}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(t)}function xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function Fg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function kg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Lg(){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 Ng(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Be(t,u,n[u])})}return t}function Mg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function $g(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Mg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Vg(t,e){return e&&(jg(e)==="object"||typeof e=="function")?e:Og(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function Hg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pe(t),t!==null););return t}function Tr(t){return Tg(t)||kg(t)||qg(t)||Lg()}function jg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qg(t,e){if(!!t){if(typeof t=="string")return Yu(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 Yu(t,e)}}function Or(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Or=function(){return!!t})()}function Ug(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=r(0),l.throw=r(1),l.return=r(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function r(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Wg=1e4,H=function(e){xg(n,e);function n(i){Rg(this,n);var u;u=Pg(this,n,[i]),Be(u,"controlType","layout"),Be(u,"children",void 0),Be(u,"excludes",void 0),Be(u,"childrenMaxLength",void 0),Be(u,"props",void 0);var a=Fg(this,n)?this.constructor:void 0,l=a.excludes,r=a.childrenMaxLength;return u.props=new $(i==null?void 0:i.props),fe(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=Ee(l),u.childrenMaxLength=r,u}return Dg(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var l=this,r=this,s=function(){return ct(Pe(n.prototype),"validate",l)};return Bg(function(){return Ug(this,function(c){switch(c.label){case 0:return[4,s().call(r,u,a)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(h){return h.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=ct(Pe(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(r,s){var c=s.toDataBindModel(u);if(Array.isArray(c)){var h=c.filter(function(v){return!!v});return Tr(r).concat(Tr(h))}return c&&r.push(c),r},l)}},{key:"toSchema",value:function(){var u=ct(Pe(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var r=l.toSchema();return r});return $g(Ng({},u),{children:a})}}]),n}(N);Be(H,"excludes",!1),Be(H,"childrenMaxLength",Wg);function Kg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zg(t,e,n){return e=Gn(e),Qg(t,Br()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function Gg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function Zg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function Qg(t,e){return e&&(Xg(e)==="object"||typeof e=="function")?e:Kg(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function Xg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Br(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Br=function(){return!!t})()}var j=function(t){Zg(e,t);function e(n){Gg(this,e);var i;return i=zg(this,e,[n]),ea(i,"controlType","layout"),ea(i,"children",void 0),ea(i,"props",void 0),i.props=new $(n==null?void 0:n.props),fe(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(z);function Jg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yg(t,e,n){return e=Zn(e),t0(t,Pr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function pg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function e0(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&&na(t,e)}function t0(t,e){return e&&(n0(e)==="object"||typeof e=="function")?e:Jg(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function n0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pr=function(){return!!t})()}var Qn=function(t){e0(e,t);function e(n,i,u){pg(this,e);var a;a=Yg(this,e,[i]),st(a,"headers",void 0),st(a,"footers",void 0),st(a,"pageIndex",void 0),st(a,"pageSize",void 0),st(a,"pageSizeOptions",void 0),st(a,"totalCount",void 0),fe(a,"headers",i==null?void 0:i.headers,n,u),fe(a,"footers",i==null?void 0:i.footers,n);var l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var r;a.pageSize=(r=i==null?void 0:i.pageSize)!==null&&r!==void 0?r:20;var s;a.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(G);function ia(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function i0(t){if(Array.isArray(t))return ia(t)}function u0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function a0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Rr(a,i,u,l,r,"next",s)}function r(s){Rr(a,i,u,l,r,"throw",s)}l(void 0)})}}function l0(t,e,n){return e=Re(e),f0(t,Lr()?Reflect.construct(e,n||[],Re(t).constructor):e.apply(t,n))}function r0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o0(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function Xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,a,l){var r=y0(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},dt(t,e,n||t)}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(t)}function c0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function s0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function d0(){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 xr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Xn(t,u,n[u])})}return t}function h0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Fr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function f0(t,e){return e&&(m0(e)==="object"||typeof e=="function")?e:u0(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function y0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Re(t),t!==null););return t}function kr(t){return i0(t)||s0(t)||v0(t)||d0()}function m0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function v0(t,e){if(!!t){if(typeof t=="string")return ia(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 ia(t,e)}}function Lr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lr=function(){return!!t})()}function g0(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=r(0),l.throw=r(1),l.return=r(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function r(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var aa=function(t){c0(e,t);function e(n){r0(this,e);var i;return i=l0(this,e,[n]),Xn(i,"controlType","list"),Xn(i,"props",void 0),i.props=new Qn(i,n==null?void 0:n.props,"Designer"),i}return o0(e,[{key:"validate",value:function(i,u){var a=this,l=this,r=function(){return dt(Re(e.prototype),"validate",a)};return a0(function(){return g0(this,function(s){switch(s.label){case 0:return[4,r().call(l,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=dt(Re(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,r){var s=r.toDataBindModel(a);if(Array.isArray(s)){var c=s.filter(function(h){return!!h});return kr(l).concat(kr(c))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var i,u,a=dt(Re(e.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(s){return s.toSchema()}),r=(u=this.props)===null||u===void 0||(i=u.footers)===null||i===void 0?void 0:i.map(function(s){if(s)return s.toSchema()});return Fr(xr({},a),{props:Fr(xr({},this.props),{headers:l,footers:r})})}}]),e}(N);Xn(aa,"controlFieldType",b.LIST);function b0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _0(t,e,n){return e=Jn(e),E0(t,Mr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function C0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function w0(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(t,n),t}function la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function I0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function E0(t,e){return e&&(S0(e)==="object"||typeof e=="function")?e:b0(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function S0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mr=function(){return!!t})()}var $r=function(t){I0(e,t);function e(n){C0(this,e);var i;return i=_0(this,e,[n]),la(i,"controlType","list"),la(i,"children",void 0),la(i,"props",void 0),i.props=new Qn(i,n==null?void 0:n.props,"Runtime"),fe(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return w0(e,[{key:"length",get:function(){return this.children.length}}]),e}(z);function A0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oa(t,e,n){return e=Yn(e),T0(t,Vr()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function ca(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function sa(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&&da(t,e)}function T0(t,e){return e&&(O0(e)==="object"||typeof e=="function")?e:A0(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function O0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vr=function(){return!!t})()}var ve=function(t){sa(e,t);function e(n){ca(this,e);var i;return i=oa(this,e,[n]),Q(i,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Q(i,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),i.width.required=n.widthType==="px",i}return e}(W),q=function(t){sa(e,t);function e(n){ca(this,e);var i;i=oa(this,e,[n]),Q(i,"widthType",void 0),Q(i,"width",void 0),Q(i,"caption",void 0),Q(i,"dataBind",void 0),Q(i,"autoWidth",void 0),Q(i,"fixed",void 0),Q(i,"sort",void 0),Q(i,"align",void 0),Q(i,"colSpan",void 0),Q(i,"autoHeight",void 0),Q(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new Xl(n==null?void 0:n.autoWidth),i.dataBind=new ye(n==null?void 0:n.dataBind);var r;i.sort=(r=n==null?void 0:n.sort)!==null&&r!==void 0?r:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var s;return i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(G);Q(q,"Rules",ve);var Hr=function(t){sa(e,t);function e(n){ca(this,e);var i;return i=oa(this,e,[n]),Q(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Q(i,"options",[{type:"array",message:d.getMessage("isNotArray")}]),Q(i,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),zu.call(i,n),i}return e}(ve);function B0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P0(t,e,n){return e=ht(e),N0(t,qr()?Reflect.construct(e,n||[],ht(t).constructor):e.apply(t,n))}function R0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function D0(t,e,n){return e&&jr(t.prototype,e),n&&jr(t,n),t}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ei=Reflect.get:ei=function(u,a,l){var r=M0(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},ei(t,e,n||t)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(t)}function x0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function F0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){pn(t,u,n[u])})}return t}function k0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function L0(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):k0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function N0(t,e){return e&&($0(e)==="object"||typeof e=="function")?e:B0(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function M0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ht(t),t!==null););return t}function $0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qr=function(){return!!t})()}var X=function(t){x0(e,t);function e(n){R0(this,e);var i;return i=P0(this,e,[n]),pn(i,"controlType","column"),pn(i,"props",void 0),pn(i,"children",void 0),i.props=new q(n==null?void 0:n.props),fe(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return D0(e,[{key:"toSchema",value:function(){var i=ei(ht(e.prototype),"toSchema",this).call(this);return L0(F0({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(N);function V0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H0(t,e,n){return e=ti(e),U0(t,Ur()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function j0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function q0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ya(t,e)}function U0(t,e){return e&&(W0(e)==="object"||typeof e=="function")?e:V0(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function W0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ur=function(){return!!t})()}var J=function(t){q0(e,t);function e(n){j0(this,e);var i;return i=H0(this,e,[n]),fa(i,"controlType","column"),fa(i,"props",void 0),fa(i,"children",void 0),i.props=new q(n==null?void 0:n.props),fe(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(z);function K0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z0(t,e,n){return e=ni(e),X0(t,Wr()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function G0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function Q0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function X0(t,e){return e&&(J0(e)==="object"||typeof e=="function")?e:K0(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function J0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}var va=function(t){Q0(e,t);function e(n){G0(this,e);var i;return i=z0(this,e,[n]),Z0(i,"dataBind",void 0),i.dataBind=new ye(n==null?void 0:n.dataBind),i}return e}($);function Y0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p0(t,e,n){return e=ii(e),nb(t,zr()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function eb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function tb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ga(t,e)}function nb(t,e){return e&&(ib(e)==="object"||typeof e=="function")?e:Y0(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function ib(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zr=function(){return!!t})()}var ub=function(t){tb(e,t);function e(n){eb(this,e);var i;return i=p0(this,e,[n]),Kr(i,"controlType","search"),Kr(i,"props",void 0),i.props=new va(n==null?void 0:n.props),i}return e}(H);function ab(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lb(t,e,n){return e=ui(e),cb(t,Zr()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function rb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function ob(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function cb(t,e){return e&&(sb(e)==="object"||typeof e=="function")?e:ab(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function sb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zr=function(){return!!t})()}var db=function(t){ob(e,t);function e(n){rb(this,e);var i;return i=lb(this,e,[n]),Gr(i,"controlType","search"),Gr(i,"props",void 0),i.props=new va(n==null?void 0:n.props),i}return e}(j);function hb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fb(t,e,n){return e=ai(e),vb(t,Qr()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function yb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function mb(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&&_a(t,e)}function vb(t,e){return e&&(gb(e)==="object"||typeof e=="function")?e:hb(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function gb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qr=function(){return!!t})()}var Ca=function(t){mb(e,t);function e(n){return yb(this,e),fb(this,e,[n])}return e}($);function bb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _b(t,e,n){return e=li(e),Ib(t,Jr()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function Cb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function wb(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&&wa(t,e)}function Ib(t,e){return e&&(Eb(e)==="object"||typeof e=="function")?e:bb(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function Eb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var Sb=function(t){wb(e,t);function e(n){Cb(this,e);var i;return i=_b(this,e,[n]),Xr(i,"controlType","wrap"),Xr(i,"props",void 0),i.props=new Ca(n==null?void 0:n.props),i}return e}(H);function Ab(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tb(t,e,n){return e=ri(e),Pb(t,pr()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function Ob(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function Bb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}function Pb(t,e){return e&&(Rb(e)==="object"||typeof e=="function")?e:Ab(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function Rb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var Db=function(t){Bb(e,t);function e(n){Ob(this,e);var i;return i=Tb(this,e,[n]),Yr(i,"controlType","wrap"),Yr(i,"props",void 0),i.props=new Ca(n==null?void 0:n.props),i}return e}(j);function De(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}class Ea extends G{constructor(e){var n,i,u,a,l,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57",this.align=(r=e==null?void 0:e.align)!=null?r:""}}class eo extends N{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}eo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class xb extends z{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"text"}}var to={Designer:eo,Runtime:xb,Property:Ea};class ee extends G{constructor(e){var n,i,u,a,l,r,s,c,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new rv((h=e==null?void 0:e.optObj)!=null?h:{})}}class te extends N{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}te.controlEventKeys=["on_click"],te.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class le extends z{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var no={Designer:te,Runtime:le,Property:ee},xe=(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))(xe||{}),io=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(io||{}),uo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(uo||{});class oi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ce(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Sa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Sa||{});class ci{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ce(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Aa=(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))(Aa||{});class Ta{constructor(e){var n,i,u,a,l,r,s,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Ot((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new Ot((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Ot((r=e==null?void 0:e.company)!=null?r:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class ao{constructor(e){var n,i,u,a,l,r;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Ta(s)))!=null?u:[new Ta],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(r=e==null?void 0:e.completeTimeControl)!=null?r:""}}class Oa{constructor(e){var n,i,u,a,l,r,s;this.id=(n=e==null?void 0:e.id)!=null?n:ce(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(r=e==null?void 0:e.fieldList)!=null?r:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ba{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class lo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ba(e==null?void 0:e.watermark),this.autoRename=new Ba(e==null?void 0:e.autoRename)}}const ro=480;function $e(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class oo{constructor(e){var n,i,u,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class co{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var so=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(so||{}),Pa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Pa||{}),si=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(si||{}),Fe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Fe||{}),Ra=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ra||{});class Da extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Aa.SOLID}}class ho extends N{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}ho.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]}];class Fb extends z{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"divider"}}var fo={Designer:ho,Runtime:Fb,Property:Da};class kb extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(xe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class di extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[xe.ShowSubmitUser,xe.ShowSubmitDept,xe.ShowSubmitTime,xe.ShowCurrentApprovar,xe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ft==null?void 0:ft.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}di.Rules=kb;class ft extends N{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}ft.controlFieldType=b.AUTO_NUMBER,ft.setting=[{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Lb extends z{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"title"}}var yo={Designer:ft,Runtime:Lb,Property:di};class Nb extends W{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class hi extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:xt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:xt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}hi.Rules=Nb;class xt extends te{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}xt.controlEventKeys=["on_click","on_click_finish"],xt.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 Mb extends le{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var mo={Designer:xt,Runtime:Mb,Property:hi};class $b extends W{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class fi extends ee{constructor(e){var n,i,u,a,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(r=e==null?void 0:e.employeeId)!=null?r:""}}fi.Rules=$b;class Ft extends te{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ft.controlEventKeys=["on_click","on_click_finish"],Ft.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 Vb extends le{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var vo={Designer:Ft,Runtime:Vb,Property:fi};class xa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:kt.controlIcon}}class kt extends te{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}kt.controlEventKeys=["on_click"],kt.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 Hb extends le{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var go={Designer:kt,Runtime:Hb,Property:xa};class Fa extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Lt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Lt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(r=>new Oa(r)))!=null?l:[new Oa({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Lt extends te{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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 jb extends le{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var bo={Designer:Lt,Runtime:jb,Property:Fa};class ka extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Nt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Nt.controlIcon}}class Nt extends te{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Nt.controlEventKeys=["on_click"],Nt.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 qb extends le{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var _o={Designer:Nt,Runtime:qb,Property:ka};class Ub{constructor(e){this.dataCode=e.dataCode}}class La extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Mt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Ub(r)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class Mt extends te{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Mt.controlEventKeys=["on_click","on_click_finish"],Mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class Wb extends le{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Co={Designer:Mt,Runtime:Wb,Property:La};function yi(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class Kb extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},yi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},yi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class mi extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:$t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:$t.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new tr(e==null?void 0:e.fillPayload),this.formBind=new jm(e==null?void 0:e.formBind),this.fillBack=new nr(e==null?void 0:e.fillBack)}}mi.Rules=Kb;class $t extends te{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class zb extends le{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var wo={Designer:$t,Runtime:zb,Property:mi};class Gb extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},yi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},yi())}}}class vi extends ee{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Vt.controlIcon,this.fillPayload=new tr(e==null?void 0:e.fillPayload),this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.fillBack=new nr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Du(e==null?void 0:e.selectedContentConfig),this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}vi.Rules=Gb;class Vt extends te{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Vt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Zb extends le{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Io={Designer:Vt,Runtime:Zb,Property:vi};class Qb extends W{constructor(e){super(e)}}class Xb extends Me{constructor(e){super(e)}}class Ht extends G{constructor(e){super(e)}}Ht.Rules=Qb,Ht.RuntimeRules=Xb;class Eo extends N{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Eo.setting=[];class Jb extends z{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var So={Designer:Eo,Runtime:Jb,Property:Ht};class Yb extends W{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class gi extends G{constructor(e){var n,i,u,a,l,r;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top"}}gi.Rules=Yb;class Ao extends N{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ao.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class pb extends z{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var To={Designer:Ao,Runtime:pb,Property:gi};class e_ extends W{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class bi extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new av(a)))!=null?u:[]}}bi.Rules=e_;class Oo extends N{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Oo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class t_ extends z{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Bo={Designer:Oo,Runtime:t_,Property:bi};class n_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends ee{constructor(e){var n,i,u,a,l,r,s,c,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:yt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:yt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:yt.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new ne(g)))!=null?v:[]}}_i.Rules=n_;class yt extends te{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class i_ extends le{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Po={Designer:yt,Runtime:i_,Property:_i};class u_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ci extends ee{constructor(e){var n,i,u,a,l,r,s,c,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:mt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:mt.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new ne(g)))!=null?v:[]}}Ci.Rules=u_;class mt extends te{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class a_ extends le{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Ro={Designer:mt,Runtime:a_,Property:Ci};class l_ extends W{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class wi extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:jt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:jt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(r=>new oo(r)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}wi.Rules=l_;class jt extends te{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}jt.controlEventKeys=["on_click","on_click_finish"],jt.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 r_ extends le{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Do={Designer:jt,Runtime:r_,Property:wi};class Na extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon}}class qt extends te{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class o_ extends le{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var xo={Designer:qt,Runtime:o_,Property:Na};class c_ extends W{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class Ii extends G{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Ii.Rules=c_;class Ei extends N{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ei.controlEventKeys=["on_click"],Ei.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class s_ extends z{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Fo={Designer:Ei,Runtime:s_,Property:Ii};class Ma extends G{constructor(e){var n,i,u,a,l,r,s,c,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(r=e==null?void 0:e.isHide)!=null?r:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class Ut extends N{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Ut.controlEventKeys=["on_click"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class d_ extends z{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var ko={Designer:Ut,Runtime:d_,Property:Ma},h_=Object.freeze({__proto__:null,Text:to,Button:no,Divider:fo,Title:yo,CreateFormListButton:mo,BatchSubmissionListButton:vo,SubmissionRecordListButton:go,ExportListButton:bo,ExportRecordListButton:_o,ImportRecordListButton:Co,FormSelectButton:wo,ListSelectButton:Io,Pagination:So,Dashboard:To,ListViewSelect:Bo,TextOcrButton:Po,InvoiceCheckButton:Ro,BatchPrintListButton:Do,BatchPrintRecordListButton:xo,OperationButton:Fo,BatchDeleteButton:ko});class f_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=$e(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class y_ extends M{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:$e(e.regularRules.expression),message:e.regularRules.errMessage})}}class vt extends O{constructor(e){var n,i,u,a,l,r,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new xu(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:gt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}vt.Rules=f_,vt.RuntimeRules=y_;class gt extends P{constructor(e){super(e),this.props=new vt(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}gt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gt.controlFieldType=b.VARCHAR,gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.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 Lo extends R{constructor(e){super(e),this.props=new vt(e==null?void 0:e.props)}static get controlType(){return"input"}}Lo.controlFieldType=b.VARCHAR;var No={Designer:gt,Runtime:Lo,Property:vt};class m_ extends ot{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class v_ extends M{constructor(e){super(e),this[0]!==void 0&&(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 Wt extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(r=e==null?void 0:e.limitMin)!=null?r:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Kt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new ne(_))}))}}Wt.Rules=m_,Wt.RuntimeRules=v_;class Kt extends P{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=b.ARRAY,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Mo extends R{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Mo.controlFieldType=b.ARRAY;var $o={Designer:Kt,Runtime:Mo,Property:Wt};class g_ extends ot{constructor(e){super(e)}}class Si extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(r=e==null?void 0:e.defaultShowOptions)!=null?r:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:zt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ne(C))}))}}Si.Rules=g_;class zt extends P{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}zt.controlEventKeys=["on_change","on_click"],zt.controlFieldType=b.VARCHAR,zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Vo extends R{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"radio"}}Vo.controlFieldType=b.VARCHAR;var Ho={Designer:zt,Runtime:Vo,Property:Si};class b_ extends Z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=$e(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class __ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:$e(e.regularRules.expression),message:e.regularRules.errMessage})}}class Gt extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Zt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new xu(e==null?void 0:e.regularRules)}}Gt.Rules=b_,Gt.RuntimeRules=__;class Zt extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=b.DECIMAL,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_UNIT,o.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:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class jo extends R{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"number"}}jo.controlFieldType=b.DECIMAL;var qo={Designer:Zt,Runtime:jo,Property:Gt};class $a extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ai.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(h=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(C=>new oi(C)))!=null?h:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ai extends P{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ai.controlFieldType=b.TIMESTAMP,Ai.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Uo extends R{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Uo.controlFieldType=b.TIMESTAMP;var Wo={Designer:Ai,Runtime:Uo,Property:$a};class C_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!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 Ti extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g;super(e),this.dataBind=new Ym(e==null?void 0:e.dataBind),this.defaultValue=new pm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(h=e==null?void 0:e.caption)!=null?h:Oi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(C=>new oi(C)))!=null?g:[]}}Ti.RuntimeRules=C_;class Oi extends P{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Oi.controlFieldType=b.TIMESCOPE,Oi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ko extends R{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Ko.controlFieldType=b.TIMESCOPE;var zo={Designer:Oi,Runtime:Ko,Property:Ti};class w_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class I_ extends M{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Qt extends O{constructor(e){var n,i,u,a,l,r,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Xt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:4,this.autoSize=(s=e==null?void 0:e.autoSize)!=null?s:!1,this.maxRows=e==null?void 0:e.maxRows}}Qt.Rules=w_,Qt.RuntimeRules=I_;class Xt extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.TEXT,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Go extends R{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Go.controlFieldType=b.TEXT;var Zo={Designer:Xt,Runtime:Go,Property:Qt};class E_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class S_ extends M{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Jt extends O{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}Jt.Rules=E_,Jt.RuntimeRules=S_;class Yt extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=b.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Qo extends R{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Qo.controlFieldType=b.TEXT;var Xo={Designer:Yt,Runtime:Qo,Property:Jt};class A_ extends ot{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Bi extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Pi.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.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,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(g=>{var C;(C=this.multistageFilling)==null||C.push(new ne(g))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new lt(e==null?void 0:e.formBind)}}Bi.Rules=A_;class Pi extends P{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Pi.controlFieldType=b.VARCHAR,Pi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP,o.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Jo extends R{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"select"}}Jo.controlFieldType=b.VARCHAR;var Yo={Designer:Pi,Runtime:Jo,Property:Bi};class T_ extends ot{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class O_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class pt extends O{constructor(e){var n,i,u,a,l,r,s,c,h;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ri.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=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ne(v))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new lt(e==null?void 0:e.formBind)}}pt.Rules=T_,pt.RuntimeRules=O_;class Ri extends P{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ri.controlFieldType=b.ARRAY,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class po extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}po.controlFieldType=b.ARRAY;var ec={Designer:Ri,Runtime:po,Property:pt};class B_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Di extends O{constructor(e){var n,i,u,a,l,r,s,c,h;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:xi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ne(v))}))}}Di.RuntimeRules=B_;class xi extends P{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}xi.controlFieldType=b.EMPLOYEES,xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.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 tc extends R{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"employee"}}tc.controlFieldType=b.EMPLOYEES;var nc={Designer:xi,Runtime:tc,Property:Di};const P_=10485760,R_=104857600,D_=1048576e3;class x_ extends Z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:D_,message:d.getMessage("attachmentMaxSize")}}}class F_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class bt extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:R_,this.caption=(c=e==null?void 0:e.caption)!=null?c:_t.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.forbidDownload=(C=e==null?void 0:e.forbidDownload)!=null?C:!1,this.accessControl=(I=e==null?void 0:e.accessControl)!=null?I:!1}}bt.Rules=x_,bt.RuntimeRules=F_;class _t extends P{constructor(e){super(e),this.props=new bt(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{forbidDownload:i,accessControl:u}=this.props;n.props.forbidDownload=i!=null?i:!1,n.props.accessControl=u!=null?u:!1}return n}}_t.controlEventKeys=["on_change"],_t.controlFieldType=b.FILE,_t.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.FORBID_DOWNLOAD,o.ACCESS_CONTROL]},{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 Va extends R{constructor(e){super(e),this.props=new bt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Va.controlFieldType=b.FILE;var ic={Designer:_t,Runtime:Va,Property:bt};class uc extends bt{constructor(e){var n;super(e),this.onlyAllowTakePhoto=(n=e==null?void 0:e.onlyAllowTakePhoto)!=null?n:!1}}const ac=class extends _t{constructor(t){var e,n,i,u;super(t),this.props=new uc(t==null?void 0:t.props),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:ac.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}};let Ha=ac;Ha.controlFieldType=b.IMAGE,Ha.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.FORBID_DOWNLOAD,o.ONLY_ALLOW_TAKE_PHOTO,o.ACCESS_CONTROL,o.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class k_ extends Va{static get controlType(){return"image"}constructor(e){var n,i,u,a,l,r;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(r=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?r:"\u4E0A\u4F20\u56FE\u7247"}}var lc={Designer:Ha,Runtime:k_,Property:uc};class L_ extends ot{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class N_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Al(ut({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class en extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new Xm(e==null?void 0:e.dataBind),this.datasourceBind=new Y((r=e==null?void 0:e.datasourceBind)!=null?r:{displayBoList:[new Pu({value:"name"})]}),this.defaultValue=new Jm((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:iv.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(c=e==null?void 0:e.caption)!=null?c:tn.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}en.Rules=L_,en.RuntimeRules=N_;class tn extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=b.MONEY,tn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.SUBMIT_SELECT_CURRENCY,o.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class rc extends R{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"amount"}}rc.controlFieldType=b.MONEY;var oc={Designer:tn,Runtime:rc,Property:en};class M_ extends Z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class $_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class nn extends O{constructor(e){var n,i,u,a,l,r,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Sa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new ci(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new ci),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:un.controlName}}nn.Rules=M_,nn.RuntimeRules=$_;class un extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new ci);this.props.explain.push(...u)}}super.postUpdate(e,n)}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.DECIMAL,un.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 cc extends R{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"score"}}cc.controlFieldType=b.DECIMAL;var sc={Designer:un,Runtime:cc,Property:nn};class V_ extends M{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Fi extends O{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ki.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new ev((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}Fi.RuntimeRules=V_;class ki extends P{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ki.controlFieldType=b.ADDRESS,ki.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class dc extends R{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}dc.controlFieldType=b.ADDRESS;var hc={Designer:ki,Runtime:dc,Property:Fi};class H_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Li extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:an.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ne(C))}))}}Li.RuntimeRules=H_;class an extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}an.controlName="\u90E8\u95E8",an.controlFieldType=b.DEPARTMENTS,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 fc extends R{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"department"}}fc.controlFieldType=b.DEPARTMENTS;var yc={Designer:an,Runtime:fc,Property:Li};class ja extends O{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:ln.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class ln extends P{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}ln.controlEventKeys=["on_change"],ln.controlFieldType=b.AUTO_NUMBER,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class mc extends R{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}mc.controlFieldType=b.AUTO_NUMBER;var vc={Designer:ln,Runtime:mc,Property:ja};class j_ extends Z{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 q_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class rn extends O{constructor(e){var n,i,u,a,l,r,s,c;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new tv(e==null?void 0:e.dataBind),this.defaultValue=new nv(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:on.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(r=e==null?void 0:e.scriptEcho)!=null?r:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(c=e==null?void 0:e.calcOnMounted)!=null?c:!1}}rn.Rules=j_,rn.RuntimeRules=q_;class on extends P{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}on.controlEventKeys=["on_change"],on.controlFieldType=b.CALC,on.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class gc extends R{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"calc"}}gc.controlFieldType=b.CALC;var bc={Designer:on,Runtime:gc,Property:rn};class U_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Ni extends O{constructor(e){var n,i,u,a,l,r;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(r=e==null?void 0:e.caption)!=null?r:Mi.controlName}}Ni.RuntimeRules=U_;class Mi extends P{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Mi.controlFieldType=b.DECIMAL_RANGE,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _c extends R{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}_c.controlFieldType=b.DECIMAL_RANGE;var Cc={Designer:Mi,Runtime:_c,Property:Ni};class W_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&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 $i extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.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=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Vi.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(I=>new oi(I)))!=null?C:[]}}$i.RuntimeRules=W_;class Vi extends P{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Vi.controlFieldType=b.ARRAY,Vi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class wc extends R{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}wc.controlFieldType=b.ARRAY;var Ic={Designer:Vi,Runtime:wc,Property:$i};class K_ extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class z_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class cn extends O{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}cn.Rules=K_,cn.RuntimeRules=z_;class sn extends P{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}sn.controlFieldType=b.ANY,sn.controlEventKeys=[],sn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.REQUIRED,o.IS_SHOW_CAPTION_TIP,o.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ec extends R{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ec.controlFieldType=b.ANY;var Sc={Designer:sn,Runtime:Ec,Property:cn};class G_ extends ot{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Hi extends O{constructor(e){var n,i,u,a,l,r,s,c,h;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(r=e==null?void 0:e.openMultistageFilling)!=null?r:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Du(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ne(v))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new lt(e==null?void 0:e.formBind)}}Hi.Rules=G_;class dn extends P{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}dn.controlFieldType=b.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Ac extends R{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Ac.controlFieldType=b.VARCHAR;var Tc={Designer:dn,Runtime:Ac,Property:Hi};class qa extends vt{constructor(e){super(e)}}class Oc extends gt{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Oc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED]},{key:"super-setting",visible:!0}];class Bc extends R{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Bc.controlFieldType=b.VARCHAR;var Pc={Designer:Oc,Runtime:Bc,Property:qa};class Z_ extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],$n.call(this,e,ke.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class Q_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_,E,m,w,x,B;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(r=e==null?void 0:e.optionalLevel)!=null?r:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(h=e==null?void 0:e.isShowIncludeSub)!=null?h:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new pl((I=e==null?void 0:e.datasourceBind)!=null?I:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new pl((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:ke.controlCustomAttributes}),this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(x=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(D=>new ne(D)))!=null?x:[],this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:[]}}hn.Rules=Z_,hn.RuntimeRules=Q_;class ke extends P{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}ke.controlEventKeys=["on_change","on_click"],ke.controlFieldType=b.ARRAY,ke.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.DEFAULT_DISPLAY,o.CONTAINS_SUB_NODE,o.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 Rc extends R{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Rc.controlFieldType=b.ARRAY;var Dc={Designer:ke,Runtime:Rc,Property:hn};class X_ extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},$n.call(this,e,Ct.controlCustomAttributes),e.externalType===Fe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class J_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ct.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new kn((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Ct.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Pa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ra.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Fe.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var m;(m=this.multistageFilling)==null||m.push(new ne(E))}))}}fn.Rules=X_,fn.RuntimeRules=J_;class Ct extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ct.controlFieldType=b.EMPLOYEES,Ct.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.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 xc extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}xc.controlFieldType=b.EMPLOYEES;var Fc={Designer:Ct,Runtime:xc,Property:fn};class Y_ extends Z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&Cu(l.value)&&l.value.length===0){r("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}r()}},company:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&i.signatureType.includes("company")&&Cu(l.value)&&l.value.length===0){r("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}r()}}}},n),{})}}}}}class ji extends O{constructor(e){var n,i,u,a,l,r;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.signatureConfig=new ao(e==null?void 0:e.signatureConfig)}}ji.Rules=Y_;class yn extends P{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}yn.controlEventKeys=["on_click","on_click_finish"],yn.controlFieldType=b.VARCHAR,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.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 kc extends R{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}kc.controlFieldType=b.VARCHAR;var Lc={Designer:yn,Runtime:kc,Property:ji};class p_ extends Z{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class eC extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(r=e==null?void 0:e.canEdit)!=null?r:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:P_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new lo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}mn.Rules=p_,mn.RuntimeRules=eC;class vn extends P{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}vn.controlEventKeys=["on_change","on_wps_open"],vn.controlFieldType=b.FILE,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.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 Nc extends R{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Nc.controlFieldType=b.FILE;var Mc={Designer:vn,Runtime:Nc,Property:mn};class tC extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,Ve.controlCustomAttributes),e.businessType===Fe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class nC extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ve.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new kn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:si.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Fe.ALL,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var w;(w=this.multistageFilling)==null||w.push(new ne(m))}))}}gn.Rules=tC,gn.RuntimeRules=nC;class Ve extends P{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ve.controlName="\u90E8\u95E8",Ve.controlFieldType=b.DEPARTMENTS,Ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 $c extends R{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}$c.controlFieldType=b.DEPARTMENTS;var Vc={Designer:Ve,Runtime:$c,Property:gn};class iC extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,He.controlCustomAttributes),e.businessType===Fe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class uC extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_,E,m,w,x;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:He.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new Zm((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:He.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:si.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Fe.ALL,this.organizingFunction=(E=e==null?void 0:e.organizingFunction)!=null?E:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(w=e==null?void 0:e.showSelectedDetail)!=null?w:!1,this.selectedContentConfig=new Du(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(x=e==null?void 0:e.openMultistageFilling)!=null?x:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var D;(D=this.multistageFilling)==null||D.push(new ne(B))}))}}bn.Rules=iC,bn.RuntimeRules=uC;class He extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}He.controlName="\u4E1A\u52A1\u7EC4\u7EC7",He.controlFieldType=b.DEPARTMENTS,He.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Hc extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Hc.controlFieldType=b.DEPARTMENTS;var jc={Designer:He,Runtime:Hc,Property:bn};class aC extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=$e(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class lC extends M{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:$e(e.regularRules.expression),message:e.regularRules.errMessage})}}class _n extends O{constructor(e){var n,i,u,a,l,r,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new xu(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Cn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}_n.Rules=aC,_n.RuntimeRules=lC;class Cn extends P{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return"\u654F\u611F\u4FE1\u606F"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"sensitiven-information"}}Cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Cn.controlFieldType=b.VARCHAR,Cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.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 qc extends R{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"sensitiven-information"}}qc.controlFieldType=b.VARCHAR;var Uc={Designer:Cn,Runtime:qc,Property:_n};class Ua extends O{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Wa extends N{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Wa.controlEventKeys=["on_click"],Wa.setting=[{key:"data-bind",visible:!0},{key:"content",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class rC extends z{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"link"}}var Wc={Designer:Wa,Runtime:rC,Property:Ua},oC=Object.freeze({__proto__:null,Input:No,Checkbox:$o,Radio:Ho,Number:qo,DatePicker:Wo,DateRange:zo,Textarea:Zo,RichText:Xo,Select:Yo,SelectMultiple:ec,Employee:nc,Image:lc,Attachment:ic,Amount:oc,Score:sc,Address:hc,Department:yc,AutoNumber:vc,Calc:bc,SearchNumberRange:Cc,SearchDateRange:Ic,VueFormItem:Sc,SelectRelation:Tc,SearchInput:Pc,Tree:Dc,Employee2:Fc,ElectronicSignature:Lc,WPS:Mc,Department2:Vc,OrganizationSelection:jc,SensitivenInformation:Uc,Link:Wc});class Kc extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Kc.excludes=[A.GRID];class cC extends j{static get controlType(){return"grid"}constructor(e){super(e)}}var zc={Designer:Kc,Runtime:cC,Property:$};const sC=24;class je extends ${constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:sC,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class wn extends H{constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}wn.excludes=[A.COL,A.CARD_GROUP,A.SUBTABLE,A.SUBTABLE_COLUMN,A.GRID_LAYOUT_CONTAINER,A.DIVIDER],wn.childrenMaxLength=1;class Ka extends j{constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlType(){return"col"}}var Gc={Designer:wn,Runtime:Ka,Property:je};class qi extends ${constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Ui extends H{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Ui.excludes=[A.ROW],Ui.setting=[{key:"col-setting",visible:!0}];class Zc extends j{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Qc={Designer:Ui,Runtime:Zc,Property:qi};const dC=4;class Wi extends Ui{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)}}Wi.excludes=[A.GRID_ROW],Wi.setting=[],Wi.childrenMaxLength=dC;class hC extends Zc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class fC extends qi{constructor(e){super(e)}}var Xc={Designer:Wi,Runtime:hC,Property:fC};class yC extends $.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Ki extends ${constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}Ki.Rules=yC;class za extends H{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}za.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],za.excludes=[A.CARD_GROUP];class mC extends j{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Jc={Designer:za,Runtime:mC,Property:Ki};class vC extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class zi extends ${constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new Vm(e==null?void 0:e.metaAutoWidth)}}zi.Rules=vC;class he extends H{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}}he.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],he.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",showItems:[o.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Yc extends j{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}}Yc.controlType="subtable-column";var pc={Designer:he,Runtime:Yc,Property:zi};class Ga extends ${constructor(e){super(e)}}class qe extends H{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}}qe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",qe.controlType="subtable-row",qe.controlIcon="subtable-row",qe.childrenMaxLength=1,qe.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.SUBTABLE_ROW,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],qe.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0}];class gC extends j{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var es={Designer:qe,Runtime:gC,Property:Ga};class Za extends ${constructor(e){var n,i,u,a,l,r,s,c,h,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(r=e==null?void 0:e.fieldName)!=null?r:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:at.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Ue extends H{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}Ue.controlName="\u5217\u8868\u5355\u5143\u683C",Ue.controlType="gridtable-column",Ue.controlIcon="gridtable-column",Ue.childrenMaxLength=1,Ue.excludes=[A.GRID_TABLE,A.GRID_TABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],Ue.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ts extends j{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}ts.controlType="gridtable-column";var ns={Designer:Ue,Runtime:ts,Property:Za};class Qa extends ${constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class Xa extends H{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}Xa.excludes=[A.GRID_LAYOUT_CONTAINER,A.CARD_GROUP,A.TAB],Xa.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class bC extends j{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var is={Designer:Xa,Runtime:bC,Property:Qa};class Ja extends ${constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class _C extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Gi extends ${constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName}}Gi.Rules=_C;class In extends H{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}In.excludes=[A.TAB],In.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class CC extends j{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var us={Designer:In,Runtime:CC,Property:Gi};class En extends H{constructor(e){var n;super(e),this.props=new Ja(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new In,new In]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}En.excludes=[A.TAB],En.controlEventKeys=["on_change_tab"],En.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class wC extends j{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"tab"}}var as={Designer:En,Runtime:wC,Property:Ja};class ls extends ${constructor(e){super(e)}}class rs extends H{constructor(e){super(e),this.props=new ls({}),this.children=(e==null?void 0:e.children)||[new wn({props:new je({span:12})}),new wn({props:new je({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}rs.excludes=[A.GRID_ROW,A.ROW,A.GRID,A.SUBTABLE,A.TAB,A.TOOLBOX];class IC extends j{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ka({props:new je({span:12})}),new Ka({props:new je({span:12})})]}}var os={Designer:rs,Runtime:IC,Property:ls};class EC extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class SC extends W{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),zu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Sn extends ${constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_,E,m,w,x;super(e),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Wm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new zm(e==null?void 0:e.joinRelation),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(h=e==null?void 0:e.isFixedHeader)!=null?h:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyleType=(I=e==null?void 0:e.rowStyleType)!=null?I:"none",this.rowStyleBgColor=(_=e==null?void 0:e.rowStyleBgColor)!=null?_:"theme",this.rowStyleRules=(e==null?void 0:e.rowStyleRules)&&Array.isArray(e==null?void 0:e.rowStyleRules)?(m=(E=e==null?void 0:e.rowStyleRules)==null?void 0:E.map(B=>new ov(B)))!=null?m:[]:[],this.rowStyleRulesScript=(e==null?void 0:e.rowStyleRulesScript)&&Array.isArray(e==null?void 0:e.rowStyleRulesScript)?(x=(w=e==null?void 0:e.rowStyleRulesScript)==null?void 0:w.map(B=>new cv(B)))!=null?x:[]:[]}}Sn.Rules=SC,Sn.RuntimeRules=EC;class Zi extends H{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Zi.excludes=[A.ROW],Zi.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"],Zi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class AC extends j{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var cs={Designer:Zi,Runtime:AC,Property:Sn};class TC extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Qi extends ${constructor(e){var n,i,u,a,l,r;super(e),this.save=new Ae((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ae((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ae((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ae((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Ae(s)),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind)}}Qi.RuntimeRules=TC;class ss extends H{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ss.excludes=[];class OC extends j{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var ds={Designer:ss,Runtime:OC,Property:Qi};class BC extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class PC extends j{static get controlType(){return"page"}constructor(e){super(e)}}class RC extends ${constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var hs={Designer:BC,Runtime:PC,Property:RC};class DC extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class xC extends j{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class FC extends ${constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new co(e==null?void 0:e.flexConfig)}}var fs={Designer:DC,Runtime:xC,Property:FC};class kC extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class LC extends j{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class NC extends ${constructor(e){super(e)}}var ys={Designer:kC,Runtime:LC,Property:NC};class MC extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class $C extends j{static get controlType(){return"position"}constructor(e){super(e)}}class VC extends ${constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var ms={Designer:MC,Runtime:$C,Property:VC};class Ya extends ${constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class pa extends H{constructor(e){var n;super(e),this.props=new Ya((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}pa.excludes=[],pa.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class HC extends j{constructor(e){var n;super(e),this.props=new Ya((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var vs={Designer:pa,Runtime:HC,Property:Ya},jC=Object.freeze({__proto__:null,Grid:zc,Col:Gc,Row:Qc,GridRow:Xc,CardGroup:Jc,SubTableColumn:pc,SubTableRow:es,GridTableColumn:ns,GridLayoutContainer:is,Tab:as,TabPane:us,Toolbox:os,ListView:cs,DataView:ds,Page:hs,AdvancedContainer:fs,PositioningContainer:ys,Position:ms,ActionBar:vs});class qC extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class UC extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const gs=class extends Qn{constructor(t,e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_,E,m,w,x,B,D,re,F,oe,Tn,we,cu,On,wt,Ie,qs,Us;super(t,e,gs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xi.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:ro,this.printMode=(h=e==null?void 0:e.printMode)!=null?h:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.canAdd=(I=e==null?void 0:e.canAdd)!=null?I:!0,this.canDelete=(_=e==null?void 0:e.canDelete)!=null?_:!0,this.canCheck=(E=e==null?void 0:e.canCheck)!=null?E:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(w=e==null?void 0:e.canImport)!=null?w:!1,this.canExport=(x=e==null?void 0:e.canExport)!=null?x:!1,this.canClear=(B=e==null?void 0:e.canClear)!=null?B:!0,this.serverPagination=(D=e==null?void 0:e.serverPagination)!=null?D:!1,this.isShowCaptionTip=(re=e==null?void 0:e.isShowCaptionTip)!=null?re:!1,this.captionTip=(F=e==null?void 0:e.captionTip)!=null?F:"",this.mobileShowType=(oe=e==null?void 0:e.mobileShowType)!=null?oe:"list",this.mobileDefaultNum=(Tn=e==null?void 0:e.mobileDefaultNum)!=null?Tn:10,this.dataStorageDoc=(we=e==null?void 0:e.dataStorageDoc)!=null?we:new Hm,this.fixedColumn=(cu=e==null?void 0:e.fixedColumn)!=null?cu:[],this.mobileRowCaption=(On=e==null?void 0:e.mobileRowCaption)!=null?On:"\u660E\u7EC6",this.mobileIsTile=(wt=e==null?void 0:e.mobileIsTile)!=null?wt:!1,this.isPaste=(Ie=e==null?void 0:e.isPaste)!=null?Ie:!1,this.pageSize=(qs=e==null?void 0:e.pageSize)!=null?qs:10,this.pageSizeOptions=(Us=e==null?void 0:e.pageSizeOptions)!=null?Us:[10,20,50,100]}};let An=gs;An.Rules=qC,An.RuntimeRules=UC;class Xi extends aa{constructor(e){var n,i;super(e),this.props=new An(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he]),((i=e==null?void 0:e.props)==null?void 0:i.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Xi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Xi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.IS_PASTE,o.SERVER_PAGINATION]},{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:"max-rows",visible:!0},{key:"list-pager",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 WC extends $r{constructor(e){super(e),this.props=new An(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Tt("Method not implemented.")}getChildrenFormControl(){return[]}}var bs={Designer:Xi,Runtime:WC,Property:An};class el extends Qn{constructor(e,n){var i,u,a,l,r;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(r=n==null?void 0:n.pageSizeOptions)!=null?r:[10,20,50,100,500]}}class KC extends ve{constructor(e){super(e),this.caption.required=!1}}class Ji extends q{constructor(e){var n,i,u,a,l,r,s,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:We.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(s=(r=e==null?void 0:e.autoWidth)==null?void 0:r.flex)!=null?s:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}Ji.Rules=KC;class We extends X{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}We.controlType="order-column",We.controlName="\u5E8F\u53F7",We.controlIcon="order-column",We.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class tl extends J{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}tl.controlType="order-column",tl.controlFieldType=b.DECIMAL;var _s={Designer:We,Runtime:tl,Property:Ji};class nl extends q{constructor(e){var n,i,u,a,l,r;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(r=e==null?void 0:e.limit)!=null?r:3}}class Ce extends X{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ei.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Ol(this,null,function*(){return yield Tl(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName="\u64CD\u4F5C",Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[o.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 il extends J{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}il.controlType="operation-column",il.controlFieldType=b.FILE;var Cs={Designer:Ce,Runtime:il,Property:nl};class Yi extends aa{constructor(e){var n;super(e),this.props=new el(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new We,new Ce]),((n=e==null?void 0:e.props)==null?void 0:n.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Al(ut({},e),{children:n})}validate(e,n){return Ol(this,null,function*(){return yield Tl(Yi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Yi.setting=[{key:"list-fixed-header",visible:!0}];class zC extends $r{constructor(e){super(e),this.props=new el(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Tt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ws={Designer:Yi,Runtime:zC,Property:el},GC=Object.freeze({__proto__:null,SubTable:bs,GridTable:ws});class ZC extends Hr{constructor(e){super(e),De.call(this,e)}}class pi extends q{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.displayPlaintext=(r=e==null?void 0:e.displayPlaintext)!=null?r:!1}}pi.Rules=ZC;class Ke extends X{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}Ke.controlType="varchar-column",Ke.controlName="\u77ED\u6587\u672C",Ke.controlIcon="varchar-column",Ke.controlFieldType=b.VARCHAR,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"column-display-plaintext",visible:!0}];class ul extends J{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}ul.controlType="varchar-column",ul.controlFieldType=b.VARCHAR;var Is={Designer:Ke,Runtime:ul,Property:pi};class QC extends ve{constructor(e){super(e),De.call(this,e)}}class eu extends q{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:ze.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}eu.Rules=QC;class ze extends X{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}ze.controlType="text-column",ze.controlName="\u957F\u6587\u672C",ze.controlIcon="text-column",ze.controlFieldType=b.TEXT,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",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},{key:"column-statistics",visible:!0}];class al extends J{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}al.controlType="text-column",al.controlFieldType=b.TEXT;var Es={Designer:ze,Runtime:al,Property:eu};class XC extends ve{constructor(e){super(e),De.call(this,e)}}class tu extends q{constructor(e){var n,i,u,a,l,r,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=_e((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}tu.Rules=XC;class Ge extends X{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ge.controlType="decimal-column",Ge.controlName="\u6570\u503C",Ge.controlIcon="decimal-column",Ge.controlFieldType=b.DECIMAL,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[o.MICROMETER,o.PRECISION,o.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class ll extends J{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}ll.controlType="decimal-column",ll.controlFieldType=b.DECIMAL;var Ss={Designer:Ge,Runtime:ll,Property:tu};class JC extends ve{constructor(e){super(e),De.call(this,e)}}class nu extends q{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName}}nu.Rules=JC;class Ze extends X{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ze.controlType="timescope-column",Ze.controlName="\u65E5\u671F\u533A\u95F4",Ze.controlIcon="timescope-column",Ze.controlFieldType=b.TIMESCOPE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class rl extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}rl.controlType="timescope-column",rl.controlFieldType=b.TIMESCOPE;var As={Designer:Ze,Runtime:rl,Property:nu};class YC extends ve{constructor(e){super(e),De.call(this,e)}}class iu extends q{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Qe.controlName}}iu.Rules=YC;class Qe extends X{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Qe.controlType="timestamp-column",Qe.controlName="\u65E5\u671F",Qe.controlIcon="timestamp-column",Qe.controlFieldType=b.TIMESTAMP,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ol extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}ol.controlType="timestamp-column",ol.controlFieldType=b.TIMESTAMP;var Ts={Designer:Qe,Runtime:ol,Property:iu};class pC extends Hr{constructor(e){super(e),De.call(this,e)}}class uu extends q{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.options=_e((a=e==null?void 0:e.options)!=null?a:[{}])}}uu.Rules=pC;class Xe extends X{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName="\u6570\u7EC4",Xe.controlIcon="array-column",Xe.controlFieldType=b.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class cl extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}cl.controlType="array-column",cl.controlFieldType=b.ARRAY;var Os={Designer:Xe,Runtime:cl,Property:uu};class sl extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Je extends X{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Je.controlType="department-column",Je.controlName="\u90E8\u95E8",Je.controlIcon="department-column",Je.controlFieldType=b.DEPARTMENTS,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class dl extends J{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}}dl.controlType="department-column",dl.controlFieldType=b.DEPARTMENTS;var Bs={Designer:Je,Runtime:dl,Property:sl};class ew extends ve{constructor(e){super(e),De.call(this,e)}}class au extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}au.Rules=ew;class Ye extends X{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Ye.controlType="auto-number-column",Ye.controlName="\u81EA\u52A8\u7F16\u53F7",Ye.controlIcon="auto-number-column",Ye.controlFieldType=b.AUTO_NUMBER,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class hl extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}hl.controlType="auto-number-column",hl.controlFieldType=b.AUTO_NUMBER;var Ps={Designer:Ye,Runtime:hl,Property:au};class fl extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends X{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}}pe.controlType="file-column",pe.controlName="\u9644\u4EF6",pe.controlIcon="file-column",pe.controlFieldType=b.FILE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class yl extends J{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}}yl.controlType="file-column",yl.controlFieldType=b.FILE;var Rs={Designer:pe,Runtime:yl,Property:fl};class ml extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends X{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}et.controlType="image-column",et.controlName="\u56FE\u7247",et.controlIcon="image-column",et.controlFieldType=b.IMAGE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vl extends J{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}vl.controlType="image-column",vl.controlFieldType=b.IMAGE;var Ds={Designer:et,Runtime:vl,Property:ml};class gl extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends X{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}tt.controlType="people-column",tt.controlName="\u4EBA\u5458",tt.controlIcon="people-column",tt.controlFieldType=b.EMPLOYEES,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class bl extends J{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}bl.controlType="people-column",bl.controlFieldType=b.EMPLOYEES;var xs={Designer:tt,Runtime:bl,Property:gl};class tw extends ve{constructor(e){super(e),De.call(this,e)}}class lu extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}lu.Rules=tw;class nt extends X{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName="\u5730\u5740",nt.controlIcon="location-column",nt.controlFieldType=b.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class _l extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}_l.controlType="location-column",_l.controlFieldType=b.ADDRESS;var Fs={Designer:nt,Runtime:_l,Property:lu};class nw extends ve{constructor(e){super(e),this.sortFieldCode={type:"string",message:d.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class ru extends q{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}ru.Rules=nw;const iw=1;class Le extends X{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ru(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=Ee(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Le.controlType="custom-column",Le.controlName="\u81EA\u5B9A\u4E49",Le.controlIcon="custom-column",Le.excludes=[],Le.childrenMaxLength=iw,Le.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class ks extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}ks.controlType="custom-column";var Ls={Designer:Le,Runtime:ks,Property:ru};class Cl extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.datasourceBind=new kn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ne.controlCustomAttributes})}}class Ne extends X{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ne.controlType="employee-column",Ne.controlName="\u4EBA\u5458",Ne.controlIcon="employee-column",Ne.controlFieldType=b.EMPLOYEES,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wl extends J{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}wl.controlType="employee-column",wl.controlFieldType=b.EMPLOYEES;var Ns={Designer:Ne,Runtime:wl,Property:Cl};class Il extends q{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class it extends X{constructor(e){super(e),this.props=new Il(e==null?void 0:e.props)}}it.controlType="approval-status-column",it.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",it.controlIcon="approval-status-column",it.excludes=[],it.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Ms extends J{constructor(e){super(e),this.props=new Il(e==null?void 0:e.props)}}Ms.controlType="approval-status-column";var $s={Designer:it,Runtime:Ms,Property:Il},uw=Object.freeze({__proto__:null,VarcharColumn:Is,TextColumn:Es,DecimalColumn:Ss,TimescopeColumn:As,TimestampColumn:Ts,ArrayColumn:Os,DepartmentColumn:Bs,AutoNumberColumn:Ps,FileColumn:Rs,ImageColumn:Ds,PeopleColumn:xs,LocationColumn:Fs,CustomColumn:Ls,OrderColumn:_s,OperationColumn:Cs,EmployeeColumn:Ns,ApprovalStatusColumn:$s});class aw extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ou extends va{constructor(e){var n,i,u,a,l,r,s,c,h,v;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ae((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ae((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=((s=e==null?void 0:e.custom)!=null?s:[]).map(g=>new Ae(g)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(h=e==null?void 0:e.childMinWidth)!=null?h:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24}}ou.RuntimeRules=aw;class El extends ub{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}El.controlType="simple-search",El.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"search-view-type",visible:!0}];class Vs extends db{constructor(e){var n;super(e),this.props=new ou(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Vs.controlType="simple-search";var Hs={Designer:El,Runtime:Vs,Property:ou},lw=Object.freeze({__proto__:null,SimpleSearch:Hs});class Sl extends Ca{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class rw extends Sb{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class ow extends Db{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function bw(t){return t}var cw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},js={Designer:rw,Runtime:ow,Property:Sl,Setting:cw},sw=Object.freeze({__proto__:null,GridLayoutWrap:js});y.ActionBar=vs,y.Address=hc,y.AdvancedContainer=fs,y.Amount=oc,y.ApprovalStatusColumn=$s,y.ArrayColumn=Os,y.AssignType=Fe,y.Attachment=ic,y.AutoNumber=vc,y.AutoNumberColumn=Ps,y.BatchDeleteButton=ko,y.BatchPrintListButton=Do,y.BatchPrintRecordListButton=xo,y.BatchSubmissionListButton=vo,y.Button=no,y.Calc=bc,y.CardGroup=Jc,y.Checkbox=$o,y.Col=Gc,y.CreateFormListButton=mo,y.CustomColumn=Ls,y.DATE_CONFIG_TYPE=io,y.DATE_LIMIT_TYPE=uo,y.Dashboard=To,y.DataView=ds,y.DatePicker=Wo,y.DateRange=zo,y.DecimalColumn=Ss,y.Department=yc,y.Department2=Vc,y.DepartmentColumn=Bs,y.DepartmentType=si,y.Divider=fo,y.ElectronicSignature=Lc,y.ElectronicSignatureConfig=ao,y.Employee=nc,y.Employee2=Fc,y.EmployeeColumn=Ns,y.EncryptTypeEnum=so,y.Explain=ci,y.ExportListButton=bo,y.ExportRecordListButton=_o,y.ExportTemplate=Oa,y.FileColumn=Rs,y.FlexStyleConfig=co,y.FormSelectButton=wo,y.Grid=zc,y.GridLayoutContainer=is,y.GridLayoutWrap=js,y.GridRow=Xc,y.GridTable=ws,y.GridTableColumn=ns,y.Image=lc,y.ImageColumn=Ds,y.ImportRecordListButton=Co,y.Input=No,y.InternalType=Ra,y.InvoiceCheckButton=Ro,y.LINE_STYLE=Aa,y.LimitDate=oi,y.Link=Wc,y.ListSelectButton=Io,y.ListView=cs,y.ListViewSelect=Bo,y.LocationColumn=Fs,y.Number=qo,y.OperationButton=Fo,y.OperationColumn=Cs,y.OrderColumn=_s,y.OrganizationSelection=jc,y.OrganizeType=Pa,y.Page=hs,y.Pagination=So,y.PeopleColumn=xs,y.Position=ms,y.PositioningContainer=ys,y.PrintTemplate=oo,y.Radio=Ho,y.RichText=Xo,y.Row=Qc,y.SCORE_TYPE=Sa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=ro,y.Score=sc,y.SearchDateRange=Ic,y.SearchInput=Pc,y.SearchNumberRange=Cc,y.Select=Yo,y.SelectMultiple=ec,y.SelectRelation=Tc,y.SensitivenInformation=Uc,y.SimpleSearch=Hs,y.SubTable=bs,y.SubTableColumn=pc,y.SubTableRow=es,y.SubmissionRecordListButton=go,y.Tab=as,y.TabPane=us,y.Text=to,y.TextColumn=Es,y.TextOcrButton=Po,y.Textarea=Zo,y.TimescopeColumn=As,y.TimestampColumn=Ts,y.Title=yo,y.TitleConfigEnum=xe,y.Toolbox=os,y.Tree=Dc,y.UndersignedPerson=Ta,y.VarcharColumn=Is,y.VueFormItem=Sc,y.WPS=Mc,y.WPSSetting=lo,y.WpsOperationItem=Ba,y.baseControls=h_,y.columnControls=uw,y.formControls=oC,y.initExpression=$e,y.layoutControls=jC,y.listControls=GC,y.searchControls=lw,y.wrapControls=sw,Object.defineProperty(y,"__esModule",{value:!0})});
|
|
1
|
+
var dw=Object.defineProperty,hw=Object.defineProperties;var fw=Object.getOwnPropertyDescriptors;var Ws=Object.getOwnPropertySymbols,yw=Object.getPrototypeOf,mw=Object.prototype.hasOwnProperty,vw=Object.prototype.propertyIsEnumerable,gw=Reflect.get;var Ks=(y,V,U)=>V in y?dw(y,V,{enumerable:!0,configurable:!0,writable:!0,value:U}):y[V]=U,ut=(y,V)=>{for(var U in V||(V={}))mw.call(V,U)&&Ks(y,U,V[U]);if(Ws)for(var U of Ws(V))vw.call(V,U)&&Ks(y,U,V[U]);return y},Al=(y,V)=>hw(y,fw(V));var Tl=(y,V,U)=>gw(yw(y),U,V);var Ol=(y,V,U)=>new Promise((su,Bn)=>{var du=ge=>{try{It(U.next(ge))}catch(Et){Bn(Et)}},hu=ge=>{try{It(U.throw(ge))}catch(Et){Bn(Et)}},It=ge=>ge.done?su(ge.value):Promise.resolve(ge.value).then(du,hu);It((U=U.apply(y,V)).next())});(function(y,V){typeof exports=="object"&&typeof module!="undefined"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(y=typeof globalThis!="undefined"?globalThis:y||self,V(y.modelDrivenControls={}))})(this,function(y){"use strict";var V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",U="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",su="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Bn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",du="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",hu="{caption}\u5FC5\u586B",It="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Et="\u8BF7\u8F93\u5165\u884C\u6807\u9898",zs="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Gs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Zs="\u8BF7\u7ED1\u5B9A\u8868\u5355",Qs="\u8BF7\u7ED1\u5B9A\u5217\u8868",Xs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Js="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ys="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ps="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ed="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",td="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",nd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",id="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ud="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ad="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ld="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",rd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",od="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",cd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",sd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",dd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",hd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",fd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",yd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",md="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",vd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",gd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",bd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",_d="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Cd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",wd="\u8BF7\u9009\u62E9\u7701",Id="\u8BF7\u9009\u62E9\u5E02",Ed="\u8BF7\u9009\u62E9\u533A",Sd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ad="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Td="\u8BF7\u8F93\u5165\u5217\u5BBD",Od="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Bd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Pd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Rd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Dd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",xd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Fd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",kd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ld="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Nd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",$d="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Hd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ud="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Wd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Kd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",zd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Gd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Qd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Xd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Jd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Yd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",pd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",eh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",th="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",nh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ih={isNotNumber:V,isNotString:U,isNotObject:su,isNotArray:Bn,isNotBoolean:du,runtimeRequired:hu,pleaseEnterCaption:It,pleaseEnterCaptionTip:ge,pleaseEnterRowCaption:Et,pleaseEnterPlaceholder:zs,pleaseEnterFieldCode:Gs,pleaseEnterForm:Zs,pleaseEnterList:Qs,pleaseEnterProcess:Xs,pleaseEnterLabel:Js,pleaseEnterValue:Ys,bizKeyNotBindFiled:ps,pleaseSelectOneField:ed,pleaseEnterNumberRange:td,pleaseEnterAValueGreaterThanMin:nd,pleaseEnterAValueLessThanMax:id,numberRangeSetError:ud,stringRangeError:ad,attachmentMaxSize:ld,pleaseEnterTotalScoreSetting:rd,theTotalScoreMustNotBeLessThan1:od,scoreDefaultValueRange:cd,attachmentLimitError:sd,PleaseReselectTheOptionalQuantity:dd,TheMaximumLengthIsGreaterThanTheMinimumLength:hd,TheMinimumLengthIsGreaterThanTheMaximumLength:fd,PleaseSelectTheCorrectOptionSettings:yd,optionIdIsRepeat:md,optionIsRequired:vd,pleaseEnterDataCode:gd,pleaseEnterValueFieldCode:bd,pleaseEnterSvcCode:_d,pleaseBindAtLeastOneDisplayValue:Cd,pleaseSelectProvince:wd,pleaseSelectCity:Id,pleaseSelectDistrict:Ed,limitRowsCannotBeLessThan0:Sd,TheNumberOfRowsCannotBeLessThanMinRows:Ad,pleaseEnterColumnWidth:Td,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Od,pleaseCompleteAllRulesAndConditions:Bd,pleaseSelectControl:Pd,pleaseSelectAtLeastOneColumn:Rd,pleaseSelectFillBackMode:Dd,pleaseSelectDashboard:xd,rootNodeIsRequired:Fd,theViewNameCannotBeEmpty:kd,pleaseSelectOcrType:Ld,pleaseSelectAtLeastOneFieldToFillIn:Nd,pleaseChooseAtLeastOne:Md,pleaseEnterButtonContent:$d,pleaseEnterDataCodeInDataSetting:Vd,pleaseEnterValueFieldCodeInDataSetting:Hd,pleaseEnterSvcCodeInDataSetting:jd,pleaseBindAtLeastOneDisplayValueInDataSetting:qd,rootNodeIsRequiredInDataSetting:Ud,pleaseEnterMaxHeight:Wd,pleaseEnter:Kd,pleaseEnterWatermark:zd,pleaseEnterFileName:Gd,pleaseUploadAtLeastOnePrintTemplate:Zd,pleaseAssignBusiness:Qd,pleaseAssignExternal:Xd,pleaseEnterAliasCode:Jd,pleaseSelectDataCode:Yd,pleaseSelectSvcCode:pd,pleaseSelectJoinFieldCode:eh,pleaseSelectMainFieldCode:th,pleaseSelectSortFieldCode:nh},uh="Please enter a number",ah="Please enter a string",lh="Please enter an object",rh="Please enter an array",oh="Please enter a boolean",ch="{caption} Required",sh="Please enter the title",dh="Please enter the bubble prompt",hh="Please enter the row title",fh="Please enter the prompt text",yh="Please bind data items",mh="Please bind the form",vh="Please bind the list",gh="Please bind the process",bh="Please enter the displayed value",_h="Please enter the stored value",Ch="The document number is not bound to the data item",wh="Please select at least one display field",Ih="Please enter a value greater than or equal to {min} and less than or equal to {max}",Eh="Please enter a value greater than or equal to {min}",Sh="Please enter a value less than or equal to {max}",Ah="The value range is set incorrectly",Th="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Oh="The attachment size must be between 0MB and 1000MB",Bh="Please fill in the total score setting",Ph="The total score cannot be less than 1",Rh="The default value must be between {min} and {max}",Dh="The number of attachments uploaded must be between {min} and {max}",xh="Please re-select the optional quantity",Fh="The maximum length of the control must be greater than the minimum length",kh="The minimum length of the control must be less than the maximum length",Lh="Please select the correct option setting",Nh="Option ID cannot be repeated",Mh="Please enter at least one option",$h="Please bind the data source",Vh="Please bind the stored value",Hh="Please bind the service",jh="At least one display value must be bound",qh="Please select a province",Uh="Please select a city",Wh="Please select a district",Kh="The minimum number of lines to fill in cannot be less than 0",zh="The number of rows cannot be less than {min} rows",Gh="Please enter the column width",Zh="Please set the logical relationship of all rule conditions",Qh="Please complete all rules and conditions",Xh="please select control",Jh="Please select the dashboard",Yh="View name cannot be empty",ph="Please select recognition type",ef="Please select at least one field to fill in",tf="Please select at least one",nf="Please enter the button title",uf="Please bind the business model in the data settings",af="Please bind storage values in data settings",lf="Please bind the service in the data settings",rf="Please bind at least one display value in the data settings",of="Please select the root node in the data settings",cf="Please enter the maximum height",sf="The input content cannot be empty",df="Watermark cannot be empty",hf="File name cannot be empty",ff="Please upload at least one printing template!\uFF01",yf="Please select a specific business department",mf="Please select a specified external organization",vf="Please enter a sub table alias",gf="Please select the associated table to set the business model",bf="Please select the association table to set the binding service",_f="Select associated sub table fields",Cf="Please select the associated main table field",wf="Please select the sort field",If={isNotNumber:uh,isNotString:ah,isNotObject:lh,isNotArray:rh,isNotBoolean:oh,runtimeRequired:ch,pleaseEnterCaption:sh,pleaseEnterCaptionTip:dh,pleaseEnterRowCaption:hh,pleaseEnterPlaceholder:fh,pleaseEnterFieldCode:yh,pleaseEnterForm:mh,pleaseEnterList:vh,pleaseEnterProcess:gh,pleaseEnterLabel:bh,pleaseEnterValue:_h,bizKeyNotBindFiled:Ch,pleaseSelectOneField:wh,pleaseEnterNumberRange:Ih,pleaseEnterAValueGreaterThanMin:Eh,pleaseEnterAValueLessThanMax:Sh,numberRangeSetError:Ah,stringRangeError:Th,attachmentMaxSize:Oh,pleaseEnterTotalScoreSetting:Bh,theTotalScoreMustNotBeLessThan1:Ph,scoreDefaultValueRange:Rh,attachmentLimitError:Dh,PleaseReselectTheOptionalQuantity:xh,TheMaximumLengthIsGreaterThanTheMinimumLength:Fh,TheMinimumLengthIsGreaterThanTheMaximumLength:kh,PleaseSelectTheCorrectOptionSettings:Lh,optionIdIsRepeat:Nh,optionIsRequired:Mh,pleaseEnterDataCode:$h,pleaseEnterValueFieldCode:Vh,pleaseEnterSvcCode:Hh,pleaseBindAtLeastOneDisplayValue:jh,pleaseSelectProvince:qh,pleaseSelectCity:Uh,pleaseSelectDistrict:Wh,limitRowsCannotBeLessThan0:Kh,TheNumberOfRowsCannotBeLessThanMinRows:zh,pleaseEnterColumnWidth:Gh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Zh,pleaseCompleteAllRulesAndConditions:Qh,pleaseSelectControl:Xh,pleaseSelectDashboard:Jh,theViewNameCannotBeEmpty:Yh,pleaseSelectOcrType:ph,pleaseSelectAtLeastOneFieldToFillIn:ef,pleaseChooseAtLeastOne:tf,pleaseEnterButtonContent:nf,pleaseEnterDataCodeInDataSetting:uf,pleaseEnterValueFieldCodeInDataSetting:af,pleaseEnterSvcCodeInDataSetting:lf,pleaseBindAtLeastOneDisplayValueInDataSetting:rf,rootNodeIsRequiredInDataSetting:of,pleaseEnterMaxHeight:cf,pleaseEnter:sf,pleaseEnterWatermark:df,pleaseEnterFileName:hf,pleaseUploadAtLeastOnePrintTemplate:ff,pleaseAssignBusiness:yf,pleaseAssignExternal:mf,pleaseEnterAliasCode:vf,pleaseSelectDataCode:gf,pleaseSelectSvcCode:bf,pleaseSelectJoinFieldCode:_f,pleaseSelectMainFieldCode:Cf,pleaseSelectSortFieldCode:wf},Ef="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Af="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Of="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bf="{caption}\u5FC5\u9808",Pf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Df="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Hf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Kf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Zf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Jf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yf="\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",pf="\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",ey="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ty="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ny="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",iy="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uy="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ay="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ly="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ry="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oy="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cy="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sy="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dy="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fy="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",yy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",my="please select control",vy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gy="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",by="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_y="\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",Cy="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wy="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Iy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ey="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ay="\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",Ty="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Oy="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",By="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Py="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ry="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Dy="\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",xy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ky="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ly="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ny="\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",My="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",$y="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Vy="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Hy={isNotNumber:Ef,isNotString:Sf,isNotObject:Af,isNotArray:Tf,isNotBoolean:Of,runtimeRequired:Bf,pleaseEnterCaption:Pf,pleaseEnterCaptionTip:Rf,pleaseEnterRowCaption:Df,pleaseEnterPlaceholder:xf,pleaseEnterFieldCode:Ff,pleaseEnterForm:kf,pleaseEnterList:Lf,pleaseEnterProcess:Nf,pleaseEnterLabel:Mf,pleaseEnterValue:$f,bizKeyNotBindFiled:Vf,pleaseSelectOneField:Hf,pleaseEnterNumberRange:jf,pleaseEnterAValueGreaterThanMin:qf,pleaseEnterAValueLessThanMax:Uf,numberRangeSetError:Wf,stringRangeError:Kf,attachmentMaxSize:zf,pleaseEnterTotalScoreSetting:Gf,theTotalScoreMustNotBeLessThan1:Zf,scoreDefaultValueRange:Qf,attachmentLimitError:Xf,PleaseReselectTheOptionalQuantity:Jf,TheMaximumLengthIsGreaterThanTheMinimumLength:Yf,TheMinimumLengthIsGreaterThanTheMaximumLength:pf,PleaseSelectTheCorrectOptionSettings:ey,optionIdIsRepeat:ty,optionIsRequired:ny,pleaseEnterDataCode:iy,pleaseEnterValueFieldCode:uy,pleaseEnterSvcCode:ay,pleaseBindAtLeastOneDisplayValue:ly,pleaseSelectProvince:ry,pleaseSelectCity:oy,pleaseSelectDistrict:cy,limitRowsCannotBeLessThan0:sy,TheNumberOfRowsCannotBeLessThanMinRows:dy,pleaseEnterColumnWidth:hy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fy,pleaseCompleteAllRulesAndConditions:yy,pleaseSelectControl:my,pleaseSelectDashboard:vy,theViewNameCannotBeEmpty:gy,pleaseSelectOcrType:by,pleaseSelectAtLeastOneFieldToFillIn:_y,pleaseChooseAtLeastOne:Cy,pleaseEnterButtonContent:wy,pleaseEnterDataCodeInDataSetting:Iy,pleaseEnterValueFieldCodeInDataSetting:Ey,pleaseEnterSvcCodeInDataSetting:Sy,pleaseBindAtLeastOneDisplayValueInDataSetting:Ay,rootNodeIsRequiredInDataSetting:Ty,pleaseEnterMaxHeight:Oy,pleaseEnter:By,pleaseEnterWatermark:Py,pleaseEnterFileName:Ry,pleaseUploadAtLeastOnePrintTemplate:Dy,pleaseAssignBusiness:xy,pleaseAssignExternal:Fy,pleaseEnterAliasCode:ky,pleaseSelectDataCode:Ly,pleaseSelectSvcCode:Ny,pleaseSelectJoinFieldCode:My,pleaseSelectMainFieldCode:$y,pleaseSelectSortFieldCode:Vy},jy={zhCN:ih,enUS:If,jaJP:Hy},qy="zh-CN";function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Pn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),A=function(t){return 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.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",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.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.SENSITIVEN_INFORMATION="sensitiven-information",t}({}),b=function(t){return 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",t}({}),p;p={},ie(p,"array","array-column"),ie(p,"auto_number","auto-number-column"),ie(p,"decimal","decimal-column"),ie(p,"department","department-column"),ie(p,"file","file-column"),ie(p,"image","image-column"),ie(p,"location","location-column"),ie(p,"people","employee-column"),ie(p,"text","text-column"),ie(p,"timescope","timescope-column"),ie(p,"timestamp","timestamp-column"),ie(p,"varchar","varchar-column"),ie(p,"relation","varchar-column");var at=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),Bl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Uy=Bl+"0123456789";function ce(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Bl:Uy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Wy(t){if(Array.isArray(t))return fu(t)}function Ky(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pl(t,e,n){return e=St(e),Qy(t,mu()?Reflect.construct(e,n||[],St(t).constructor):e.apply(t,n))}function Rl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t,e,n){return mu()?Rn=Reflect.construct:Rn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&At(c,l.prototype),c},Rn.apply(null,arguments)}function St(t){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},St(t)}function Dl(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&&At(t,e)}function zy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Zy(){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 Qy(t,e){return e&&(Xy(e)==="object"||typeof e=="function")?e:Ky(t)}function At(t,e){return At=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},At(t,e)}function xl(t){return Wy(t)||Gy(t)||Jy(t)||Zy()}function Xy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jy(t,e){if(!!t){if(typeof t=="string")return fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fu(t,e)}}function yu(t){var e=typeof Map=="function"?new Map:void 0;return yu=function(i){if(i===null||!zy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Rn(i,arguments,St(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),At(u,i)},yu(t)}function mu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mu=function(){return!!t})()}var vu=console;function gu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=vu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(xl(u)))}function Fl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=vu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(xl(u)))}function Yy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var bu=function(t){Dl(e,t);function e(n){Rl(this,e);var i;return i=Pl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?Yy(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(yu(Error)),py=function(t){Dl(e,t);function e(n){Rl(this,e);var i;return i=Pl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(bu);function Tt(t){throw new bu(t)}function kl(t){throw new py(t)}function em(t){vu.error(new bu(t))}var tm=Object.prototype.toString;function Ll(t,e){return tm.call(t)==="[object "+e+"]"}function nm(t){return Ll(t,"String")}function im(t){return Ll(t,"Promise")}var um=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();im(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,l,r){if(u!==void 0){var s=u[a];if(!(l===r.length-1&&!nm(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function am(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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function lm(t,e,n){return e&&Nl(t.prototype,e),n&&Nl(t,n),t}function rm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){am(this,t)}return lm(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qy;return new um({locale:n,messages:jy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();rm(d,"$i18n",d.resetI18n());function om(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,r,s){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){gu("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return r===s.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var cm=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},sm={exports:{}};(function(t){(function(e){var n=function(m,w,x){if(!c(w)||v(w)||g(w)||C(w)||s(w))return w;var B,D=0,re=0;if(h(w))for(B=[],re=w.length;D<re;D++)B.push(n(m,w[D],x));else{B={};for(var F in w)Object.prototype.hasOwnProperty.call(w,F)&&(B[m(F,x)]=n(m,w[F],x))}return B},i=function(m,w){w=w||{};var x=w.separator||"_",B=w.split||/(?=[A-Z])/;return m.split(B).join(x)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(w,x){return x?x.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var w=u(m);return w.substr(0,1).toUpperCase()+w.substr(1)},l=function(m,w){return i(m,w).toLowerCase()},r=Object.prototype.toString,s=function(m){return typeof m=="function"},c=function(m){return m===Object(m)},h=function(m){return r.call(m)=="[object Array]"},v=function(m){return r.call(m)=="[object Date]"},g=function(m){return r.call(m)=="[object RegExp]"},C=function(m){return r.call(m)=="[object Boolean]"},I=function(m){return m=m-0,m===m},_=function(m,w){var x=w&&"process"in w?w.process:w;return typeof x!="function"?m:function(B,D){return x(B,m,D)}},E={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(m,w){return n(_(u,w),m)},decamelizeKeys:function(m,w){return n(_(l,w),m,w)},pascalizeKeys:function(m,w){return n(_(a,w),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=E:e.humps=E})(cm)})(sm);var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});function _u(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:_u(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:_u(i)}return e}}var dm=Ml.default=_u;function hm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ee(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":hm(t))==="object"?dm(t):t}function fm(t){return Object.prototype.toString.call(t)==="[object Object]"}function Cu(t){return Array.isArray(t)}function ym(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function wu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function mm(t){if(Array.isArray(t))return wu(t)}function $l(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function vm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){$l(a,i,u,l,r,"next",s)}function r(s){$l(a,i,u,l,r,"throw",s)}l(void 0)})}}function gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function bm(t,e,n){return e&&Vl(t.prototype,e),n&&Vl(t,n),t}function Hl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _m(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Cm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Iu(t){return mm(t)||_m(t)||wm(t)||Cm()}function wm(t,e){if(!!t){if(typeof t=="string")return wu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wu(t,e)}}function Im(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=r(0),l.throw=r(1),l.return=r(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function r(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Em=function(){function t(){gm(this,t),Hl(this,"_events",new Map),Hl(this,"debug",!1)}return bm(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];return vm(function(){var l,r,s,c,h,v,g,C,I,_,E,m;return Im(this,function(w){switch(w.label){case 0:if(l=this._events.get(n),r=[],!l)return[3,10];s=l.slice(),c=!0,h=!1,v=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),g=s[Symbol.iterator](),w.label=2;case 2:if(c=(C=g.next()).done)return[3,7];if(I=C.value,!l.includes(I))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),this.debug&&Fl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Iu(u))),[4,I.apply(null,Iu(u))];case 4:return _=w.sent(),this.debug&&Fl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Iu(u),[_])),r.push(_),_===!1?[3,7]:[3,6];case 5:return E=w.sent(),em(String(E)+":"+String(E.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return m=w.sent(),h=!0,v=m,[3,10];case 9:try{!c&&g.return!=null&&g.return()}finally{if(h)throw v}return[7];case 10:return[2,r]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Sm(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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Am(t,e,n){return e&&jl(t.prototype,e),n&&jl(t,n),t}function Tm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Om=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Bm=function(){function t(){Sm(this,t)}return Am(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var r=l.key;return{key:r,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();Tm(Bm,"events",Om);function Eu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Pm(t){if(Array.isArray(t))return Eu(t)}function Rm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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 ql(t){return Pm(t)||Rm(t)||xm(t)||Dm()}function xm(t,e){if(!!t){if(typeof t=="string")return Eu(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 Eu(t,e)}}function Su(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ul(t,e,n){n!=="Runtime"&&(t.parent=e,Su(t,"parent"))}function Fm(t,e,n){t.forEach(function(i){Ul(i,e,n)})}var Wl=Symbol("targetKey");function Kl(t){var e;return(e=t[Wl])!==null&&e!==void 0?e:t}function zl(t,e,n){return Fm(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,r=new Array(l>2?l-2:0),s=2;s<l;s++)r[s-2]=arguments[s];var c;return a===Wl?u:(c=Reflect).get.apply(c,[u,a].concat(ql(r)))},set:function(u,a,l){for(var r=arguments.length,s=new Array(r>3?r-3:0),c=3;c<r;c++)s[c-3]=arguments[c];var h;if(Cu(t)&&a==="length"&&l===t.length)return!0;var v=(h=Reflect).set.apply(h,[u,a,l].concat(ql(s)));return fm(l)&&Ul(l,e,n),v}})}function fe(t,e,n,i,u){var a=i!=null?i:t,l=zl(Kl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=zl(Kl(s),a,u)},enumerable:!0})}function km(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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Lm(t,e,n){return e&&Gl(t.prototype,e),n&&Gl(t,n),t}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Zl=[],Dn=function(){function t(e){km(this,t),Se(this,"registeredControlTypes",new Set),Se(this,"controlConfigMap",new Map),Se(this,"_controls",[]),Se(this,"_type",void 0),this._type=e,this._initControls(e)}return Lm(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Tt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(gu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Pn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Pn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Pn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Pn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(h){return u.createControl(h,i)});if(n.children&&(n.children=n.children.map(function(h){return u.createControl(h,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(h){return u.createControl(h,i)})),a.footers&&(a.footers=a.footers.map(function(h){var v;return h&&(v=u.createControl(h,i)),v}))}var l=this.getControlFormType(n.type);if(l){var r=n;if(typeof i=="function"){var s=i(r);s&&(r=s)}var c;return l.mode==="Runtime"?(c=r,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(r),c}else Tt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Su(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,r=i.instanceMap;if(!(!l||!r)){var s=l[a],c=r[a];if(!(!s&&!c)){var h=c.findIndex(function(C){return C==n}),v=r[s]||[],g;return v.length!==c.length?g=v[0]:g=v[h],g}}}}),Su(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Tt("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return r>-1&&(gu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();Se(Dn,"staticControlsRuntimeRules",new Map),Se(Dn,"staticControls",Zl),Se(Dn,"staticRegisteredTypes",new Set(Zl.map(function(t){return t.Designer.controlType}))),Se(Dn,"staticRegisteredConfigs",new Map);function Nm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function se(t,e,n){return e=xn(e),Mm(t,Ql()?Reflect.construct(e,n||[],xn(t).constructor):e.apply(t,n))}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function de(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 Mm(t,e){return e&&($m(e)==="object"||typeof e=="function")?e:Nm(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Au(t,e)}function $m(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ql(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ql=function(){return!!t})()}var ye=function t(e){S(this,t),f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Xl=function t(e){S(this,t),f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Tu=function(t){de(e,t);function e(n){S(this,e);var i;i=se(this,e,[n]),f(i,"width",void 0),f(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(Xl),Vm=function t(e){S(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Tu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Tu(e==null?void 0:e.mobile):new Tu({width:130,minWidth:180})},Hm=function t(e){S(this,t),f(this,"type",void 0),f(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},lt=function t(e){S(this,t),f(this,"dataCode",void 0),f(this,"formKey",void 0),f(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},jm=function(t){de(e,t);function e(n){S(this,e);var i;i=se(this,e,[n]),f(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(lt),Jl=function t(e){S(this,t),f(this,"fieldCode",void 0),f(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Ou=function t(e){S(this,t);var n;f(this,"appId",void 0),f(this,"formKey",void 0),f(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Jl(l)}))!==null&&a!==void 0?a:[]},qm=function t(e){S(this,t),f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},Um=function(t){de(e,t);function e(n){S(this,e);var i;i=se(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var r;return i.filters=(r=n==null?void 0:n.filters)!==null&&r!==void 0?r:[],i}return e}(lt),Wm=function t(e){S(this,t);var n,i;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new lt(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new qm(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new Um(l)}))!==null&&a!==void 0?a:[]},Km=function t(e){S(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Ot=function t(e){S(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Bu=function t(e){var n=this;S(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ce();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;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)&&(e==null||e.children.map(function(r){if(r.children!==void 0){var s,c=new t(r);(s=n.children)===null||s===void 0||s.push(c)}else{var h,v=new Fn(r);(h=n.children)===null||h===void 0||h.push(v)}}))},Fn=function t(e){S(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ce();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new Km(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ot(e==null?void 0:e.rightVariableBo)},zm=function t(e){S(this,t),f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ne=function t(e){S(this,t),f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Pu=function t(e){S(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Gm=function t(e){S(this,t),f(this,"columnName",void 0),f(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Ru(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Bu(r):new Fn(r)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new Bu(r):new Fn(r)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Gm(r)}))!==null&&l!==void 0?l:[]}var Y=function t(e){var n=this;S(this,t),f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(h){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Pu(h))}));var r;this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!==null&&r!==void 0?r:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",Ru.call(this,e)},Du=function t(e){S(this,t),f(this,"dataCode",void 0),f(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},be=function t(e){S(this,t),f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var h;this.openType=(h=e==null?void 0:e.openType)!==null&&h!==void 0?h:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},Yl=function t(e){S(this,t);var n;f(this,"name",void 0),f(this,"key",void 0),f(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Pu(l)}))!==null&&a!==void 0?a:[]},kn=function(t){de(e,t);function e(n){S(this,e);var i,u;i=se(this,e,[n]),f(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new Yl(l)}))!==null&&a!==void 0?a:[],i}return e}(Y),Zm=function(t){de(e,t);function e(n){S(this,e);var i,u;i=se(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(r){return new Yl(r)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Y),pl=function(t){de(e,t);function e(n){S(this,e);var i;i=se(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new Ot(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(kn),er=function t(e){S(this,t);var n;f(this,"dataCode",void 0),f(this,"appId",void 0),f(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ne(l)}))!==null&&a!==void 0?a:[]},tr=function(t){de(e,t);function e(n){S(this,e);var i;return i=se(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Ru.call(i,n),i}return e}(er),nr=function(t){de(e,t);function e(n){S(this,e);var i;i=se(this,e,[n]),f(i,"mode",void 0),f(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(er),xu=function t(e){S(this,t),f(this,"stencilName",void 0),f(this,"expression",void 0),f(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Qm=function t(e){S(this,t),f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ce(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new Qm(n)}))!==null&&e!==void 0?e:[]}var Fu=function t(){S(this,t)},Xm=function(t){de(e,t);function e(n){S(this,e);var i;return i=se(this,e),f(i,"amount",void 0),f(i,"currency",void 0),i.amount=new ye(n==null?void 0:n.amount),i.currency=new ye(n==null?void 0:n.currency),i}return e}(Fu),Jm=function t(e){S(this,t),f(this,"amount",void 0),f(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},Ym=function(t){de(e,t);function e(n){S(this,e);var i;return i=se(this,e),f(i,"min",void 0),f(i,"max",void 0),i.min=new ye(n==null?void 0:n.min),i.max=new ye(n==null?void 0:n.max),i}return e}(Fu),pm=function t(e){S(this,t),f(this,"min",void 0),f(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},ev=function t(e){S(this,t),f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var r;this.provinceDisplay=(r=e==null?void 0:e.provinceDisplay)!==null&&r!==void 0?r:""},tv=function(t){de(e,t);function e(n){S(this,e);var i;return i=se(this,e),f(i,"result",void 0),f(i,"unit",void 0),i.result=new ye(n==null?void 0:n.result),i.unit=new ye(n==null?void 0:n.unit),i}return e}(Fu),nv=function t(e){S(this,t),f(this,"result",void 0),f(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},iv=function(t){return 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",t}({}),o=function(t){return 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.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.ONLY_ALLOW_TAKE_PHOTO="onlyAllowTakePhoto",t.FORBID_DOWNLOAD="forbidDownload",t.ACCESS_CONTROL="accessControl",t}({}),uv=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ae=function t(e){S(this,t),f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var r;this.priorityProcess=(r=e==null?void 0:e.priorityProcess)!==null&&r!==void 0?r:!1},av=function t(e){S(this,t);var n;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ce(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Jl(l)}))!==null&&a!==void 0?a:[],Ru.call(this,e)},lv=function t(e){S(this,t),f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},rv=function t(e){S(this,t),f(this,"optCode",void 0),f(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},ov=function t(e){S(this,t);var n;f(this,"id",void 0),f(this,"name",void 0),f(this,"color",void 0),f(this,"filters",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ce();var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:"theme";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new Bu(r):new Fn(r)}))!==null&&l!==void 0?l:[]},cv=function t(e){S(this,t),f(this,"id",void 0),f(this,"script",void 0),f(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:ce();var i;this.script=(i=e.script)!==null&&i!==void 0?i:"";var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme"};function sv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dv(t,e,n){return e=Bt(e),yv(t,Nu()?Reflect.construct(e,n||[],Bt(t).constructor):e.apply(t,n))}function ku(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return Nu()?Ln=Reflect.construct:Ln=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&Pt(c,l.prototype),c},Ln.apply(null,arguments)}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bt(t){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bt(t)}function hv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pt(t,e)}function fv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function yv(t,e){return e&&(mv(e)==="object"||typeof e=="function")?e:sv(t)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pt(t,e)}function mv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lu(t){var e=typeof Map=="function"?new Map:void 0;return Lu=function(i){if(i===null||!fv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Bt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Pt(u,i)},Lu(t)}function Nu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nu=function(){return!!t})()}var W=function t(e){ku(this,t),Te(this,"isHide",{type:"boolean"})},Me=function(t){hv(e,t);function e(n){return ku(this,e),dv(this,e)}return e}(Lu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ku(this,t),Te(this,"isHide",void 0),Te(this,"className",void 0),Te(this,"style",void 0),Te(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new lv(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Te(G,"mode",void 0),Te(G,"Rules",W),Te(G,"RuntimeRules",Me);function me(){return me=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},me.apply(this,arguments)}function vv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Mu(t){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function gv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Mn(t,e,n){return gv()?Mn=Reflect.construct:Mn=function(u,a,l){var r=[null];r.push.apply(r,a);var s=Function.bind.apply(u,r),c=new s;return l&&Nn(c,l.prototype),c},Mn.apply(null,arguments)}function bv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function $u(t){var e=typeof Map=="function"?new Map:void 0;return $u=function(i){if(i===null||!bv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Mn(i,arguments,Mu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},$u(t)}var _v=/%[sdj%]/g,ir=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ir=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Vu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ue(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var l=String(u).replace(_v,function(r){if(r==="%%")return"%";if(i>=a)return r;switch(r){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return r}});return l}return u}function Cv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Cv(e)&&typeof t=="string"&&!t)}function wv(t,e,n){var i=[],u=0,a=t.length;function l(r){i.push.apply(i,r),u++,u===a&&n(i)}t.forEach(function(r){e(r,l)})}function ur(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var r=i;i=i+1,r<u?e(t[r],a):n([])}a([])}function Iv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var ar=function(t){vv(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}($u(Error));function Ev(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var C=function(E){return i(E),E.length?g(new ar(E,Vu(E))):v()},I=Iv(t);ur(I,n,C)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),r=l.length,s=0,c=[],h=new Promise(function(v,g){var C=function(_){if(c.push.apply(c,_),s++,s===r)return i(c),c.length?g(new ar(c,Vu(c))):v()};l.length||(i(c),v()),l.forEach(function(I){var _=t[I];a.indexOf(I)!==-1?ur(_,n,C):wv(_,n,C)})});return h.catch(function(v){return v}),h}function lr(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 rr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=me(me({},t[n]),i):t[n]=i}}return t}function or(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(ue(u.messages.required,t.fullField))}function Sv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ue(u.messages.whitespace,t.fullField))}var Hu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Rt={integer:function(e){return Rt.number(e)&&parseInt(e,10)===e},float:function(e){return Rt.number(e)&&!Rt.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"&&!Rt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Hu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Hu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Hu.hex)}};function Av(t,e,n,i,u){if(t.required&&e===void 0){or(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Rt[l](e)||i.push(ue(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(ue(u.messages.types[l],t.fullField,t.type))}function Tv(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",r=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,h=null,v=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(v?h="number":g?h="string":C&&(h="array"),!h)return!1;C&&(c=e.length),g&&(c=e.replace(s,"_").length),a?c!==t.len&&i.push(ue(u.messages[h].len,t.fullField,t.len)):l&&!r&&c<t.min?i.push(ue(u.messages[h].min,t.fullField,t.min)):r&&!l&&c>t.max?i.push(ue(u.messages[h].max,t.fullField,t.max)):l&&r&&(c<t.min||c>t.max)&&i.push(ue(u.messages[h].range,t.fullField,t.min,t.max))}var rt="enum";function Ov(t,e,n,i,u){t[rt]=Array.isArray(t[rt])?t[rt]:[],t[rt].indexOf(e)===-1&&i.push(ue(u.messages[rt],t.fullField,t[rt].join(", ")))}function Bv(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ue(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(ue(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:or,whitespace:Sv,type:Av,range:Tv,enum:Ov,pattern:Bv};function Pv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),K(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Rv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Dv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function xv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Fv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),K(e)||T.type(t,e,i,a,u)}n(a)}function kv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Lv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Nv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Mv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var $v="enum";function Vv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[$v](t,e,i,a,u)}n(a)}function Hv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),K(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function jv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!K(e,"date")){var r;e instanceof Date?r=e:r=new Date(e),T.type(t,r,i,a,u),r&&T.range(t,r.getTime(),i,a,u)}}n(a)}function qv(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,l),n(a)}function ju(t,e,n,i,u){var a=t.type,l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,a)&&!t.required)return n();T.required(t,e,i,l,u,a),K(e,a)||T.type(t,e,i,l,u)}n(l)}function Uv(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Dt={string:Pv,method:Rv,number:Dv,boolean:xv,regexp:Fv,integer:kv,float:Lv,array:Nv,object:Mv,enum:Vv,pattern:Hv,date:jv,url:ju,hex:ju,email:ju,required:qv,any:Uv};function qu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Uu=qu();function Oe(t){this.rules=null,this._messages=Uu,this.define(t)}Oe.prototype={messages:function(e){return e&&(this._messages=rr(qu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,r=i;if(typeof l=="function"&&(r=l,l={}),!this.rules||Object.keys(this.rules).length===0)return r&&r(),Promise.resolve();function s(_){var E,m=[],w={};function x(B){if(Array.isArray(B)){var D;m=(D=m).concat.apply(D,B)}else m.push(B)}for(E=0;E<_.length;E++)x(_[E]);m.length?w=Vu(m):(m=null,w=null),r(m,w)}if(l.messages){var c=this.messages();c===Uu&&(c=qu()),rr(c,l.messages),l.messages=c}else l.messages=this.messages();var h,v,g={},C=l.keys||Object.keys(this.rules);C.forEach(function(_){h=u.rules[_],v=a[_],h.forEach(function(E){var m=E;typeof m.transform=="function"&&(a===e&&(a=me({},a)),v=a[_]=m.transform(v)),typeof m=="function"?m={validator:m}:m=me({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(g[_]=g[_]||[],g[_].push({rule:m,value:v,source:a,field:_}))})});var I={};return Ev(g,l,function(_,E){var m=_.rule,w=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");w=w&&(m.required||!m.required&&_.value),m.field=_.field;function x(re,F){return me(me({},F),{},{fullField:m.fullField+"."+re})}function B(re){re===void 0&&(re=[]);var F=re;if(Array.isArray(F)||(F=[F]),!l.suppressWarning&&F.length&&Oe.warning("async-validator:",F),F.length&&m.message!==void 0&&(F=[].concat(m.message)),F=F.map(lr(m)),l.first&&F.length)return I[m.field]=1,E(F);if(!w)E(F);else{if(m.required&&!_.value)return m.message!==void 0?F=[].concat(m.message).map(lr(m)):l.error&&(F=[l.error(m,ue(l.messages.required,m.field))]),E(F);var oe={};if(m.defaultField)for(var Tn in _.value)_.value.hasOwnProperty(Tn)&&(oe[Tn]=m.defaultField);oe=me(me({},oe),_.rule.fields);for(var we in oe)if(oe.hasOwnProperty(we)){var cu=Array.isArray(oe[we])?oe[we]:[oe[we]];oe[we]=cu.map(x.bind(null,we))}var On=new Oe(oe);On.messages(l.messages),_.rule.options&&(_.rule.options.messages=l.messages,_.rule.options.error=l.error),On.validate(_.value,_.rule.options||l,function(wt){var Ie=[];F&&F.length&&Ie.push.apply(Ie,F),wt&&wt.length&&Ie.push.apply(Ie,wt),E(Ie.length?Ie:null)})}}var D;m.asyncValidator?D=m.asyncValidator(m,_.value,B,_.source,l):m.validator&&(D=m.validator(m,_.value,B,_.source,l),D===!0?B():D===!1?B(m.message||m.field+" fails"):D instanceof Array?B(D):D instanceof Error&&B(D.message)),D&&D.then&&D.then(function(){return B()},function(re){return B(re)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Dt.hasOwnProperty(e.type))throw new Error(ue("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Dt.required:Dt[this.getType(e)]||!1}},Oe.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Dt[e]=n},Oe.warning=ir,Oe.messages=Uu,Oe.validators=Dt;var Wv={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 Kv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Oe(t);return n.messages(Object.assign(Wv,e)),n}var zv=new Em;function Wu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Gv(t){if(Array.isArray(t))return t}function Zv(t){if(Array.isArray(t))return Wu(t)}function cr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function sr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){cr(a,i,u,l,r,"next",s)}function r(s){cr(a,i,u,l,r,"throw",s)}l(void 0)})}}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Xv(t,e,n){return e&&dr(t.prototype,e),n&&dr(t,n),t}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function fr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jv(){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 Yv(){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 yr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){L(t,u,n[u])})}return t}function pv(t){return Gv(t)||fr(t)||mr(t)||Jv()}function Ku(t){return Zv(t)||fr(t)||mr(t)||Yv()}function eg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mr(t,e){if(!!t){if(typeof t=="string")return Wu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wu(t,e)}}function vr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=r(0),l.throw=r(1),l.return=r(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function r(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var N=function(){function e(n){var i=this;Qv(this,e),L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"updateSetting",br),L(this,"removeSetting",gr),this._callControlHooks("preInstance",n);var u=hr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,r=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,h=u.controlCustomEvents,v=u.name,g=u.setting;a&&l&&r||kl("The ".concat(v," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:ce(10),this.name=a,this.icon=l;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:r,this.props=new G(n==null?void 0:n.props,(hr(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Ee(g);var E;this.fieldType=(E=n==null?void 0:n.fieldType)!==null&&E!==void 0?E:s,this.eventKeys=Ee(c),this.customEvents=Ee(h),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Xv(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,r=pv(u),s=r[0],c=r.slice(1);return(l=zv).emit.apply(l,[s,this].concat(Ku(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),om(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return sr(function(){var i,u,a;return vr(this,function(l){switch(l.label){case 0:return i=yr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return sr(function(){var a,l,r,s;return vr(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:a=c.sent(),l=a!==void 0?a:yr({},this.rules),Array.isArray(u)&&u.forEach(function(h){l.hasOwnProperty(h)&&delete l[h]}),r=Kv(l,i),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,r.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw s=c.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,r=this.props,s=r.dataBind,c=r.datasourceBind,h=r.optionConfig,v=r.caption,g=r.required,C=r.maxLength,I=r.options,_=r.encrypted,E=r.encryptedMode;if(!(!u&&!s&&!c)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:l,props:{}};switch(s&&(m.dataBind=s),h){case"datasource":case void 0:c&&(m.datasourceBind=c);break;case"custom":m.props.options=I;break}return g!==void 0&&(m.required=g),C!==void 0&&(m.maxLength=C),_!==void 0&&(m.encrypted=_),E!==void 0&&(m.encryptedMode=E),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Ku(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();L(N,"mode","Designer"),L(N,"controlName","\u63A7\u4EF6"),L(N,"controlIcon","icon"),L(N,"controlType","control"),L(N,"controlFieldType",void 0),L(N,"controlEventKeys",[]),L(N,"controlCustomEvents",[]),L(N,"setting",[]),L(N,"__is_control__",!0),L(N,"removeSettingItem",gr),L(N,"updateSettingItem",br);function gr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var r,s;a?e.setting[l].showItems=(r=e.setting[l].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((s=e.setting[l].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(l,1)}})}function br(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":eg(e))==="object"){var l,r=(l=e.type)!==null&&l!==void 0?l:"replace";if(r==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Ku(e.showItems))}}}})}function tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ng(t,e,n){return e&&_r(t.prototype,e),n&&_r(t,n),t}function ae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ig(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var z=function(){function e(n){tg(this,e),ae(this,"id",void 0),ae(this,"type",void 0),ae(this,"controlType",void 0),ae(this,"props",void 0),ae(this,"fieldType",void 0),ae(this,"customEvents",[]),ae(this,"pageStatus",void 0),ae(this,"parent",null);var i=ig(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,r=i.controlCustomEvents;u||kl("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:ce(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new G(n==null?void 0:n.props),this.customEvents=r;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:uv.UNKNOWN}return ng(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ae(z,"mode","Runtime"),ae(z,"controlType","control"),ae(z,"controlFieldType",void 0),ae(z,"__is_control__",!0),ae(z,"controlCustomEvents",[]);function zu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(r){return r.value}),l=ym(a);a.length!==l.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function $n(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,a,l){a.length===0&&l(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function ug(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function ag(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vn(t,e,n){return e=jn(e),lg(t,Cr()?Reflect.construct(e,n||[],jn(t).constructor):e.apply(t,n))}function Hn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function qn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gu(t,e)}function lg(t,e){return e&&(rg(e)==="object"||typeof e=="function")?e:ag(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}function rg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cr=function(){return!!t})()}var Z=function(t){qn(e,t);function e(n){Hn(this,e);var i;i=Vn(this,e,[n]),k(i,"dataBind",{}),k(i,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),k(i,"isHideCaption",{type:"boolean"}),k(i,"labelPosition",{type:"enum",enum:["top","left"]}),k(i,"defaultState",{type:"enum",enum:["default","readonly"]}),k(i,"required",{type:"boolean"}),k(i,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var u={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(ug(n.dataBind))i.dataBind={type:"object",required:!0,fields:Ee(u),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:Ee(u),message:d.getMessage("pleaseEnterFieldCode")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(W),M=function(t){qn(e,t);function e(n){Hn(this,e);var i;i=Vn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),i}return e}(Me),O=function(t){qn(e,t);function e(n){Hn(this,e);var i;i=Vn(this,e,[n]),k(i,"caption",void 0),k(i,"captionSize",void 0),k(i,"captionColor",void 0),k(i,"isCaptionItalic",void 0),k(i,"isHideCaption",void 0),k(i,"isShowCaptionTip",void 0),k(i,"captionTip",void 0),k(i,"labelPosition",void 0),k(i,"dataBind",void 0),k(i,"defaultValue",void 0),k(i,"placeholder",void 0),k(i,"defaultState",void 0),k(i,"required",void 0),k(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.captionSize=(a=n==null?void 0:n.captionSize)!==null&&a!==void 0?a:"";var l;i.captionColor=(l=n==null?void 0:n.captionColor)!==null&&l!==void 0?l:"";var r;i.isCaptionItalic=(r=n==null?void 0:n.isCaptionItalic)!==null&&r!==void 0?r:!1;var s;i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1;var c;i.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var h;i.captionTip=(h=n==null?void 0:n.captionTip)!==null&&h!==void 0?h:"";var v;i.defaultState=(v=n==null?void 0:n.defaultState)!==null&&v!==void 0?v:"default";var g;i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top";var C;i.placeholder=(C=n==null?void 0:n.placeholder)!==null&&C!==void 0?C:"";var I;i.required=(I=n==null?void 0:n.required)!==null&&I!==void 0?I:!1;var _;i.requiredMessage=(_=n==null?void 0:n.requiredMessage)!==null&&_!==void 0?_:"",i.dataBind=new ye(n==null?void 0:n.dataBind);var E;return i.defaultValue=(E=n==null?void 0:n.defaultValue)!==null&&E!==void 0?E:"",i}return e}(G);k(O,"Rules",Z),k(O,"RuntimeRules",M);var ot=function(t){qn(e,t);function e(n){Hn(this,e);var i;return i=Vn(this,e,[n]),k(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),k(i,"options",[{type:"array",message:d.getMessage("isNotArray")}]),k(i,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),zu.call(i,n),i}return e}(Z);function og(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cg(t,e,n){return e=Wn(e),hg(t,wr()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function sg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function dg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zu(t,e)}function hg(t,e){return e&&(fg(e)==="object"||typeof e=="function")?e:og(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function fg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wr=function(){return!!t})()}var P=function(t){dg(e,t);function e(n){sg(this,e);var i;return i=cg(this,e,[n]),Un(i,"controlType","form"),Un(i,"props",void 0),i.props=new O(n==null?void 0:n.props),i}return e}(N);Un(P,"controlEventKeys",["on_change","on_focus","on_blur"]),Un(P,"controlCustomAttributes",void 0);function yg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mg(t,e,n){return e=Kn(e),bg(t,Ir()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function gg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xu(t,e)}function bg(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:yg(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}function _g(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ir(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ir=function(){return!!t})()}var R=function(t){gg(e,t);function e(n){vg(this,e);var i;return i=mg(this,e,[n]),Qu(i,"controlType","form"),Qu(i,"props",void 0),Qu(i,"value",void 0),i.props=new O(n==null?void 0:n.props),i}return e}(z);function Cg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wg(t,e,n){return e=zn(e),Sg(t,Er()?Reflect.construct(e,n||[],zn(t).constructor):e.apply(t,n))}function Ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(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&&Ju(t,e)}function Sg(t,e){return e&&(Ag(e)==="object"||typeof e=="function")?e:Cg(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}function Ag(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Er(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Er=function(){return!!t})()}var $=function(t){Eg(e,t);function e(n){return Ig(this,e),wg(this,e,[n])}return e}(G);function Yu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Tg(t){if(Array.isArray(t))return Yu(t)}function Og(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function Bg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Sr(a,i,u,l,r,"next",s)}function r(s){Sr(a,i,u,l,r,"throw",s)}l(void 0)})}}function Pg(t,e,n){return e=Pe(e),Vg(t,Or()?Reflect.construct(e,n||[],Pe(t).constructor):e.apply(t,n))}function Rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ar(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Dg(t,e,n){return e&&Ar(t.prototype,e),n&&Ar(t,n),t}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,l){var r=Hg(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},ct(t,e,n||t)}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(t)}function xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function Fg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function kg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Lg(){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 Ng(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Be(t,u,n[u])})}return t}function Mg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function $g(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Mg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Vg(t,e){return e&&(jg(e)==="object"||typeof e=="function")?e:Og(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function Hg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pe(t),t!==null););return t}function Tr(t){return Tg(t)||kg(t)||qg(t)||Lg()}function jg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qg(t,e){if(!!t){if(typeof t=="string")return Yu(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 Yu(t,e)}}function Or(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Or=function(){return!!t})()}function Ug(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=r(0),l.throw=r(1),l.return=r(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function r(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Wg=1e4,H=function(e){xg(n,e);function n(i){Rg(this,n);var u;u=Pg(this,n,[i]),Be(u,"controlType","layout"),Be(u,"children",void 0),Be(u,"excludes",void 0),Be(u,"childrenMaxLength",void 0),Be(u,"props",void 0);var a=Fg(this,n)?this.constructor:void 0,l=a.excludes,r=a.childrenMaxLength;return u.props=new $(i==null?void 0:i.props),fe(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=Ee(l),u.childrenMaxLength=r,u}return Dg(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var l=this,r=this,s=function(){return ct(Pe(n.prototype),"validate",l)};return Bg(function(){return Ug(this,function(c){switch(c.label){case 0:return[4,s().call(r,u,a)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(h){return h.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=ct(Pe(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(r,s){var c=s.toDataBindModel(u);if(Array.isArray(c)){var h=c.filter(function(v){return!!v});return Tr(r).concat(Tr(h))}return c&&r.push(c),r},l)}},{key:"toSchema",value:function(){var u=ct(Pe(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var r=l.toSchema();return r});return $g(Ng({},u),{children:a})}}]),n}(N);Be(H,"excludes",!1),Be(H,"childrenMaxLength",Wg);function Kg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zg(t,e,n){return e=Gn(e),Qg(t,Br()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function Gg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function Zg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function Qg(t,e){return e&&(Xg(e)==="object"||typeof e=="function")?e:Kg(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function Xg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Br(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Br=function(){return!!t})()}var j=function(t){Zg(e,t);function e(n){Gg(this,e);var i;return i=zg(this,e,[n]),ea(i,"controlType","layout"),ea(i,"children",void 0),ea(i,"props",void 0),i.props=new $(n==null?void 0:n.props),fe(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(z);function Jg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yg(t,e,n){return e=Zn(e),t0(t,Pr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function pg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function e0(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&&na(t,e)}function t0(t,e){return e&&(n0(e)==="object"||typeof e=="function")?e:Jg(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function n0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pr=function(){return!!t})()}var Qn=function(t){e0(e,t);function e(n,i,u){pg(this,e);var a;a=Yg(this,e,[i]),st(a,"headers",void 0),st(a,"footers",void 0),st(a,"pageIndex",void 0),st(a,"pageSize",void 0),st(a,"pageSizeOptions",void 0),st(a,"totalCount",void 0),fe(a,"headers",i==null?void 0:i.headers,n,u),fe(a,"footers",i==null?void 0:i.footers,n);var l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var r;a.pageSize=(r=i==null?void 0:i.pageSize)!==null&&r!==void 0?r:20;var s;a.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(G);function ia(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function i0(t){if(Array.isArray(t))return ia(t)}function u0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rr(t,e,n,i,u,a,l){try{var r=t[a](l),s=r.value}catch(c){n(c);return}r.done?e(s):Promise.resolve(s).then(i,u)}function a0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Rr(a,i,u,l,r,"next",s)}function r(s){Rr(a,i,u,l,r,"throw",s)}l(void 0)})}}function l0(t,e,n){return e=Re(e),f0(t,Lr()?Reflect.construct(e,n||[],Re(t).constructor):e.apply(t,n))}function r0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o0(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function Xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,a,l){var r=y0(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},dt(t,e,n||t)}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(t)}function c0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function s0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function d0(){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 xr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Xn(t,u,n[u])})}return t}function h0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Fr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function f0(t,e){return e&&(m0(e)==="object"||typeof e=="function")?e:u0(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function y0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Re(t),t!==null););return t}function kr(t){return i0(t)||s0(t)||v0(t)||d0()}function m0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function v0(t,e){if(!!t){if(typeof t=="string")return ia(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 ia(t,e)}}function Lr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lr=function(){return!!t})()}function g0(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=r(0),l.throw=r(1),l.return=r(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function r(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var aa=function(t){c0(e,t);function e(n){r0(this,e);var i;return i=l0(this,e,[n]),Xn(i,"controlType","list"),Xn(i,"props",void 0),i.props=new Qn(i,n==null?void 0:n.props,"Designer"),i}return o0(e,[{key:"validate",value:function(i,u){var a=this,l=this,r=function(){return dt(Re(e.prototype),"validate",a)};return a0(function(){return g0(this,function(s){switch(s.label){case 0:return[4,r().call(l,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=dt(Re(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,r){var s=r.toDataBindModel(a);if(Array.isArray(s)){var c=s.filter(function(h){return!!h});return kr(l).concat(kr(c))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var i,u,a=dt(Re(e.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(s){return s.toSchema()}),r=(u=this.props)===null||u===void 0||(i=u.footers)===null||i===void 0?void 0:i.map(function(s){if(s)return s.toSchema()});return Fr(xr({},a),{props:Fr(xr({},this.props),{headers:l,footers:r})})}}]),e}(N);Xn(aa,"controlFieldType",b.LIST);function b0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _0(t,e,n){return e=Jn(e),E0(t,Mr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function C0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function w0(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(t,n),t}function la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function I0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function E0(t,e){return e&&(S0(e)==="object"||typeof e=="function")?e:b0(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function S0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mr=function(){return!!t})()}var $r=function(t){I0(e,t);function e(n){C0(this,e);var i;return i=_0(this,e,[n]),la(i,"controlType","list"),la(i,"children",void 0),la(i,"props",void 0),i.props=new Qn(i,n==null?void 0:n.props,"Runtime"),fe(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return w0(e,[{key:"length",get:function(){return this.children.length}}]),e}(z);function A0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oa(t,e,n){return e=Yn(e),T0(t,Vr()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function ca(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function sa(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&&da(t,e)}function T0(t,e){return e&&(O0(e)==="object"||typeof e=="function")?e:A0(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function O0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vr=function(){return!!t})()}var ve=function(t){sa(e,t);function e(n){ca(this,e);var i;return i=oa(this,e,[n]),Q(i,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Q(i,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),i.width.required=n.widthType==="px",i}return e}(W),q=function(t){sa(e,t);function e(n){ca(this,e);var i;i=oa(this,e,[n]),Q(i,"widthType",void 0),Q(i,"width",void 0),Q(i,"caption",void 0),Q(i,"dataBind",void 0),Q(i,"autoWidth",void 0),Q(i,"fixed",void 0),Q(i,"sort",void 0),Q(i,"align",void 0),Q(i,"colSpan",void 0),Q(i,"autoHeight",void 0),Q(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new Xl(n==null?void 0:n.autoWidth),i.dataBind=new ye(n==null?void 0:n.dataBind);var r;i.sort=(r=n==null?void 0:n.sort)!==null&&r!==void 0?r:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var s;return i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(G);Q(q,"Rules",ve);var Hr=function(t){sa(e,t);function e(n){ca(this,e);var i;return i=oa(this,e,[n]),Q(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Q(i,"options",[{type:"array",message:d.getMessage("isNotArray")}]),Q(i,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),zu.call(i,n),i}return e}(ve);function B0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P0(t,e,n){return e=ht(e),N0(t,qr()?Reflect.construct(e,n||[],ht(t).constructor):e.apply(t,n))}function R0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function D0(t,e,n){return e&&jr(t.prototype,e),n&&jr(t,n),t}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ei=Reflect.get:ei=function(u,a,l){var r=M0(u,a);if(!!r){var s=Object.getOwnPropertyDescriptor(r,a);return s.get?s.get.call(l||u):s.value}},ei(t,e,n||t)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(t)}function x0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function F0(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){pn(t,u,n[u])})}return t}function k0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function L0(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):k0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function N0(t,e){return e&&($0(e)==="object"||typeof e=="function")?e:B0(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function M0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ht(t),t!==null););return t}function $0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qr=function(){return!!t})()}var X=function(t){x0(e,t);function e(n){R0(this,e);var i;return i=P0(this,e,[n]),pn(i,"controlType","column"),pn(i,"props",void 0),pn(i,"children",void 0),i.props=new q(n==null?void 0:n.props),fe(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return D0(e,[{key:"toSchema",value:function(){var i=ei(ht(e.prototype),"toSchema",this).call(this);return L0(F0({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(N);function V0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H0(t,e,n){return e=ti(e),U0(t,Ur()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function j0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function q0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ya(t,e)}function U0(t,e){return e&&(W0(e)==="object"||typeof e=="function")?e:V0(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function W0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ur=function(){return!!t})()}var J=function(t){q0(e,t);function e(n){j0(this,e);var i;return i=H0(this,e,[n]),fa(i,"controlType","column"),fa(i,"props",void 0),fa(i,"children",void 0),i.props=new q(n==null?void 0:n.props),fe(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(z);function K0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z0(t,e,n){return e=ni(e),X0(t,Wr()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function G0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function Q0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function X0(t,e){return e&&(J0(e)==="object"||typeof e=="function")?e:K0(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function J0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}var va=function(t){Q0(e,t);function e(n){G0(this,e);var i;return i=z0(this,e,[n]),Z0(i,"dataBind",void 0),i.dataBind=new ye(n==null?void 0:n.dataBind),i}return e}($);function Y0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p0(t,e,n){return e=ii(e),nb(t,zr()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function eb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function tb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ga(t,e)}function nb(t,e){return e&&(ib(e)==="object"||typeof e=="function")?e:Y0(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function ib(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zr=function(){return!!t})()}var ub=function(t){tb(e,t);function e(n){eb(this,e);var i;return i=p0(this,e,[n]),Kr(i,"controlType","search"),Kr(i,"props",void 0),i.props=new va(n==null?void 0:n.props),i}return e}(H);function ab(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lb(t,e,n){return e=ui(e),cb(t,Zr()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function rb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function ob(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function cb(t,e){return e&&(sb(e)==="object"||typeof e=="function")?e:ab(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function sb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zr=function(){return!!t})()}var db=function(t){ob(e,t);function e(n){rb(this,e);var i;return i=lb(this,e,[n]),Gr(i,"controlType","search"),Gr(i,"props",void 0),i.props=new va(n==null?void 0:n.props),i}return e}(j);function hb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fb(t,e,n){return e=ai(e),vb(t,Qr()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function yb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function mb(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&&_a(t,e)}function vb(t,e){return e&&(gb(e)==="object"||typeof e=="function")?e:hb(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function gb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qr=function(){return!!t})()}var Ca=function(t){mb(e,t);function e(n){return yb(this,e),fb(this,e,[n])}return e}($);function bb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _b(t,e,n){return e=li(e),Ib(t,Jr()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function Cb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function wb(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&&wa(t,e)}function Ib(t,e){return e&&(Eb(e)==="object"||typeof e=="function")?e:bb(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function Eb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var Sb=function(t){wb(e,t);function e(n){Cb(this,e);var i;return i=_b(this,e,[n]),Xr(i,"controlType","wrap"),Xr(i,"props",void 0),i.props=new Ca(n==null?void 0:n.props),i}return e}(H);function Ab(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tb(t,e,n){return e=ri(e),Pb(t,pr()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function Ob(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function Bb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}function Pb(t,e){return e&&(Rb(e)==="object"||typeof e=="function")?e:Ab(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function Rb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var Db=function(t){Bb(e,t);function e(n){Ob(this,e);var i;return i=Tb(this,e,[n]),Yr(i,"controlType","wrap"),Yr(i,"props",void 0),i.props=new Ca(n==null?void 0:n.props),i}return e}(j);function De(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}class Ea extends G{constructor(e){var n,i,u,a,l,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57",this.align=(r=e==null?void 0:e.align)!=null?r:""}}class eo extends N{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}eo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class xb extends z{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"text"}}var to={Designer:eo,Runtime:xb,Property:Ea};class ee extends G{constructor(e){var n,i,u,a,l,r,s,c,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new rv((h=e==null?void 0:e.optObj)!=null?h:{})}}class te extends N{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}te.controlEventKeys=["on_click"],te.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class le extends z{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var no={Designer:te,Runtime:le,Property:ee},xe=(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))(xe||{}),io=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(io||{}),uo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(uo||{});class oi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ce(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Sa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Sa||{});class ci{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ce(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Aa=(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))(Aa||{});class Ta{constructor(e){var n,i,u,a,l,r,s,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Ot((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new Ot((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Ot((r=e==null?void 0:e.company)!=null?r:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class ao{constructor(e){var n,i,u,a,l,r;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Ta(s)))!=null?u:[new Ta],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(r=e==null?void 0:e.completeTimeControl)!=null?r:""}}class Oa{constructor(e){var n,i,u,a,l,r,s;this.id=(n=e==null?void 0:e.id)!=null?n:ce(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(r=e==null?void 0:e.fieldList)!=null?r:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ba{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class lo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ba(e==null?void 0:e.watermark),this.autoRename=new Ba(e==null?void 0:e.autoRename)}}const ro=480;function $e(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class oo{constructor(e){var n,i,u,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class co{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var so=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(so||{}),Pa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Pa||{}),si=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(si||{}),Fe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Fe||{}),Ra=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ra||{});class Da extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Aa.SOLID}}class ho extends N{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}ho.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]}];class Fb extends z{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"divider"}}var fo={Designer:ho,Runtime:Fb,Property:Da};class kb extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(xe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class di extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[xe.ShowSubmitUser,xe.ShowSubmitDept,xe.ShowSubmitTime,xe.ShowCurrentApprovar,xe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ft==null?void 0:ft.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}di.Rules=kb;class ft extends N{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}ft.controlFieldType=b.AUTO_NUMBER,ft.setting=[{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Lb extends z{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"title"}}var yo={Designer:ft,Runtime:Lb,Property:di};class Nb extends W{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class hi extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:xt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:xt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}hi.Rules=Nb;class xt extends te{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}xt.controlEventKeys=["on_click","on_click_finish"],xt.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 Mb extends le{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var mo={Designer:xt,Runtime:Mb,Property:hi};class $b extends W{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class fi extends ee{constructor(e){var n,i,u,a,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(r=e==null?void 0:e.employeeId)!=null?r:""}}fi.Rules=$b;class Ft extends te{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ft.controlEventKeys=["on_click","on_click_finish"],Ft.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 Vb extends le{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var vo={Designer:Ft,Runtime:Vb,Property:fi};class xa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:kt.controlIcon}}class kt extends te{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}kt.controlEventKeys=["on_click"],kt.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 Hb extends le{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var go={Designer:kt,Runtime:Hb,Property:xa};class Fa extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Lt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Lt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(r=>new Oa(r)))!=null?l:[new Oa({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Lt extends te{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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 jb extends le{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var bo={Designer:Lt,Runtime:jb,Property:Fa};class ka extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Nt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Nt.controlIcon}}class Nt extends te{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Nt.controlEventKeys=["on_click"],Nt.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 qb extends le{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var _o={Designer:Nt,Runtime:qb,Property:ka};class Ub{constructor(e){this.dataCode=e.dataCode}}class La extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Mt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Ub(r)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class Mt extends te{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Mt.controlEventKeys=["on_click","on_click_finish"],Mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class Wb extends le{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Co={Designer:Mt,Runtime:Wb,Property:La};function yi(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class Kb extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},yi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},yi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class mi extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:$t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:$t.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new tr(e==null?void 0:e.fillPayload),this.formBind=new jm(e==null?void 0:e.formBind),this.fillBack=new nr(e==null?void 0:e.fillBack)}}mi.Rules=Kb;class $t extends te{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class zb extends le{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var wo={Designer:$t,Runtime:zb,Property:mi};class Gb extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},yi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},yi())}}}class vi extends ee{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Vt.controlIcon,this.fillPayload=new tr(e==null?void 0:e.fillPayload),this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.fillBack=new nr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Du(e==null?void 0:e.selectedContentConfig),this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}vi.Rules=Gb;class Vt extends te{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Vt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Zb extends le{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Io={Designer:Vt,Runtime:Zb,Property:vi};class Qb extends W{constructor(e){super(e)}}class Xb extends Me{constructor(e){super(e)}}class Ht extends G{constructor(e){super(e)}}Ht.Rules=Qb,Ht.RuntimeRules=Xb;class Eo extends N{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Eo.setting=[];class Jb extends z{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var So={Designer:Eo,Runtime:Jb,Property:Ht};class Yb extends W{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class gi extends G{constructor(e){var n,i,u,a,l,r;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top"}}gi.Rules=Yb;class Ao extends N{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ao.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class pb extends z{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var To={Designer:Ao,Runtime:pb,Property:gi};class e_ extends W{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class bi extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new av(a)))!=null?u:[]}}bi.Rules=e_;class Oo extends N{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Oo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class t_ extends z{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Bo={Designer:Oo,Runtime:t_,Property:bi};class n_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends ee{constructor(e){var n,i,u,a,l,r,s,c,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:yt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:yt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:yt.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new ne(g)))!=null?v:[]}}_i.Rules=n_;class yt extends te{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class i_ extends le{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Po={Designer:yt,Runtime:i_,Property:_i};class u_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ci extends ee{constructor(e){var n,i,u,a,l,r,s,c,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:mt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:mt.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new ne(g)))!=null?v:[]}}Ci.Rules=u_;class mt extends te{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class a_ extends le{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Ro={Designer:mt,Runtime:a_,Property:Ci};class l_ extends W{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class wi extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:jt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:jt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(r=>new oo(r)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}wi.Rules=l_;class jt extends te{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}jt.controlEventKeys=["on_click","on_click_finish"],jt.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 r_ extends le{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Do={Designer:jt,Runtime:r_,Property:wi};class Na extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon}}class qt extends te{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class o_ extends le{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var xo={Designer:qt,Runtime:o_,Property:Na};class c_ extends W{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class Ii extends G{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Ii.Rules=c_;class Ei extends N{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ei.controlEventKeys=["on_click"],Ei.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class s_ extends z{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Fo={Designer:Ei,Runtime:s_,Property:Ii};class Ma extends G{constructor(e){var n,i,u,a,l,r,s,c,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(r=e==null?void 0:e.isHide)!=null?r:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class Ut extends N{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Ut.controlEventKeys=["on_click"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class d_ extends z{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var ko={Designer:Ut,Runtime:d_,Property:Ma},h_=Object.freeze({__proto__:null,Text:to,Button:no,Divider:fo,Title:yo,CreateFormListButton:mo,BatchSubmissionListButton:vo,SubmissionRecordListButton:go,ExportListButton:bo,ExportRecordListButton:_o,ImportRecordListButton:Co,FormSelectButton:wo,ListSelectButton:Io,Pagination:So,Dashboard:To,ListViewSelect:Bo,TextOcrButton:Po,InvoiceCheckButton:Ro,BatchPrintListButton:Do,BatchPrintRecordListButton:xo,OperationButton:Fo,BatchDeleteButton:ko});class f_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=$e(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class y_ extends M{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:$e(e.regularRules.expression),message:e.regularRules.errMessage})}}class vt extends O{constructor(e){var n,i,u,a,l,r,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new xu(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:gt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}vt.Rules=f_,vt.RuntimeRules=y_;class gt extends P{constructor(e){super(e),this.props=new vt(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}gt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gt.controlFieldType=b.VARCHAR,gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.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 Lo extends R{constructor(e){super(e),this.props=new vt(e==null?void 0:e.props)}static get controlType(){return"input"}}Lo.controlFieldType=b.VARCHAR;var No={Designer:gt,Runtime:Lo,Property:vt};class m_ extends ot{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class v_ extends M{constructor(e){super(e),this[0]!==void 0&&(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 Wt extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(r=e==null?void 0:e.limitMin)!=null?r:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Kt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new ne(_))}))}}Wt.Rules=m_,Wt.RuntimeRules=v_;class Kt extends P{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=b.ARRAY,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Mo extends R{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Mo.controlFieldType=b.ARRAY;var $o={Designer:Kt,Runtime:Mo,Property:Wt};class g_ extends ot{constructor(e){super(e)}}class Si extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(r=e==null?void 0:e.defaultShowOptions)!=null?r:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:zt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ne(C))}))}}Si.Rules=g_;class zt extends P{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}zt.controlEventKeys=["on_change","on_click"],zt.controlFieldType=b.VARCHAR,zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Vo extends R{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"radio"}}Vo.controlFieldType=b.VARCHAR;var Ho={Designer:zt,Runtime:Vo,Property:Si};class b_ extends Z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=$e(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class __ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:$e(e.regularRules.expression),message:e.regularRules.errMessage})}}class Gt extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Zt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new xu(e==null?void 0:e.regularRules)}}Gt.Rules=b_,Gt.RuntimeRules=__;class Zt extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=b.DECIMAL,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_UNIT,o.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:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class jo extends R{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"number"}}jo.controlFieldType=b.DECIMAL;var qo={Designer:Zt,Runtime:jo,Property:Gt};class $a extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ai.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(h=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(C=>new oi(C)))!=null?h:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ai extends P{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ai.controlFieldType=b.TIMESTAMP,Ai.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Uo extends R{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Uo.controlFieldType=b.TIMESTAMP;var Wo={Designer:Ai,Runtime:Uo,Property:$a};class C_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!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 Ti extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g;super(e),this.dataBind=new Ym(e==null?void 0:e.dataBind),this.defaultValue=new pm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(h=e==null?void 0:e.caption)!=null?h:Oi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(C=>new oi(C)))!=null?g:[]}}Ti.RuntimeRules=C_;class Oi extends P{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Oi.controlFieldType=b.TIMESCOPE,Oi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ko extends R{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Ko.controlFieldType=b.TIMESCOPE;var zo={Designer:Oi,Runtime:Ko,Property:Ti};class w_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class I_ extends M{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Qt extends O{constructor(e){var n,i,u,a,l,r,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Xt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:4,this.autoSize=(s=e==null?void 0:e.autoSize)!=null?s:!1,this.maxRows=e==null?void 0:e.maxRows}}Qt.Rules=w_,Qt.RuntimeRules=I_;class Xt extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.TEXT,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Go extends R{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Go.controlFieldType=b.TEXT;var Zo={Designer:Xt,Runtime:Go,Property:Qt};class E_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class S_ extends M{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Jt extends O{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}Jt.Rules=E_,Jt.RuntimeRules=S_;class Yt extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=b.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Qo extends R{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Qo.controlFieldType=b.TEXT;var Xo={Designer:Yt,Runtime:Qo,Property:Jt};class A_ extends ot{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Bi extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Pi.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.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,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(g=>{var C;(C=this.multistageFilling)==null||C.push(new ne(g))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new lt(e==null?void 0:e.formBind)}}Bi.Rules=A_;class Pi extends P{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Pi.controlFieldType=b.VARCHAR,Pi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP,o.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Jo extends R{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"select"}}Jo.controlFieldType=b.VARCHAR;var Yo={Designer:Pi,Runtime:Jo,Property:Bi};class T_ extends ot{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class O_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class pt extends O{constructor(e){var n,i,u,a,l,r,s,c,h;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ri.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=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ne(v))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new lt(e==null?void 0:e.formBind)}}pt.Rules=T_,pt.RuntimeRules=O_;class Ri extends P{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ri.controlFieldType=b.ARRAY,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class po extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}po.controlFieldType=b.ARRAY;var ec={Designer:Ri,Runtime:po,Property:pt};class B_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Di extends O{constructor(e){var n,i,u,a,l,r,s,c,h;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:xi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ne(v))}))}}Di.RuntimeRules=B_;class xi extends P{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}xi.controlFieldType=b.EMPLOYEES,xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.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 tc extends R{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"employee"}}tc.controlFieldType=b.EMPLOYEES;var nc={Designer:xi,Runtime:tc,Property:Di};const P_=10485760,R_=104857600,D_=1048576e3;class x_ extends Z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:D_,message:d.getMessage("attachmentMaxSize")}}}class F_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class bt extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:R_,this.caption=(c=e==null?void 0:e.caption)!=null?c:_t.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.forbidDownload=(C=e==null?void 0:e.forbidDownload)!=null?C:!1,this.accessControl=(I=e==null?void 0:e.accessControl)!=null?I:!1}}bt.Rules=x_,bt.RuntimeRules=F_;class _t extends P{constructor(e){super(e),this.props=new bt(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{forbidDownload:i,accessControl:u}=this.props;n.props.forbidDownload=i!=null?i:!1,n.props.accessControl=u!=null?u:!1}return n}}_t.controlEventKeys=["on_change"],_t.controlFieldType=b.FILE,_t.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.FORBID_DOWNLOAD,o.ACCESS_CONTROL]},{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 Va extends R{constructor(e){super(e),this.props=new bt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Va.controlFieldType=b.FILE;var ic={Designer:_t,Runtime:Va,Property:bt};class uc extends bt{constructor(e){var n;super(e),this.onlyAllowTakePhoto=(n=e==null?void 0:e.onlyAllowTakePhoto)!=null?n:!1}}const ac=class extends _t{constructor(t){var e,n,i,u;super(t),this.props=new uc(t==null?void 0:t.props),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:ac.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}};let Ha=ac;Ha.controlFieldType=b.IMAGE,Ha.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.FORBID_DOWNLOAD,o.ONLY_ALLOW_TAKE_PHOTO,o.ACCESS_CONTROL,o.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class k_ extends Va{static get controlType(){return"image"}constructor(e){var n,i,u,a,l,r;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(r=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?r:"\u4E0A\u4F20\u56FE\u7247"}}var lc={Designer:Ha,Runtime:k_,Property:uc};class L_ extends ot{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class N_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Al(ut({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class en extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new Xm(e==null?void 0:e.dataBind),this.datasourceBind=new Y((r=e==null?void 0:e.datasourceBind)!=null?r:{displayBoList:[new Pu({value:"name"})]}),this.defaultValue=new Jm((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:iv.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(c=e==null?void 0:e.caption)!=null?c:tn.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}en.Rules=L_,en.RuntimeRules=N_;class tn extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=b.MONEY,tn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.SUBMIT_SELECT_CURRENCY,o.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class rc extends R{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"amount"}}rc.controlFieldType=b.MONEY;var oc={Designer:tn,Runtime:rc,Property:en};class M_ extends Z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class $_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class nn extends O{constructor(e){var n,i,u,a,l,r,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Sa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new ci(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new ci),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:un.controlName}}nn.Rules=M_,nn.RuntimeRules=$_;class un extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new ci);this.props.explain.push(...u)}}super.postUpdate(e,n)}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.DECIMAL,un.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 cc extends R{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"score"}}cc.controlFieldType=b.DECIMAL;var sc={Designer:un,Runtime:cc,Property:nn};class V_ extends M{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Fi extends O{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ki.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new ev((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}Fi.RuntimeRules=V_;class ki extends P{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ki.controlFieldType=b.ADDRESS,ki.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class dc extends R{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}dc.controlFieldType=b.ADDRESS;var hc={Designer:ki,Runtime:dc,Property:Fi};class H_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Li extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:an.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ne(C))}))}}Li.RuntimeRules=H_;class an extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}an.controlName="\u90E8\u95E8",an.controlFieldType=b.DEPARTMENTS,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 fc extends R{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"department"}}fc.controlFieldType=b.DEPARTMENTS;var yc={Designer:an,Runtime:fc,Property:Li};class ja extends O{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:ln.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class ln extends P{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}ln.controlEventKeys=["on_change"],ln.controlFieldType=b.AUTO_NUMBER,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class mc extends R{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}mc.controlFieldType=b.AUTO_NUMBER;var vc={Designer:ln,Runtime:mc,Property:ja};class j_ extends Z{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 q_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class rn extends O{constructor(e){var n,i,u,a,l,r,s,c;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new tv(e==null?void 0:e.dataBind),this.defaultValue=new nv(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:on.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(r=e==null?void 0:e.scriptEcho)!=null?r:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(c=e==null?void 0:e.calcOnMounted)!=null?c:!1}}rn.Rules=j_,rn.RuntimeRules=q_;class on extends P{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}on.controlEventKeys=["on_change"],on.controlFieldType=b.CALC,on.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class gc extends R{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"calc"}}gc.controlFieldType=b.CALC;var bc={Designer:on,Runtime:gc,Property:rn};class U_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Ni extends O{constructor(e){var n,i,u,a,l,r;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(r=e==null?void 0:e.caption)!=null?r:Mi.controlName}}Ni.RuntimeRules=U_;class Mi extends P{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Mi.controlFieldType=b.DECIMAL_RANGE,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _c extends R{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}_c.controlFieldType=b.DECIMAL_RANGE;var Cc={Designer:Mi,Runtime:_c,Property:Ni};class W_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&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 $i extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.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=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Vi.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(I=>new oi(I)))!=null?C:[]}}$i.RuntimeRules=W_;class Vi extends P{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Vi.controlFieldType=b.ARRAY,Vi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class wc extends R{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}wc.controlFieldType=b.ARRAY;var Ic={Designer:Vi,Runtime:wc,Property:$i};class K_ extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class z_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class cn extends O{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}cn.Rules=K_,cn.RuntimeRules=z_;class sn extends P{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}sn.controlFieldType=b.ANY,sn.controlEventKeys=[],sn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.REQUIRED,o.IS_SHOW_CAPTION_TIP,o.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ec extends R{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ec.controlFieldType=b.ANY;var Sc={Designer:sn,Runtime:Ec,Property:cn};class G_ extends ot{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Hi extends O{constructor(e){var n,i,u,a,l,r,s,c,h;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(r=e==null?void 0:e.openMultistageFilling)!=null?r:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Du(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ne(v))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new lt(e==null?void 0:e.formBind)}}Hi.Rules=G_;class dn extends P{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}dn.controlFieldType=b.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Ac extends R{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Ac.controlFieldType=b.VARCHAR;var Tc={Designer:dn,Runtime:Ac,Property:Hi};class qa extends vt{constructor(e){super(e)}}class Oc extends gt{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Oc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED]},{key:"super-setting",visible:!0}];class Bc extends R{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Bc.controlFieldType=b.VARCHAR;var Pc={Designer:Oc,Runtime:Bc,Property:qa};class Z_ extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],$n.call(this,e,ke.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class Q_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_,E,m,w,x,B;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(r=e==null?void 0:e.optionalLevel)!=null?r:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(h=e==null?void 0:e.isShowIncludeSub)!=null?h:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new pl((I=e==null?void 0:e.datasourceBind)!=null?I:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new pl((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:ke.controlCustomAttributes}),this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(x=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(D=>new ne(D)))!=null?x:[],this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:[]}}hn.Rules=Z_,hn.RuntimeRules=Q_;class ke extends P{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}ke.controlEventKeys=["on_change","on_click"],ke.controlFieldType=b.ARRAY,ke.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.DEFAULT_DISPLAY,o.CONTAINS_SUB_NODE,o.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 Rc extends R{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Rc.controlFieldType=b.ARRAY;var Dc={Designer:ke,Runtime:Rc,Property:hn};class X_ extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},$n.call(this,e,Ct.controlCustomAttributes),e.externalType===Fe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class J_ extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ct.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new kn((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Ct.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Pa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ra.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Fe.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var m;(m=this.multistageFilling)==null||m.push(new ne(E))}))}}fn.Rules=X_,fn.RuntimeRules=J_;class Ct extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ct.controlFieldType=b.EMPLOYEES,Ct.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.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 xc extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}xc.controlFieldType=b.EMPLOYEES;var Fc={Designer:Ct,Runtime:xc,Property:fn};class Y_ extends Z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&Cu(l.value)&&l.value.length===0){r("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}r()}},company:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&i.signatureType.includes("company")&&Cu(l.value)&&l.value.length===0){r("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}r()}}}},n),{})}}}}}class ji extends O{constructor(e){var n,i,u,a,l,r;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.signatureConfig=new ao(e==null?void 0:e.signatureConfig)}}ji.Rules=Y_;class yn extends P{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}yn.controlEventKeys=["on_click","on_click_finish"],yn.controlFieldType=b.VARCHAR,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.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 kc extends R{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}kc.controlFieldType=b.VARCHAR;var Lc={Designer:yn,Runtime:kc,Property:ji};class p_ extends Z{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class eC extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(r=e==null?void 0:e.canEdit)!=null?r:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:P_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new lo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}mn.Rules=p_,mn.RuntimeRules=eC;class vn extends P{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}vn.controlEventKeys=["on_change","on_wps_open"],vn.controlFieldType=b.FILE,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.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 Nc extends R{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Nc.controlFieldType=b.FILE;var Mc={Designer:vn,Runtime:Nc,Property:mn};class tC extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,Ve.controlCustomAttributes),e.businessType===Fe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class nC extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ve.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new kn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:si.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Fe.ALL,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var w;(w=this.multistageFilling)==null||w.push(new ne(m))}))}}gn.Rules=tC,gn.RuntimeRules=nC;class Ve extends P{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ve.controlName="\u90E8\u95E8",Ve.controlFieldType=b.DEPARTMENTS,Ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 $c extends R{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}$c.controlFieldType=b.DEPARTMENTS;var Vc={Designer:Ve,Runtime:$c,Property:gn};class iC extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,He.controlCustomAttributes),e.businessType===Fe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class uC extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends O{constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_,E,m,w,x;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:He.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new Zm((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:He.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:si.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Fe.ALL,this.organizingFunction=(E=e==null?void 0:e.organizingFunction)!=null?E:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(w=e==null?void 0:e.showSelectedDetail)!=null?w:!1,this.selectedContentConfig=new Du(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(x=e==null?void 0:e.openMultistageFilling)!=null?x:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var D;(D=this.multistageFilling)==null||D.push(new ne(B))}))}}bn.Rules=iC,bn.RuntimeRules=uC;class He extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}He.controlName="\u4E1A\u52A1\u7EC4\u7EC7",He.controlFieldType=b.DEPARTMENTS,He.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Hc extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Hc.controlFieldType=b.DEPARTMENTS;var jc={Designer:He,Runtime:Hc,Property:bn};class aC extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=$e(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class lC extends M{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:$e(e.regularRules.expression),message:e.regularRules.errMessage})}}class _n extends O{constructor(e){var n,i,u,a,l,r,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new xu(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Cn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}_n.Rules=aC,_n.RuntimeRules=lC;class Cn extends P{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return"\u654F\u611F\u4FE1\u606F"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"sensitiven-information"}}Cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Cn.controlFieldType=b.VARCHAR,Cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.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 qc extends R{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"sensitiven-information"}}qc.controlFieldType=b.VARCHAR;var Uc={Designer:Cn,Runtime:qc,Property:_n};class Ua extends O{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Wa extends P{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Wa.controlEventKeys=["on_click"],Wa.setting=[{key:"data-bind",visible:!0},{key:"content",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC],visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class rC extends z{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"link"}}var Wc={Designer:Wa,Runtime:rC,Property:Ua},oC=Object.freeze({__proto__:null,Input:No,Checkbox:$o,Radio:Ho,Number:qo,DatePicker:Wo,DateRange:zo,Textarea:Zo,RichText:Xo,Select:Yo,SelectMultiple:ec,Employee:nc,Image:lc,Attachment:ic,Amount:oc,Score:sc,Address:hc,Department:yc,AutoNumber:vc,Calc:bc,SearchNumberRange:Cc,SearchDateRange:Ic,VueFormItem:Sc,SelectRelation:Tc,SearchInput:Pc,Tree:Dc,Employee2:Fc,ElectronicSignature:Lc,WPS:Mc,Department2:Vc,OrganizationSelection:jc,SensitivenInformation:Uc,Link:Wc});class Kc extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Kc.excludes=[A.GRID];class cC extends j{static get controlType(){return"grid"}constructor(e){super(e)}}var zc={Designer:Kc,Runtime:cC,Property:$};const sC=24;class je extends ${constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:sC,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class wn extends H{constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}wn.excludes=[A.COL,A.CARD_GROUP,A.SUBTABLE,A.SUBTABLE_COLUMN,A.GRID_LAYOUT_CONTAINER,A.DIVIDER],wn.childrenMaxLength=1;class Ka extends j{constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlType(){return"col"}}var Gc={Designer:wn,Runtime:Ka,Property:je};class qi extends ${constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Ui extends H{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Ui.excludes=[A.ROW],Ui.setting=[{key:"col-setting",visible:!0}];class Zc extends j{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Qc={Designer:Ui,Runtime:Zc,Property:qi};const dC=4;class Wi extends Ui{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)}}Wi.excludes=[A.GRID_ROW],Wi.setting=[],Wi.childrenMaxLength=dC;class hC extends Zc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class fC extends qi{constructor(e){super(e)}}var Xc={Designer:Wi,Runtime:hC,Property:fC};class yC extends $.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Ki extends ${constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}Ki.Rules=yC;class za extends H{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}za.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],za.excludes=[A.CARD_GROUP];class mC extends j{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Jc={Designer:za,Runtime:mC,Property:Ki};class vC extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class zi extends ${constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new Vm(e==null?void 0:e.metaAutoWidth)}}zi.Rules=vC;class he extends H{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}}he.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],he.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",showItems:[o.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Yc extends j{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}}Yc.controlType="subtable-column";var pc={Designer:he,Runtime:Yc,Property:zi};class Ga extends ${constructor(e){super(e)}}class qe extends H{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}}qe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",qe.controlType="subtable-row",qe.controlIcon="subtable-row",qe.childrenMaxLength=1,qe.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.SUBTABLE_ROW,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],qe.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0}];class gC extends j{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var es={Designer:qe,Runtime:gC,Property:Ga};class Za extends ${constructor(e){var n,i,u,a,l,r,s,c,h,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(r=e==null?void 0:e.fieldName)!=null?r:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:at.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Ue extends H{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}Ue.controlName="\u5217\u8868\u5355\u5143\u683C",Ue.controlType="gridtable-column",Ue.controlIcon="gridtable-column",Ue.childrenMaxLength=1,Ue.excludes=[A.GRID_TABLE,A.GRID_TABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],Ue.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ts extends j{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}ts.controlType="gridtable-column";var ns={Designer:Ue,Runtime:ts,Property:Za};class Qa extends ${constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class Xa extends H{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}Xa.excludes=[A.GRID_LAYOUT_CONTAINER,A.CARD_GROUP,A.TAB],Xa.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class bC extends j{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var is={Designer:Xa,Runtime:bC,Property:Qa};class Ja extends ${constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class _C extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Gi extends ${constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName}}Gi.Rules=_C;class In extends H{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}In.excludes=[A.TAB],In.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class CC extends j{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var us={Designer:In,Runtime:CC,Property:Gi};class En extends H{constructor(e){var n;super(e),this.props=new Ja(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new In,new In]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}En.excludes=[A.TAB],En.controlEventKeys=["on_change_tab"],En.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class wC extends j{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"tab"}}var as={Designer:En,Runtime:wC,Property:Ja};class ls extends ${constructor(e){super(e)}}class rs extends H{constructor(e){super(e),this.props=new ls({}),this.children=(e==null?void 0:e.children)||[new wn({props:new je({span:12})}),new wn({props:new je({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}rs.excludes=[A.GRID_ROW,A.ROW,A.GRID,A.SUBTABLE,A.TAB,A.TOOLBOX];class IC extends j{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ka({props:new je({span:12})}),new Ka({props:new je({span:12})})]}}var os={Designer:rs,Runtime:IC,Property:ls};class EC extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class SC extends W{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),zu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Sn extends ${constructor(e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_,E,m,w,x;super(e),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Wm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new zm(e==null?void 0:e.joinRelation),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(h=e==null?void 0:e.isFixedHeader)!=null?h:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyleType=(I=e==null?void 0:e.rowStyleType)!=null?I:"none",this.rowStyleBgColor=(_=e==null?void 0:e.rowStyleBgColor)!=null?_:"theme",this.rowStyleRules=(e==null?void 0:e.rowStyleRules)&&Array.isArray(e==null?void 0:e.rowStyleRules)?(m=(E=e==null?void 0:e.rowStyleRules)==null?void 0:E.map(B=>new ov(B)))!=null?m:[]:[],this.rowStyleRulesScript=(e==null?void 0:e.rowStyleRulesScript)&&Array.isArray(e==null?void 0:e.rowStyleRulesScript)?(x=(w=e==null?void 0:e.rowStyleRulesScript)==null?void 0:w.map(B=>new cv(B)))!=null?x:[]:[]}}Sn.Rules=SC,Sn.RuntimeRules=EC;class Zi extends H{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Zi.excludes=[A.ROW],Zi.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"],Zi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class AC extends j{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var cs={Designer:Zi,Runtime:AC,Property:Sn};class TC extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Qi extends ${constructor(e){var n,i,u,a,l,r;super(e),this.save=new Ae((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ae((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ae((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ae((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Ae(s)),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind)}}Qi.RuntimeRules=TC;class ss extends H{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ss.excludes=[];class OC extends j{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var ds={Designer:ss,Runtime:OC,Property:Qi};class BC extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class PC extends j{static get controlType(){return"page"}constructor(e){super(e)}}class RC extends ${constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var hs={Designer:BC,Runtime:PC,Property:RC};class DC extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class xC extends j{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class FC extends ${constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new co(e==null?void 0:e.flexConfig)}}var fs={Designer:DC,Runtime:xC,Property:FC};class kC extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class LC extends j{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class NC extends ${constructor(e){super(e)}}var ys={Designer:kC,Runtime:LC,Property:NC};class MC extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class $C extends j{static get controlType(){return"position"}constructor(e){super(e)}}class VC extends ${constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var ms={Designer:MC,Runtime:$C,Property:VC};class Ya extends ${constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class pa extends H{constructor(e){var n;super(e),this.props=new Ya((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}pa.excludes=[],pa.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class HC extends j{constructor(e){var n;super(e),this.props=new Ya((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var vs={Designer:pa,Runtime:HC,Property:Ya},jC=Object.freeze({__proto__:null,Grid:zc,Col:Gc,Row:Qc,GridRow:Xc,CardGroup:Jc,SubTableColumn:pc,SubTableRow:es,GridTableColumn:ns,GridLayoutContainer:is,Tab:as,TabPane:us,Toolbox:os,ListView:cs,DataView:ds,Page:hs,AdvancedContainer:fs,PositioningContainer:ys,Position:ms,ActionBar:vs});class qC extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class UC extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const gs=class extends Qn{constructor(t,e){var n,i,u,a,l,r,s,c,h,v,g,C,I,_,E,m,w,x,B,D,re,F,oe,Tn,we,cu,On,wt,Ie,qs,Us;super(t,e,gs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xi.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:ro,this.printMode=(h=e==null?void 0:e.printMode)!=null?h:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.canAdd=(I=e==null?void 0:e.canAdd)!=null?I:!0,this.canDelete=(_=e==null?void 0:e.canDelete)!=null?_:!0,this.canCheck=(E=e==null?void 0:e.canCheck)!=null?E:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(w=e==null?void 0:e.canImport)!=null?w:!1,this.canExport=(x=e==null?void 0:e.canExport)!=null?x:!1,this.canClear=(B=e==null?void 0:e.canClear)!=null?B:!0,this.serverPagination=(D=e==null?void 0:e.serverPagination)!=null?D:!1,this.isShowCaptionTip=(re=e==null?void 0:e.isShowCaptionTip)!=null?re:!1,this.captionTip=(F=e==null?void 0:e.captionTip)!=null?F:"",this.mobileShowType=(oe=e==null?void 0:e.mobileShowType)!=null?oe:"list",this.mobileDefaultNum=(Tn=e==null?void 0:e.mobileDefaultNum)!=null?Tn:10,this.dataStorageDoc=(we=e==null?void 0:e.dataStorageDoc)!=null?we:new Hm,this.fixedColumn=(cu=e==null?void 0:e.fixedColumn)!=null?cu:[],this.mobileRowCaption=(On=e==null?void 0:e.mobileRowCaption)!=null?On:"\u660E\u7EC6",this.mobileIsTile=(wt=e==null?void 0:e.mobileIsTile)!=null?wt:!1,this.isPaste=(Ie=e==null?void 0:e.isPaste)!=null?Ie:!1,this.pageSize=(qs=e==null?void 0:e.pageSize)!=null?qs:10,this.pageSizeOptions=(Us=e==null?void 0:e.pageSizeOptions)!=null?Us:[10,20,50,100]}};let An=gs;An.Rules=qC,An.RuntimeRules=UC;class Xi extends aa{constructor(e){var n,i;super(e),this.props=new An(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he]),((i=e==null?void 0:e.props)==null?void 0:i.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Xi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Xi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.IS_PASTE,o.SERVER_PAGINATION]},{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:"max-rows",visible:!0},{key:"list-pager",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 WC extends $r{constructor(e){super(e),this.props=new An(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Tt("Method not implemented.")}getChildrenFormControl(){return[]}}var bs={Designer:Xi,Runtime:WC,Property:An};class el extends Qn{constructor(e,n){var i,u,a,l,r;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(r=n==null?void 0:n.pageSizeOptions)!=null?r:[10,20,50,100,500]}}class KC extends ve{constructor(e){super(e),this.caption.required=!1}}class Ji extends q{constructor(e){var n,i,u,a,l,r,s,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:We.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(s=(r=e==null?void 0:e.autoWidth)==null?void 0:r.flex)!=null?s:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}Ji.Rules=KC;class We extends X{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}We.controlType="order-column",We.controlName="\u5E8F\u53F7",We.controlIcon="order-column",We.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class tl extends J{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}tl.controlType="order-column",tl.controlFieldType=b.DECIMAL;var _s={Designer:We,Runtime:tl,Property:Ji};class nl extends q{constructor(e){var n,i,u,a,l,r;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(r=e==null?void 0:e.limit)!=null?r:3}}class Ce extends X{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ei.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Ol(this,null,function*(){return yield Tl(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName="\u64CD\u4F5C",Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[o.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 il extends J{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}il.controlType="operation-column",il.controlFieldType=b.FILE;var Cs={Designer:Ce,Runtime:il,Property:nl};class Yi extends aa{constructor(e){var n;super(e),this.props=new el(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new We,new Ce]),((n=e==null?void 0:e.props)==null?void 0:n.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Al(ut({},e),{children:n})}validate(e,n){return Ol(this,null,function*(){return yield Tl(Yi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Yi.setting=[{key:"list-fixed-header",visible:!0}];class zC extends $r{constructor(e){super(e),this.props=new el(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Tt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ws={Designer:Yi,Runtime:zC,Property:el},GC=Object.freeze({__proto__:null,SubTable:bs,GridTable:ws});class ZC extends Hr{constructor(e){super(e),De.call(this,e)}}class pi extends q{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.displayPlaintext=(r=e==null?void 0:e.displayPlaintext)!=null?r:!1}}pi.Rules=ZC;class Ke extends X{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}Ke.controlType="varchar-column",Ke.controlName="\u77ED\u6587\u672C",Ke.controlIcon="varchar-column",Ke.controlFieldType=b.VARCHAR,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"column-display-plaintext",visible:!0}];class ul extends J{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}ul.controlType="varchar-column",ul.controlFieldType=b.VARCHAR;var Is={Designer:Ke,Runtime:ul,Property:pi};class QC extends ve{constructor(e){super(e),De.call(this,e)}}class eu extends q{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:ze.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}eu.Rules=QC;class ze extends X{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}ze.controlType="text-column",ze.controlName="\u957F\u6587\u672C",ze.controlIcon="text-column",ze.controlFieldType=b.TEXT,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",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},{key:"column-statistics",visible:!0}];class al extends J{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}al.controlType="text-column",al.controlFieldType=b.TEXT;var Es={Designer:ze,Runtime:al,Property:eu};class XC extends ve{constructor(e){super(e),De.call(this,e)}}class tu extends q{constructor(e){var n,i,u,a,l,r,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=_e((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}tu.Rules=XC;class Ge extends X{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ge.controlType="decimal-column",Ge.controlName="\u6570\u503C",Ge.controlIcon="decimal-column",Ge.controlFieldType=b.DECIMAL,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[o.MICROMETER,o.PRECISION,o.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class ll extends J{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}ll.controlType="decimal-column",ll.controlFieldType=b.DECIMAL;var Ss={Designer:Ge,Runtime:ll,Property:tu};class JC extends ve{constructor(e){super(e),De.call(this,e)}}class nu extends q{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName}}nu.Rules=JC;class Ze extends X{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ze.controlType="timescope-column",Ze.controlName="\u65E5\u671F\u533A\u95F4",Ze.controlIcon="timescope-column",Ze.controlFieldType=b.TIMESCOPE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class rl extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}rl.controlType="timescope-column",rl.controlFieldType=b.TIMESCOPE;var As={Designer:Ze,Runtime:rl,Property:nu};class YC extends ve{constructor(e){super(e),De.call(this,e)}}class iu extends q{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Qe.controlName}}iu.Rules=YC;class Qe extends X{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Qe.controlType="timestamp-column",Qe.controlName="\u65E5\u671F",Qe.controlIcon="timestamp-column",Qe.controlFieldType=b.TIMESTAMP,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ol extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}ol.controlType="timestamp-column",ol.controlFieldType=b.TIMESTAMP;var Ts={Designer:Qe,Runtime:ol,Property:iu};class pC extends Hr{constructor(e){super(e),De.call(this,e)}}class uu extends q{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.options=_e((a=e==null?void 0:e.options)!=null?a:[{}])}}uu.Rules=pC;class Xe extends X{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName="\u6570\u7EC4",Xe.controlIcon="array-column",Xe.controlFieldType=b.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class cl extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}cl.controlType="array-column",cl.controlFieldType=b.ARRAY;var Os={Designer:Xe,Runtime:cl,Property:uu};class sl extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Je extends X{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Je.controlType="department-column",Je.controlName="\u90E8\u95E8",Je.controlIcon="department-column",Je.controlFieldType=b.DEPARTMENTS,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class dl extends J{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}}dl.controlType="department-column",dl.controlFieldType=b.DEPARTMENTS;var Bs={Designer:Je,Runtime:dl,Property:sl};class ew extends ve{constructor(e){super(e),De.call(this,e)}}class au extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}au.Rules=ew;class Ye extends X{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Ye.controlType="auto-number-column",Ye.controlName="\u81EA\u52A8\u7F16\u53F7",Ye.controlIcon="auto-number-column",Ye.controlFieldType=b.AUTO_NUMBER,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class hl extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}hl.controlType="auto-number-column",hl.controlFieldType=b.AUTO_NUMBER;var Ps={Designer:Ye,Runtime:hl,Property:au};class fl extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends X{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}}pe.controlType="file-column",pe.controlName="\u9644\u4EF6",pe.controlIcon="file-column",pe.controlFieldType=b.FILE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class yl extends J{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}}yl.controlType="file-column",yl.controlFieldType=b.FILE;var Rs={Designer:pe,Runtime:yl,Property:fl};class ml extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends X{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}et.controlType="image-column",et.controlName="\u56FE\u7247",et.controlIcon="image-column",et.controlFieldType=b.IMAGE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vl extends J{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}vl.controlType="image-column",vl.controlFieldType=b.IMAGE;var Ds={Designer:et,Runtime:vl,Property:ml};class gl extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends X{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}tt.controlType="people-column",tt.controlName="\u4EBA\u5458",tt.controlIcon="people-column",tt.controlFieldType=b.EMPLOYEES,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class bl extends J{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}bl.controlType="people-column",bl.controlFieldType=b.EMPLOYEES;var xs={Designer:tt,Runtime:bl,Property:gl};class tw extends ve{constructor(e){super(e),De.call(this,e)}}class lu extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption)}}lu.Rules=tw;class nt extends X{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName="\u5730\u5740",nt.controlIcon="location-column",nt.controlFieldType=b.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class _l extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}_l.controlType="location-column",_l.controlFieldType=b.ADDRESS;var Fs={Designer:nt,Runtime:_l,Property:lu};class nw extends ve{constructor(e){super(e),this.sortFieldCode={type:"string",message:d.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class ru extends q{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}ru.Rules=nw;const iw=1;class Le extends X{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ru(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=Ee(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Le.controlType="custom-column",Le.controlName="\u81EA\u5B9A\u4E49",Le.controlIcon="custom-column",Le.excludes=[],Le.childrenMaxLength=iw,Le.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class ks extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}ks.controlType="custom-column";var Ls={Designer:Le,Runtime:ks,Property:ru};class Cl extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.datasourceBind=new kn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ne.controlCustomAttributes})}}class Ne extends X{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ne.controlType="employee-column",Ne.controlName="\u4EBA\u5458",Ne.controlIcon="employee-column",Ne.controlFieldType=b.EMPLOYEES,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wl extends J{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}wl.controlType="employee-column",wl.controlFieldType=b.EMPLOYEES;var Ns={Designer:Ne,Runtime:wl,Property:Cl};class Il extends q{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class it extends X{constructor(e){super(e),this.props=new Il(e==null?void 0:e.props)}}it.controlType="approval-status-column",it.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",it.controlIcon="approval-status-column",it.excludes=[],it.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Ms extends J{constructor(e){super(e),this.props=new Il(e==null?void 0:e.props)}}Ms.controlType="approval-status-column";var $s={Designer:it,Runtime:Ms,Property:Il},uw=Object.freeze({__proto__:null,VarcharColumn:Is,TextColumn:Es,DecimalColumn:Ss,TimescopeColumn:As,TimestampColumn:Ts,ArrayColumn:Os,DepartmentColumn:Bs,AutoNumberColumn:Ps,FileColumn:Rs,ImageColumn:Ds,PeopleColumn:xs,LocationColumn:Fs,CustomColumn:Ls,OrderColumn:_s,OperationColumn:Cs,EmployeeColumn:Ns,ApprovalStatusColumn:$s});class aw extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ou extends va{constructor(e){var n,i,u,a,l,r,s,c,h,v;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ae((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ae((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=((s=e==null?void 0:e.custom)!=null?s:[]).map(g=>new Ae(g)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(h=e==null?void 0:e.childMinWidth)!=null?h:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24}}ou.RuntimeRules=aw;class El extends ub{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}El.controlType="simple-search",El.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"search-view-type",visible:!0}];class Vs extends db{constructor(e){var n;super(e),this.props=new ou(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Vs.controlType="simple-search";var Hs={Designer:El,Runtime:Vs,Property:ou},lw=Object.freeze({__proto__:null,SimpleSearch:Hs});class Sl extends Ca{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class rw extends Sb{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class ow extends Db{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function bw(t){return t}var cw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},js={Designer:rw,Runtime:ow,Property:Sl,Setting:cw},sw=Object.freeze({__proto__:null,GridLayoutWrap:js});y.ActionBar=vs,y.Address=hc,y.AdvancedContainer=fs,y.Amount=oc,y.ApprovalStatusColumn=$s,y.ArrayColumn=Os,y.AssignType=Fe,y.Attachment=ic,y.AutoNumber=vc,y.AutoNumberColumn=Ps,y.BatchDeleteButton=ko,y.BatchPrintListButton=Do,y.BatchPrintRecordListButton=xo,y.BatchSubmissionListButton=vo,y.Button=no,y.Calc=bc,y.CardGroup=Jc,y.Checkbox=$o,y.Col=Gc,y.CreateFormListButton=mo,y.CustomColumn=Ls,y.DATE_CONFIG_TYPE=io,y.DATE_LIMIT_TYPE=uo,y.Dashboard=To,y.DataView=ds,y.DatePicker=Wo,y.DateRange=zo,y.DecimalColumn=Ss,y.Department=yc,y.Department2=Vc,y.DepartmentColumn=Bs,y.DepartmentType=si,y.Divider=fo,y.ElectronicSignature=Lc,y.ElectronicSignatureConfig=ao,y.Employee=nc,y.Employee2=Fc,y.EmployeeColumn=Ns,y.EncryptTypeEnum=so,y.Explain=ci,y.ExportListButton=bo,y.ExportRecordListButton=_o,y.ExportTemplate=Oa,y.FileColumn=Rs,y.FlexStyleConfig=co,y.FormSelectButton=wo,y.Grid=zc,y.GridLayoutContainer=is,y.GridLayoutWrap=js,y.GridRow=Xc,y.GridTable=ws,y.GridTableColumn=ns,y.Image=lc,y.ImageColumn=Ds,y.ImportRecordListButton=Co,y.Input=No,y.InternalType=Ra,y.InvoiceCheckButton=Ro,y.LINE_STYLE=Aa,y.LimitDate=oi,y.Link=Wc,y.ListSelectButton=Io,y.ListView=cs,y.ListViewSelect=Bo,y.LocationColumn=Fs,y.Number=qo,y.OperationButton=Fo,y.OperationColumn=Cs,y.OrderColumn=_s,y.OrganizationSelection=jc,y.OrganizeType=Pa,y.Page=hs,y.Pagination=So,y.PeopleColumn=xs,y.Position=ms,y.PositioningContainer=ys,y.PrintTemplate=oo,y.Radio=Ho,y.RichText=Xo,y.Row=Qc,y.SCORE_TYPE=Sa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=ro,y.Score=sc,y.SearchDateRange=Ic,y.SearchInput=Pc,y.SearchNumberRange=Cc,y.Select=Yo,y.SelectMultiple=ec,y.SelectRelation=Tc,y.SensitivenInformation=Uc,y.SimpleSearch=Hs,y.SubTable=bs,y.SubTableColumn=pc,y.SubTableRow=es,y.SubmissionRecordListButton=go,y.Tab=as,y.TabPane=us,y.Text=to,y.TextColumn=Es,y.TextOcrButton=Po,y.Textarea=Zo,y.TimescopeColumn=As,y.TimestampColumn=Ts,y.Title=yo,y.TitleConfigEnum=xe,y.Toolbox=os,y.Tree=Dc,y.UndersignedPerson=Ta,y.VarcharColumn=Is,y.VueFormItem=Sc,y.WPS=Mc,y.WPSSetting=lo,y.WpsOperationItem=Ba,y.baseControls=h_,y.columnControls=uw,y.formControls=oC,y.initExpression=$e,y.layoutControls=jC,y.listControls=GC,y.searchControls=lw,y.wrapControls=sw,Object.defineProperty(y,"__esModule",{value:!0})});
|