@byteluck-fe/model-driven-controls 2.8.1-beta.11 → 2.8.1-beta.18
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 +1 -1
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var pw=Object.defineProperty,eC=Object.defineProperties;var tC=Object.getOwnPropertyDescriptors;var Hs=Object.getOwnPropertySymbols,nC=Object.getPrototypeOf,iC=Object.prototype.hasOwnProperty,uC=Object.prototype.propertyIsEnumerable,aC=Reflect.get;var js=(y,j,K)=>j in y?pw(y,j,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[j]=K,Re=(y,j)=>{for(var K in j||(j={}))iC.call(j,K)&&js(y,K,j[K]);if(Hs)for(var K of Hs(j))uC.call(j,K)&&js(y,K,j[K]);return y},kn=(y,j)=>eC(y,tC(j));var $r=(y,j,K)=>aC(nC(y),K,j);var Lr=(y,j,K)=>new Promise((vu,On)=>{var gu=we=>{try{Rt(K.next(we))}catch(Bt){On(Bt)}},bu=we=>{try{Rt(K.throw(we))}catch(Bt){On(Bt)}},Rt=we=>we.done?vu(we.value):Promise.resolve(we.value).then(gu,bu);Rt((K=K.apply(y,j)).next())});(function(y,j){typeof exports=="object"&&typeof module!="undefined"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):(y=typeof globalThis!="undefined"?globalThis:y||self,j(y.modelDrivenControls={}))})(this,function(y){"use strict";var j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",bu="{caption}\u5FC5\u586B",Rt="\u8BF7\u8F93\u5165\u6807\u9898",we="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Bt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",qs="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Us="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ws="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ks="\u8BF7\u7ED1\u5B9A\u5217\u8868",zs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Gs="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Qs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Xs="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Js="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Zs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ys="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ps="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ed="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",td="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",nd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",id="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ud="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ad="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",rd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ld="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",od="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",cd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",sd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",dd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",fd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",hd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",yd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",md="\u8BF7\u7ED1\u5B9A\u670D\u52A1",vd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",gd="\u8BF7\u9009\u62E9\u7701",bd="\u8BF7\u9009\u62E9\u5E02",_d="\u8BF7\u9009\u62E9\u533A",wd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Cd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ed="\u8BF7\u8F93\u5165\u5217\u5BBD",Id="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Sd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ad="\u8BF7\u9009\u62E9\u63A7\u4EF6",Td="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Rd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Bd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Dd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Pd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",kd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Od="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$d="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ld="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Nd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Hd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",jd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",qd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ud="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Kd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",zd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Gd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Qd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Xd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Jd="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Zd="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Yd="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",pd={isNotNumber:j,isNotString:K,isNotObject:vu,isNotArray:On,isNotBoolean:gu,runtimeRequired:bu,pleaseEnterCaption:Rt,pleaseEnterCaptionTip:we,pleaseEnterRowCaption:Bt,pleaseEnterPlaceholder:qs,pleaseEnterFieldCode:Us,pleaseEnterForm:Ws,pleaseEnterList:Ks,pleaseEnterProcess:zs,pleaseEnterLabel:Gs,pleaseEnterValue:Qs,bizKeyNotBindFiled:Xs,pleaseSelectOneField:Js,pleaseEnterNumberRange:Zs,pleaseEnterAValueGreaterThanMin:Ys,pleaseEnterAValueLessThanMax:ps,numberRangeSetError:ed,stringRangeError:td,attachmentMaxSize:nd,pleaseEnterTotalScoreSetting:id,theTotalScoreMustNotBeLessThan1:ud,scoreDefaultValueRange:ad,attachmentLimitError:rd,PleaseReselectTheOptionalQuantity:ld,TheMaximumLengthIsGreaterThanTheMinimumLength:od,TheMinimumLengthIsGreaterThanTheMaximumLength:cd,PleaseSelectTheCorrectOptionSettings:sd,optionIdIsRepeat:dd,optionIsRequired:fd,pleaseEnterDataCode:hd,pleaseEnterValueFieldCode:yd,pleaseEnterSvcCode:md,pleaseBindAtLeastOneDisplayValue:vd,pleaseSelectProvince:gd,pleaseSelectCity:bd,pleaseSelectDistrict:_d,limitRowsCannotBeLessThan0:wd,TheNumberOfRowsCannotBeLessThanMinRows:Cd,pleaseEnterColumnWidth:Ed,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Id,pleaseCompleteAllRulesAndConditions:Sd,pleaseSelectControl:Ad,pleaseSelectAtLeastOneColumn:Td,pleaseSelectFillBackMode:Rd,pleaseSelectDashboard:Bd,rootNodeIsRequired:Dd,theViewNameCannotBeEmpty:Pd,pleaseSelectOcrType:xd,pleaseSelectAtLeastOneFieldToFillIn:Fd,pleaseChooseAtLeastOne:kd,pleaseEnterButtonContent:Od,pleaseEnterDataCodeInDataSetting:Md,pleaseEnterValueFieldCodeInDataSetting:$d,pleaseEnterSvcCodeInDataSetting:Ld,pleaseBindAtLeastOneDisplayValueInDataSetting:Nd,rootNodeIsRequiredInDataSetting:Vd,pleaseEnterMaxHeight:Hd,pleaseEnter:jd,pleaseEnterWatermark:qd,pleaseEnterFileName:Ud,pleaseUploadAtLeastOnePrintTemplate:Wd,pleaseAssignBusiness:Kd,pleaseAssignExternal:zd,pleaseEnterAliasCode:Gd,pleaseSelectDataCode:Qd,pleaseSelectSvcCode:Xd,pleaseSelectJoinFieldCode:Jd,pleaseSelectMainFieldCode:Zd,pleaseSelectSortFieldCode:Yd},ef="Please enter a number",tf="Please enter a string",nf="Please enter an object",uf="Please enter an array",af="Please enter a boolean",rf="{caption} Required",lf="Please enter the title",of="Please enter the bubble prompt",cf="Please enter the row title",sf="Please enter the prompt text",df="Please bind data items",ff="Please bind the form",hf="Please bind the list",yf="Please bind the process",mf="Please enter the displayed value",vf="Please enter the stored value",gf="The document number is not bound to the data item",bf="Please select at least one display field",_f="Please enter a value greater than or equal to {min} and less than or equal to {max}",wf="Please enter a value greater than or equal to {min}",Cf="Please enter a value less than or equal to {max}",Ef="The value range is set incorrectly",If="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Sf="The attachment size must be between 0MB and 1000MB",Af="Please fill in the total score setting",Tf="The total score cannot be less than 1",Rf="The default value must be between {min} and {max}",Bf="The number of attachments uploaded must be between {min} and {max}",Df="Please re-select the optional quantity",Pf="The maximum length of the control must be greater than the minimum length",xf="The minimum length of the control must be less than the maximum length",Ff="Please select the correct option setting",kf="Option ID cannot be repeated",Of="Please enter at least one option",Mf="Please bind the data source",$f="Please bind the stored value",Lf="Please bind the service",Nf="At least one display value must be bound",Vf="Please select a province",Hf="Please select a city",jf="Please select a district",qf="The minimum number of lines to fill in cannot be less than 0",Uf="The number of rows cannot be less than {min} rows",Wf="Please enter the column width",Kf="Please set the logical relationship of all rule conditions",zf="Please complete all rules and conditions",Gf="please select control",Qf="Please select the dashboard",Xf="View name cannot be empty",Jf="Please select recognition type",Zf="Please select at least one field to fill in",Yf="Please select at least one",pf="Please enter the button title",eh="Please bind the business model in the data settings",th="Please bind storage values in data settings",nh="Please bind the service in the data settings",ih="Please bind at least one display value in the data settings",uh="Please select the root node in the data settings",ah="Please enter the maximum height",rh="The input content cannot be empty",lh="Watermark cannot be empty",oh="File name cannot be empty",ch="Please upload at least one printing template!\uFF01",sh="Please select a specific business department",dh="Please select a specified external organization",fh="Please enter a sub table alias",hh="Please select the associated table to set the business model",yh="Please select the association table to set the binding service",mh="Select associated sub table fields",vh="Please select the associated main table field",gh="Please select the sort field",bh={isNotNumber:ef,isNotString:tf,isNotObject:nf,isNotArray:uf,isNotBoolean:af,runtimeRequired:rf,pleaseEnterCaption:lf,pleaseEnterCaptionTip:of,pleaseEnterRowCaption:cf,pleaseEnterPlaceholder:sf,pleaseEnterFieldCode:df,pleaseEnterForm:ff,pleaseEnterList:hf,pleaseEnterProcess:yf,pleaseEnterLabel:mf,pleaseEnterValue:vf,bizKeyNotBindFiled:gf,pleaseSelectOneField:bf,pleaseEnterNumberRange:_f,pleaseEnterAValueGreaterThanMin:wf,pleaseEnterAValueLessThanMax:Cf,numberRangeSetError:Ef,stringRangeError:If,attachmentMaxSize:Sf,pleaseEnterTotalScoreSetting:Af,theTotalScoreMustNotBeLessThan1:Tf,scoreDefaultValueRange:Rf,attachmentLimitError:Bf,PleaseReselectTheOptionalQuantity:Df,TheMaximumLengthIsGreaterThanTheMinimumLength:Pf,TheMinimumLengthIsGreaterThanTheMaximumLength:xf,PleaseSelectTheCorrectOptionSettings:Ff,optionIdIsRepeat:kf,optionIsRequired:Of,pleaseEnterDataCode:Mf,pleaseEnterValueFieldCode:$f,pleaseEnterSvcCode:Lf,pleaseBindAtLeastOneDisplayValue:Nf,pleaseSelectProvince:Vf,pleaseSelectCity:Hf,pleaseSelectDistrict:jf,limitRowsCannotBeLessThan0:qf,TheNumberOfRowsCannotBeLessThanMinRows:Uf,pleaseEnterColumnWidth:Wf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Kf,pleaseCompleteAllRulesAndConditions:zf,pleaseSelectControl:Gf,pleaseSelectDashboard:Qf,theViewNameCannotBeEmpty:Xf,pleaseSelectOcrType:Jf,pleaseSelectAtLeastOneFieldToFillIn:Zf,pleaseChooseAtLeastOne:Yf,pleaseEnterButtonContent:pf,pleaseEnterDataCodeInDataSetting:eh,pleaseEnterValueFieldCodeInDataSetting:th,pleaseEnterSvcCodeInDataSetting:nh,pleaseBindAtLeastOneDisplayValueInDataSetting:ih,rootNodeIsRequiredInDataSetting:uh,pleaseEnterMaxHeight:ah,pleaseEnter:rh,pleaseEnterWatermark:lh,pleaseEnterFileName:oh,pleaseUploadAtLeastOnePrintTemplate:ch,pleaseAssignBusiness:sh,pleaseAssignExternal:dh,pleaseEnterAliasCode:fh,pleaseSelectDataCode:hh,pleaseSelectSvcCode:yh,pleaseSelectJoinFieldCode:mh,pleaseSelectMainFieldCode:vh,pleaseSelectSortFieldCode:gh},_h="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ch="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ih="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sh="{caption}\u5FC5\u9808",Ah="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Th="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Bh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ph="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Oh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$h="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Nh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",jh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Uh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Wh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Kh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",zh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Gh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qh="\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",Xh="\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",Jh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Yh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ph="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ey="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ty="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ny="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",iy="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",uy="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ay="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ry="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ly="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",oy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cy="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",sy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",dy="please select control",fy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",hy="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",yy="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",my="\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",vy="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gy="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",by="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",_y="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",wy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Cy="\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",Ey="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Iy="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ay="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ty="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ry="\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",By="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Dy="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\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",ky="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Oy="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",My="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$y={isNotNumber:_h,isNotString:wh,isNotObject:Ch,isNotArray:Eh,isNotBoolean:Ih,runtimeRequired:Sh,pleaseEnterCaption:Ah,pleaseEnterCaptionTip:Th,pleaseEnterRowCaption:Rh,pleaseEnterPlaceholder:Bh,pleaseEnterFieldCode:Dh,pleaseEnterForm:Ph,pleaseEnterList:xh,pleaseEnterProcess:Fh,pleaseEnterLabel:kh,pleaseEnterValue:Oh,bizKeyNotBindFiled:Mh,pleaseSelectOneField:$h,pleaseEnterNumberRange:Lh,pleaseEnterAValueGreaterThanMin:Nh,pleaseEnterAValueLessThanMax:Vh,numberRangeSetError:Hh,stringRangeError:jh,attachmentMaxSize:qh,pleaseEnterTotalScoreSetting:Uh,theTotalScoreMustNotBeLessThan1:Wh,scoreDefaultValueRange:Kh,attachmentLimitError:zh,PleaseReselectTheOptionalQuantity:Gh,TheMaximumLengthIsGreaterThanTheMinimumLength:Qh,TheMinimumLengthIsGreaterThanTheMaximumLength:Xh,PleaseSelectTheCorrectOptionSettings:Jh,optionIdIsRepeat:Zh,optionIsRequired:Yh,pleaseEnterDataCode:ph,pleaseEnterValueFieldCode:ey,pleaseEnterSvcCode:ty,pleaseBindAtLeastOneDisplayValue:ny,pleaseSelectProvince:iy,pleaseSelectCity:uy,pleaseSelectDistrict:ay,limitRowsCannotBeLessThan0:ry,TheNumberOfRowsCannotBeLessThanMinRows:ly,pleaseEnterColumnWidth:oy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:cy,pleaseCompleteAllRulesAndConditions:sy,pleaseSelectControl:dy,pleaseSelectDashboard:fy,theViewNameCannotBeEmpty:hy,pleaseSelectOcrType:yy,pleaseSelectAtLeastOneFieldToFillIn:my,pleaseChooseAtLeastOne:vy,pleaseEnterButtonContent:gy,pleaseEnterDataCodeInDataSetting:by,pleaseEnterValueFieldCodeInDataSetting:_y,pleaseEnterSvcCodeInDataSetting:wy,pleaseBindAtLeastOneDisplayValueInDataSetting:Cy,rootNodeIsRequiredInDataSetting:Ey,pleaseEnterMaxHeight:Iy,pleaseEnter:Sy,pleaseEnterWatermark:Ay,pleaseEnterFileName:Ty,pleaseUploadAtLeastOnePrintTemplate:Ry,pleaseAssignBusiness:By,pleaseAssignExternal:Dy,pleaseEnterAliasCode:Py,pleaseSelectDataCode:xy,pleaseSelectSvcCode:Fy,pleaseSelectJoinFieldCode:ky,pleaseSelectMainFieldCode:Oy,pleaseSelectSortFieldCode:My},Ly={zhCN:pd,enUS:bh,jaJP:$y},Nr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Nr||(Nr={}));var Vr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Vr||(Vr={}));var Ny="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var st;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(st||(st={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.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.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"})(S||(S={}));var Hr;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Hr||(Hr={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(b||(b={}));var ne;ne={},re(ne,"array","array-column"),re(ne,"auto_number","auto-number-column"),re(ne,"decimal","decimal-column"),re(ne,"department","department-column"),re(ne,"file","file-column"),re(ne,"image","image-column"),re(ne,"location","location-column"),re(ne,"people","employee-column"),re(ne,"text","text-column"),re(ne,"timescope","timescope-column"),re(ne,"timestamp","timestamp-column"),re(ne,"varchar","varchar-column"),re(ne,"relation","varchar-column");var Be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Be||(Be={}));var jr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Vy=jr+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?jr:Vy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function _u(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 Hy(t){if(Array.isArray(t))return _u(t)}function jy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return Kr()?Mn=Reflect.construct:Mn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Pt(o,r.prototype),o},Mn.apply(null,arguments)}function Dt(t){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dt(t)}function Ur(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 qy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wy(){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 Ky(t,e){return e&&(zy(e)==="object"||typeof e=="function")?e:jy(t)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pt(t,e)}function Wr(t){return Hy(t)||Uy(t)||Gy(t)||Wy()}function zy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gy(t,e){if(!!t){if(typeof t=="string")return _u(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 _u(t,e)}}function wu(t){var e=typeof Map=="function"?new Map:void 0;return wu=function(i){if(i===null||!qy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Mn(i,arguments,Dt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Pt(u,i)},wu(t)}function Kr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zr(t){var e=Kr();return function(){var i=Dt(t),u;if(e){var a=Dt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ky(this,u)}}var Cu=console;function Eu(){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=Cu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Wr(u)))}function Gr(){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=Cu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Wr(u)))}function Qy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Iu=function(t){Ur(n,t);var e=zr(n);function n(i){qr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Qy(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(wu(Error)),Xy=function(t){Ur(n,t);var e=zr(n);function n(i){qr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Iu);function xt(t){throw new Iu(t)}function Qr(t){throw new Xy(t)}function Jy(t){Cu.error(new Iu(t))}var Zy=Object.prototype.toString;function Xr(t,e){return Zy.call(t)==="[object "+e+"]"}function Yy(t){return Xr(t,"String")}function py(t){return Xr(t,"Promise")}var em=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();py(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!Yy(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function tm(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 nm(t,e,n){return e&&Jr(t.prototype,e),n&&Jr(t,n),t}function im(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){tm(this,t)}return nm(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]:Ny;return new em({locale:n,messages:Ly})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();im(f,"$i18n",f.resetI18n());function um(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Eu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var am=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},rm={exports:{}};(function(t){(function(e){var n=function(v,C,T){if(!o(C)||m(C)||g(C)||w(C)||c(C))return C;var B,F=0,se=0;if(d(C))for(B=[],se=C.length;F<se;F++)B.push(n(v,C[F],T));else{B={};for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&(B[v(k,T)]=n(v,C[k],T))}return B},i=function(v,C){C=C||{};var T=C.separator||"_",B=C.split||/(?=[A-Z])/;return v.split(B).join(T)},u=function(v){return E(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(C,T){return T?T.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var C=u(v);return C.substr(0,1).toUpperCase()+C.substr(1)},r=function(v,C){return i(v,C).toLowerCase()},l=Object.prototype.toString,c=function(v){return typeof v=="function"},o=function(v){return v===Object(v)},d=function(v){return l.call(v)=="[object Array]"},m=function(v){return l.call(v)=="[object Date]"},g=function(v){return l.call(v)=="[object RegExp]"},w=function(v){return l.call(v)=="[object Boolean]"},E=function(v){return v=v-0,v===v},_=function(v,C){var T=C&&"process"in C?C.process:C;return typeof T!="function"?v:function(B,F){return T(B,v,F)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(v,C){return n(_(u,C),v)},decamelizeKeys:function(v,C){return n(_(r,C),v,C)},pascalizeKeys:function(v,C){return n(_(a,C),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(am)})(rm);var Zr={};Object.defineProperty(Zr,"__esModule",{value:!0});function Su(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Su(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Su(i)}return e}}var lm=Zr.default=Su;function De(t){if(t!==void 0)return typeof t=="object"?lm(t):t}function om(t){return Object.prototype.toString.call(t)==="[object Object]"}function Au(t){return Array.isArray(t)}function cm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function sm(t){if(Array.isArray(t))return Tu(t)}function Yr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function dm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Yr(a,i,u,r,l,"next",c)}function l(c){Yr(a,i,u,r,l,"throw",c)}r(void 0)})}}function fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function hm(t,e,n){return e&&pr(t.prototype,e),n&&pr(t,n),t}function el(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ym(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function mm(){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 Ru(t){return sm(t)||ym(t)||vm(t)||mm()}function vm(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function gm(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var bm=function(){function t(){fm(this,t),el(this,"_events",new Map),el(this,"debug",!1)}return hm(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];var r=this;return dm(function(){var l,c,o,d,m,g,w,E,_,I,v,C;return gm(this,function(T){switch(T.label){case 0:if(l=r._events.get(n),c=[],!l)return[3,10];o=l.slice(),d=!0,m=!1,g=void 0,T.label=1;case 1:T.trys.push([1,8,9,10]),w=o[Symbol.iterator](),T.label=2;case 2:if(d=(E=w.next()).done)return[3,7];if(_=E.value,!l.includes(_))return[3,6];T.label=3;case 3:return T.trys.push([3,5,,6]),r.debug&&Gr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Ru(u))),[4,_.apply(null,Ru(u))];case 4:return I=T.sent(),r.debug&&Gr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ru(u),[I])),c.push(I),I===!1?[3,7]:[3,6];case 5:return v=T.sent(),Jy(String(v)+":"+String(v.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return C=T.sent(),m=!0,g=C,[3,10];case 9:try{!d&&w.return!=null&&w.return()}finally{if(m)throw g}return[7];case 10:return[2,c]}})})()}},{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 _m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tl(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 wm(t,e,n){return e&&tl(t.prototype,e),n&&tl(t,n),t}function Cm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Em=[{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"}],Im=function(){function t(){_m(this,t)}return wm(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(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();Cm(Im,"events",Em);function Bu(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 Sm(t){if(Array.isArray(t))return Bu(t)}function Am(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Tm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nl(t){return Sm(t)||Am(t)||Rm(t)||Tm()}function Rm(t,e){if(!!t){if(typeof t=="string")return Bu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bu(t,e)}}function Du(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function il(t,e,n){n==="Designer"&&(t.parent=e,Du(t,"parent"))}function Bm(t,e,n){t.forEach(function(i){il(i,e,n)})}var ul=Symbol("targetKey");function al(t){var e;return(e=t[ul])!==null&&e!==void 0?e:t}function rl(t,e,n){return Bm(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),c=2;c<r;c++)l[c-2]=arguments[c];var o;return a===ul?u:(o=Reflect).get.apply(o,[u,a].concat(nl(l)))},set:function(u,a,r){for(var l=arguments.length,c=new Array(l>3?l-3:0),o=3;o<l;o++)c[o-3]=arguments[o];var d;if(Au(t)&&a==="length"&&r===t.length)return!0;var m=(d=Reflect).set.apply(d,[u,a,r].concat(nl(c)));return om(r)&&il(r,e,n),m}})}function ve(t,e,n,i,u){var a=i!=null?i:t,r=rl(al(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(c){r=rl(al(c),a,u)},enumerable:!0})}function Dm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ll(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Pm(t,e,n){return e&&ll(t.prototype,e),n&&ll(t,n),t}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ol=[],$n=function(){function t(e){Dm(this,t),Pe(this,"registeredControlTypes",new Set),Pe(this,"controlConfigMap",new Map),Pe(this,"_controls",[]),Pe(this,"_type",void 0),this._type=e,this._initControls(e)}return Pm(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__||xt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Eu("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===st.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===st.FORM}},{key:"isListControl",value:function(n){return n.controlType===st.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===st.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)})),a.footers&&(a.footers=a.footers.map(function(d){var m;return d&&(m=u.createControl(d,i)),m}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var c=i(l);c&&(l=c)}var o;return r.mode==="Runtime"?(o=l,o.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(o,this)):o=new r(l),o}else xt("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}}),Du(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var c=r[a],o=l[a];if(!(!c&&!o)){var d=o.findIndex(function(w){return w==n}),m=l[c]||[],g;return m.length!==o.length?g=m[0]:g=m[d],g}}}}),Du(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 r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&xt("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(c){return c.Designer.controlType===u.controlType});return l>-1&&(Eu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Pe($n,"staticControlsRuntimeRules",new Map),Pe($n,"staticControls",ol),Pe($n,"staticRegisteredTypes",new Set(ol.map(function(t){return t.Designer.controlType}))),Pe($n,"staticRegisteredConfigs",new Map);function O(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function he(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 xm(t,e){return e&&(Fm(e)==="object"||typeof e=="function")?e:O(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pu(t,e)}function Fm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function km(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ye(t){var e=km();return function(){var i=Ln(t),u;if(e){var a=Ln(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xm(this,u)}}var ge=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(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},cl=function t(e){A(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(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},xu=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"width",void 0),h(O(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(cl),Om=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new xu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new xu(e==null?void 0:e.mobile):new xu({width:130,minWidth:180})},Mm=function t(e){A(this,t),h(this,"type",void 0),h(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:[]},dt=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(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:""},$m=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(dt),sl=function t(e){A(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Fu=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(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(r){return new sl(r)}))!==null&&a!==void 0?a:[]},Lm=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(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},Nm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"title",void 0),h(O(u),"svcCode",void 0),h(O(u),"isOpenFilter",void 0),h(O(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(dt),Vm=function t(e){A(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new dt(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Lm(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new Nm(r)}))!==null&&a!==void 0?a:[]},Hm=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(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},Ft=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(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:[]},ku=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,m=new Nn(l);(d=n.children)===null||d===void 0||d.push(m)}}))},Nn=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Hm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ft(e==null?void 0:e.rightVariableBo)},jm=function t(e){A(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ae=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(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:""},Ou=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(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},qm=function t(e){A(this,t),h(this,"columnName",void 0),h(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 Mu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new ku(l):new Nn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new ku(l):new Nn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new qm(l)}))!==null&&r!==void 0?r:[]}var p=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(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 r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var m;(m=n.displayBoList)===null||m===void 0||m.push(new Ou(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Mu.call(this,e)},$u=function t(e){A(this,t),h(this,"dataCode",void 0),h(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:[]},Ce=function t(e){A(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(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 r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},dl=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(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(r){return new Ou(r)}))!==null&&a!==void 0?a:[]},Vn=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new dl(l)}))!==null&&r!==void 0?r:[],u}return n}(p),Um=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0),h(O(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new dl(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(p),fl=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"rootNode",void 0),h(O(u),"filterCode",void 0),u.rootNode=new Ft(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(Vn),hl=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(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(r){return new ae(r)}))!==null&&a!==void 0?a:[]},yl=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(O(u),"filters",void 0),h(O(u),"viewFilters",void 0),h(O(u),"orders",void 0),Mu.call(O(u),i),u}return n}(hl),ml=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"mode",void 0),h(O(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(hl),vl=function t(e){A(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(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:""},Wm=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(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 Ee(t){var e;return(e=t==null?void 0:t.map(function(n){return new Wm(n)}))!==null&&e!==void 0?e:[]}var Lu=function t(){A(this,t)},Km=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"amount",void 0),h(O(u),"currency",void 0),u.amount=new ge(i==null?void 0:i.amount),u.currency=new ge(i==null?void 0:i.currency),u}return n}(Lu),zm=function t(e){A(this,t),h(this,"amount",void 0),h(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"},Gm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"min",void 0),h(O(u),"max",void 0),u.min=new ge(i==null?void 0:i.min),u.max=new ge(i==null?void 0:i.max),u}return n}(Lu),Qm=function t(e){A(this,t),h(this,"min",void 0),h(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:""},Xm=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(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 r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Jm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"result",void 0),h(O(u),"unit",void 0),u.result=new ge(i==null?void 0:i.result),u.unit=new ge(i==null?void 0:i.unit),u}return n}(Lu),Zm=function t(e){A(this,t),h(this,"result",void 0),h(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:""},Nu;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Nu||(Nu={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.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"})(s||(s={}));var Vu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vu||(Vu={}));var xe=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(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 r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},Ym=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new sl(r)}))!==null&&a!==void 0?a:[],Mu.call(this,e)},pm=function t(e){A(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(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"},ev=function t(e){A(this,t),h(this,"optCode",void 0),h(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:""},tv=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"name",void 0),h(this,"color",void 0),h(this,"filters",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe();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 r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new ku(l):new Nn(l)}))!==null&&r!==void 0?r:[]},nv=function t(e){A(this,t),h(this,"id",void 0),h(this,"script",void 0),h(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:fe();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 iv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t,e,n){return gl()?Hn=Reflect.construct:Hn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Ot(o,r.prototype),o},Hn.apply(null,arguments)}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function uv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ot(t,e)}function av(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function rv(t,e){return e&&(lv(e)==="object"||typeof e=="function")?e:iv(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function lv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!av(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 Hn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},ju(t)}function gl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ov(t){var e=gl();return function(){var i=kt(t),u;if(e){var a=kt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return rv(this,u)}}var z=function t(e){Hu(this,t),Fe(this,"isHide",{type:"boolean"})},Ue=function(t){uv(n,t);var e=ov(n);function n(i){return Hu(this,n),e.call(this)}return n}(ju(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),Fe(this,"isHide",void 0),Fe(this,"className",void 0),Fe(this,"style",void 0),Fe(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new pm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Fe(G,"mode",void 0),Fe(G,"Rules",z),Fe(G,"RuntimeRules",Ue);function be(){return be=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},be.apply(this,arguments)}function cv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function qu(t){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(t)}function jn(t,e){return jn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jn(t,e)}function sv(){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 qn(t,e,n){return sv()?qn=Reflect.construct:qn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&jn(o,r.prototype),o},qn.apply(null,arguments)}function dv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!dv(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 qn(i,arguments,qu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),jn(u,i)},Uu(t)}var fv=/%[sdj%]/g,bl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(bl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Wu(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 le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(fv,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function hv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Q(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||hv(e)&&typeof t=="string"&&!t)}function yv(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function _l(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function mv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var wl=function(t){cv(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}(Uu(Error));function vv(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var w=function(I){return i(I),I.length?g(new wl(I,Wu(I))):m()},E=mv(t);_l(E,n,w)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(m,g){var w=function(_){if(o.push.apply(o,_),c++,c===l)return i(o),o.length?g(new wl(o,Wu(o))):m()};r.length||(i(o),m()),r.forEach(function(E){var _=t[E];a.indexOf(E)!==-1?_l(_,n,w):yv(_,n,w)})});return d.catch(function(m){return m}),d}function Cl(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function El(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=be(be({},t[n]),i):t[n]=i}}return t}function Il(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||Q(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function gv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var Ku={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},Mt={integer:function(e){return Mt.number(e)&&parseInt(e,10)===e},float:function(e){return Mt.number(e)&&!Mt.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"&&!Mt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function bv(t,e,n,i,u){if(t.required&&e===void 0){Il(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Mt[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function _v(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,m=typeof e=="number",g=typeof e=="string",w=Array.isArray(e);if(m?d="number":g?d="string":w&&(d="array"),!d)return!1;w&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var ft="enum";function wv(t,e,n,i,u){t[ft]=Array.isArray(t[ft])?t[ft]:[],t[ft].indexOf(e)===-1&&i.push(le(u.messages[ft],t.fullField,t[ft].join(", ")))}function Cv(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(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(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var R={required:Il,whitespace:gv,type:bv,range:_v,enum:wv,pattern:Cv};function Ev(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"string")&&!t.required)return n();R.required(t,e,i,a,u,"string"),Q(e,"string")||(R.type(t,e,i,a,u),R.range(t,e,i,a,u),R.pattern(t,e,i,a,u),t.whitespace===!0&&R.whitespace(t,e,i,a,u))}n(a)}function Iv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}function Sv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function Av(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}function Tv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),Q(e)||R.type(t,e,i,a,u)}n(a)}function Rv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function Bv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function Dv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();R.required(t,e,i,a,u,"array"),e!=null&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function Pv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}var xv="enum";function Fv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R[xv](t,e,i,a,u)}n(a)}function kv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"string")&&!t.required)return n();R.required(t,e,i,a,u),Q(e,"string")||R.pattern(t,e,i,a,u)}n(a)}function Ov(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"date")&&!t.required)return n();if(R.required(t,e,i,a,u),!Q(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),R.type(t,l,i,a,u),l&&R.range(t,l.getTime(),i,a,u)}}n(a)}function Mv(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;R.required(t,e,i,a,u,r),n(a)}function zu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Q(e,a)&&!t.required)return n();R.required(t,e,i,r,u,a),Q(e,a)||R.type(t,e,i,r,u)}n(r)}function $v(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();R.required(t,e,i,a,u)}n(a)}var $t={string:Ev,method:Iv,number:Sv,boolean:Av,regexp:Tv,integer:Rv,float:Bv,array:Dv,object:Pv,enum:Fv,pattern:kv,date:Ov,url:zu,hex:zu,email:zu,required:Mv,any:$v};function Gu(){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 Qu=Gu();function ke(t){this.rules=null,this._messages=Qu,this.define(t)}ke.prototype={messages:function(e){return e&&(this._messages=El(Gu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(_){var I,v=[],C={};function T(B){if(Array.isArray(B)){var F;v=(F=v).concat.apply(F,B)}else v.push(B)}for(I=0;I<_.length;I++)T(_[I]);v.length?C=Wu(v):(v=null,C=null),l(v,C)}if(r.messages){var o=this.messages();o===Qu&&(o=Gu()),El(o,r.messages),r.messages=o}else r.messages=this.messages();var d,m,g={},w=r.keys||Object.keys(this.rules);w.forEach(function(_){d=u.rules[_],m=a[_],d.forEach(function(I){var v=I;typeof v.transform=="function"&&(a===e&&(a=be({},a)),m=a[_]=v.transform(m)),typeof v=="function"?v={validator:v}:v=be({},v),v.validator=u.getValidationMethod(v),v.field=_,v.fullField=v.fullField||_,v.type=u.getType(v),v.validator&&(g[_]=g[_]||[],g[_].push({rule:v,value:m,source:a,field:_}))})});var E={};return vv(g,r,function(_,I){var v=_.rule,C=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");C=C&&(v.required||!v.required&&_.value),v.field=_.field;function T(se,k){return be(be({},k),{},{fullField:v.fullField+"."+se})}function B(se){se===void 0&&(se=[]);var k=se;if(Array.isArray(k)||(k=[k]),!r.suppressWarning&&k.length&&ke.warning("async-validator:",k),k.length&&v.message!==void 0&&(k=[].concat(v.message)),k=k.map(Cl(v)),r.first&&k.length)return E[v.field]=1,I(k);if(!C)I(k);else{if(v.required&&!_.value)return v.message!==void 0?k=[].concat(v.message).map(Cl(v)):r.error&&(k=[r.error(v,le(r.messages.required,v.field))]),I(k);var de={};if(v.defaultField)for(var xn in _.value)_.value.hasOwnProperty(xn)&&(de[xn]=v.defaultField);de=be(be({},de),_.rule.fields);for(var Ae in de)if(de.hasOwnProperty(Ae)){var mu=Array.isArray(de[Ae])?de[Ae]:[de[Ae]];de[Ae]=mu.map(T.bind(null,Ae))}var Fn=new ke(de);Fn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Fn.validate(_.value,_.rule.options||r,function(Tt){var Te=[];k&&k.length&&Te.push.apply(Te,k),Tt&&Tt.length&&Te.push.apply(Te,Tt),I(Te.length?Te:null)})}}var F;v.asyncValidator?F=v.asyncValidator(v,_.value,B,_.source,r):v.validator&&(F=v.validator(v,_.value,B,_.source,r),F===!0?B():F===!1?B(v.message||v.field+" fails"):F instanceof Array?B(F):F instanceof Error&&B(F.message)),F&&F.then&&F.then(function(){return B()},function(se){return B(se)})},function(_){c(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!$t.hasOwnProperty(e.type))throw new Error(le("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"?$t.required:$t[this.getType(e)]||!1}},ke.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");$t[e]=n},ke.warning=bl,ke.messages=Qu,ke.validators=$t;var Lv={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 Nv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ke(t);return n.messages(Object.assign(Lv,e)),n}var Vv=new bm;function Xu(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 Hv(t){if(Array.isArray(t))return t}function jv(t){if(Array.isArray(t))return Xu(t)}function Sl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Al(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Sl(a,i,u,r,l,"next",c)}function l(c){Sl(a,i,u,r,l,"throw",c)}r(void 0)})}}function qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tl(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 Uv(t,e,n){return e&&Tl(t.prototype,e),n&&Tl(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Bl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wv(){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 Kv(){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 Dl(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){M(t,u,n[u])})}return t}function zv(t){return Hv(t)||Bl(t)||Pl(t)||Wv()}function Ju(t){return jv(t)||Bl(t)||Pl(t)||Kv()}function Pl(t,e){if(!!t){if(typeof t=="string")return Xu(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 Xu(t,e)}}function xl(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var $=function(){function e(n){var i=this;qv(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",kl),M(this,"removeSetting",Fl),this._callControlHooks("preInstance",n);var u=Rl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,c=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,m=u.name,g=u.setting;a&&r&&l||Qr("The ".concat(m," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:fe(10),this.name=a,this.icon=r;var E;this.type=(E=n==null?void 0:n.type)!==null&&E!==void 0?E:l,this.props=new G(n==null?void 0:n.props,(Rl(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=De(g);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:c,this.eventKeys=De(o),this.customEvents=De(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Uv(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 r,l=zv(u),c=l[0],o=l.slice(1);return(r=Vv).emit.apply(r,[c,this].concat(Ju(o)))}},{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),um(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Al(function(){var u,a,r;return xl(this,function(l){switch(l.label){case 0:return u=Dl({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return Al(function(){var r,l,c,o;return xl(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:Dl({},a.rules),Array.isArray(u)&&u.forEach(function(m){l.hasOwnProperty(m)&&delete l[m]}),c=Nv(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,c.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,c=l.dataBind,o=l.datasourceBind,d=l.optionConfig,m=l.caption,g=l.required,w=l.maxLength,E=l.options,_=l.encrypted,I=l.encryptedMode;if(!(!u&&!c&&!o)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(c&&(v.dataBind=c),d){case"datasource":case void 0:o&&(v.datasourceBind=o);break;case"custom":v.props.options=E;break}return g!==void 0&&(v.required=g),w!==void 0&&(v.maxLength=w),_!==void 0&&(v.encrypted=_),I!==void 0&&(v.encryptedMode=I),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:De(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,Ju(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M($,"mode","Designer"),M($,"controlName","\u63A7\u4EF6"),M($,"controlIcon","icon"),M($,"controlType","control"),M($,"controlFieldType",void 0),M($,"controlEventKeys",[]),M($,"controlCustomEvents",[]),M($,"setting",[]),M($,"__is_control__",!0),M($,"removeSettingItem",Fl),M($,"updateSettingItem",kl);function Fl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,c;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((c=e.setting[r].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(r,1)}})}function kl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Ju(e.showItems))}}}})}function Gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ol(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 Qv(t,e,n){return e&&Ol(t.prototype,e),n&&Ol(t,n),t}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Gv(this,e),oe(this,"id",void 0),oe(this,"type",void 0),oe(this,"controlType",void 0),oe(this,"props",void 0),oe(this,"fieldType",void 0),oe(this,"customEvents",[]),oe(this,"pageStatus",void 0),oe(this,"parent",null);var i=Xv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Qr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:fe(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vu.UNKNOWN}return Qv(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}();oe(X,"mode","Runtime"),oe(X,"controlType","control"),oe(X,"controlFieldType",void 0),oe(X,"__is_control__",!0),oe(X,"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:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=cm(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function Un(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function Jv(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(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 zn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yu(t,e)}function Zv(t,e){return e&&(Yv(e)==="object"||typeof e=="function")?e:L(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}function Yv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gn(t){var e=pv();return function(){var i=Kn(t),u;if(e){var a=Kn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Zv(this,u)}}var ee=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;u=e.call(this,i),N(L(u),"dataBind",{}),N(L(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),N(L(u),"isHideCaption",{type:"boolean"}),N(L(u),"labelPosition",{type:"enum",enum:["top","left"]}),N(L(u),"defaultState",{type:"enum",enum:["default","readonly"]}),N(L(u),"required",{type:"boolean"}),N(L(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Jv(i.dataBind))u.dataBind={type:"object",required:!0,fields:De(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:De(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(z),V=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;u=e.call(this,i);var a=i.isHide?!1:i.required;return a&&u.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ue),D=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;u=e.call(this,i),N(L(u),"caption",void 0),N(L(u),"isHideCaption",void 0),N(L(u),"isShowCaptionTip",void 0),N(L(u),"captionTip",void 0),N(L(u),"labelPosition",void 0),N(L(u),"dataBind",void 0),N(L(u),"defaultValue",void 0),N(L(u),"placeholder",void 0),N(L(u),"defaultState",void 0),N(L(u),"required",void 0),N(L(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var w;u.requiredMessage=(w=i==null?void 0:i.requiredMessage)!==null&&w!==void 0?w:"",u.dataBind=new ge(i==null?void 0:i.dataBind);var E;return u.defaultValue=(E=i==null?void 0:i.defaultValue)!==null&&E!==void 0?E:"",u}return n}(G);N(D,"Rules",ee),N(D,"RuntimeRules",V);var ht=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;return u=e.call(this,i),N(L(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),N(L(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),N(L(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Zu.call(L(u),i),u}return n}(ee);function pu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(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 tg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function ng(t,e){return e&&(ig(e)==="object"||typeof e=="function")?e:pu(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function ig(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ug(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ag(t){var e=ug();return function(){var i=Xn(t),u;if(e){var a=Xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ng(this,u)}}var P=function(t){tg(n,t);var e=ag(n);function n(i){eg(this,n);var u;return u=e.call(this,i),Qn(pu(u),"controlType","form"),Qn(pu(u),"props",void 0),u.props=new D(i==null?void 0:i.props),u}return n}($);Qn(P,"controlEventKeys",["on_change","on_focus","on_blur"]),Qn(P,"controlCustomAttributes",void 0);function Jn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(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 lg(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 og(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:Jn(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function cg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function dg(t){var e=sg();return function(){var i=Zn(t),u;if(e){var a=Zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return og(this,u)}}var x=function(t){lg(n,t);var e=dg(n);function n(i){rg(this,n);var u;return u=e.call(this,i),ta(Jn(u),"controlType","form"),ta(Jn(u),"props",void 0),ta(Jn(u),"value",void 0),u.props=new D(i==null?void 0:i.props),u}return n}(X);function fg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function yg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function mg(t,e){return e&&(vg(e)==="object"||typeof e=="function")?e:fg(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function vg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function bg(t){var e=gg();return function(){var i=Yn(t),u;if(e){var a=Yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mg(this,u)}}var H=function(t){yg(n,t);var e=bg(n);function n(i){return hg(this,n),e.call(this,i)}return n}(G);function ua(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 _g(t){if(Array.isArray(t))return ua(t)}function We(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ml(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function wg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Ml(a,i,u,r,l,"next",c)}function l(c){Ml(a,i,u,r,l,"throw",c)}r(void 0)})}}function Cg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Eg(t,e,n){return e&&$l(t.prototype,e),n&&$l(t,n),t}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(u,a,r){var l=xg(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},yt(t,e,n||t)}function Me(t){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Me(t)}function Ig(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function Sg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ag(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Tg(){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 Rg(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){Oe(t,u,n[u])})}return t}function Bg(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 Dg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Bg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Pg(t,e){return e&&(Fg(e)==="object"||typeof e=="function")?e:We(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function xg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Me(t),t!==null););return t}function Ll(t){return _g(t)||Ag(t)||kg(t)||Tg()}function Fg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kg(t,e){if(!!t){if(typeof t=="string")return ua(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 ua(t,e)}}function Og(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Mg(t){var e=Og();return function(){var i=Me(t),u;if(e){var a=Me(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Pg(this,u)}}function $g(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Lg=1e4,q=function(e){Ig(i,e);var n=Mg(i);function i(u){Cg(this,i);var a;a=n.call(this,u),Oe(We(a),"controlType","layout"),Oe(We(a),"children",void 0),Oe(We(a),"excludes",void 0),Oe(We(a),"childrenMaxLength",void 0),Oe(We(a),"props",void 0);var r=Sg(this,i)?this.constructor:void 0,l=r.excludes,c=r.childrenMaxLength;return a.props=new H(u==null?void 0:u.props),ve(We(a),"children",u==null?void 0:u.children,void 0,"Designer"),a.excludes=De(l),a.childrenMaxLength=c,a}return Eg(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,c=this,o=function(){return yt(Me(i.prototype),"validate",l)};return wg(function(){return $g(this,function(d){switch(d.label){case 0:return[4,o().call(c,a,r)];case 1:return d.sent(),[4,Promise.all(c.children.map(function(m){return m.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=yt(Me(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(c,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var m=d.filter(function(g){return!!g});return Ll(c).concat(Ll(m))}return d&&c.push(d),c},l)}},{key:"toSchema",value:function(){var a=yt(Me(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var c=l.toSchema();return c});return Dg(Rg({},a),{children:r})}}]),i}($);Oe(q,"excludes",!1),Oe(q,"childrenMaxLength",Lg);function Lt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ng(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ra(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function Vg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&la(t,e)}function Hg(t,e){return e&&(jg(e)==="object"||typeof e=="function")?e:Lt(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function jg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ug(t){var e=qg();return function(){var i=pn(t),u;if(e){var a=pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Hg(this,u)}}var U=function(t){Vg(n,t);var e=Ug(n);function n(i){Ng(this,n);var u;return u=e.call(this,i),ra(Lt(u),"controlType","layout"),ra(Lt(u),"children",void 0),ra(Lt(u),"props",void 0),u.props=new H(i==null?void 0:i.props),ve(Lt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(X);function Ie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(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){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function Kg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function zg(t,e){return e&&(Gg(e)==="object"||typeof e=="function")?e:Ie(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function Gg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Xg(t){var e=Qg();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zg(this,u)}}var ti=function(t){Kg(n,t);var e=Xg(n);function n(i,u,a){Wg(this,n);var r;r=e.call(this,u),mt(Ie(r),"headers",void 0),mt(Ie(r),"footers",void 0),mt(Ie(r),"pageIndex",void 0),mt(Ie(r),"pageSize",void 0),mt(Ie(r),"pageSizeOptions",void 0),mt(Ie(r),"totalCount",void 0),ve(Ie(r),"headers",u==null?void 0:u.headers,i,a),ve(Ie(r),"footers",u==null?void 0:u.footers,i);var l;r.pageIndex=(l=u==null?void 0:u.pageIndex)!==null&&l!==void 0?l:1;var c;r.pageSize=(c=u==null?void 0:u.pageSize)!==null&&c!==void 0?c:20;var o;r.pageSizeOptions=(o=u==null?void 0:u.pageSizeOptions)!==null&&o!==void 0?o:[20];var d;return r.totalCount=(d=u==null?void 0:u.totalCount)!==null&&d!==void 0?d:0,r}return n}(G);function ca(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 Jg(t){if(Array.isArray(t))return ca(t)}function ni(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Zg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Nl(a,i,u,r,l,"next",c)}function l(c){Nl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Yg(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 pg(t,e,n){return e&&Vl(t.prototype,e),n&&Vl(t,n),t}function ii(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vt=Reflect.get:vt=function(u,a,r){var l=a0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},vt(t,e,n||t)}function $e(t){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$e(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&&sa(t,e)}function t0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function n0(){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 Hl(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){ii(t,u,n[u])})}return t}function i0(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 jl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function u0(t,e){return e&&(r0(e)==="object"||typeof e=="function")?e:ni(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function a0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=$e(t),t!==null););return t}function ql(t){return Jg(t)||t0(t)||l0(t)||n0()}function r0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function l0(t,e){if(!!t){if(typeof t=="string")return ca(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 ca(t,e)}}function o0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function c0(t){var e=o0();return function(){var i=$e(t),u;if(e){var a=$e(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return u0(this,u)}}function s0(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var da=function(t){e0(n,t);var e=c0(n);function n(i){Yg(this,n);var u;return u=e.call(this,i),ii(ni(u),"controlType","list"),ii(ni(u),"props",void 0),u.props=new ti(ni(u),i==null?void 0:i.props,"Designer"),u}return pg(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return vt($e(n.prototype),"validate",r)};return Zg(function(){return s0(this,function(o){switch(o.label){case 0:return[4,c().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=vt($e(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,c){var o=c.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(m){return!!m});return ql(l).concat(ql(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u,a,r=vt($e(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()}),c=(a=this.props)===null||a===void 0||(u=a.footers)===null||u===void 0?void 0:u.map(function(o){if(o)return o.toSchema()});return jl(Hl({},r),{props:jl(Hl({},this.props),{headers:l,footers:c})})}}]),n}($);ii(da,"controlFieldType",b.LIST);function gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(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 f0(t,e,n){return e&&Ul(t.prototype,e),n&&Ul(t,n),t}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 ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function h0(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 y0(t,e){return e&&(m0(e)==="object"||typeof e=="function")?e:gt(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function m0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function v0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function g0(t){var e=v0();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return y0(this,u)}}var Wl=function(t){h0(n,t);var e=g0(n);function n(i){d0(this,n);var u;return u=e.call(this,i),fa(gt(u),"controlType","list"),fa(gt(u),"children",void 0),fa(gt(u),"props",void 0),u.props=new ti(gt(u),i==null?void 0:i.props,"Runtime"),ve(gt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return f0(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function ma(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&&va(t,e)}function b0(t,e){return e&&(_0(e)==="object"||typeof e=="function")?e:J(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function _0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ga(t){var e=w0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return b0(this,u)}}var _e=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),te(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(z),W=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;u=e.call(this,i),te(J(u),"widthType",void 0),te(J(u),"width",void 0),te(J(u),"caption",void 0),te(J(u),"dataBind",void 0),te(J(u),"autoWidth",void 0),te(J(u),"fixed",void 0),te(J(u),"sort",void 0),te(J(u),"align",void 0),te(J(u),"colSpan",void 0),te(J(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new cl(i==null?void 0:i.autoWidth),u.dataBind=new ge(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);te(W,"Rules",_e);var Kl=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),te(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Zu.call(J(u),i),u}return n}(_e);function ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zl(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 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&&_a(t,e)}function I0(t,e){return e&&(S0(e)==="object"||typeof e=="function")?e:ba(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function S0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function A0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function T0(t){var e=A0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return I0(this,u)}}var Z=function(t){E0(n,t);var e=T0(n);function n(i){C0(this,n);var u;return u=e.call(this,i),zl(ba(u),"controlType","column"),zl(ba(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}($);function wa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(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 B0(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&&Ca(t,e)}function D0(t,e){return e&&(P0(e)==="object"||typeof e=="function")?e:wa(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function P0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function x0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function F0(t){var e=x0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return D0(this,u)}}var Y=function(t){B0(n,t);var e=F0(n);function n(i){R0(this,n);var u;return u=e.call(this,i),Gl(wa(u),"controlType","column"),Gl(wa(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}(X);function Ql(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function M0(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&&Ea(t,e)}function $0(t,e){return e&&(L0(e)==="object"||typeof e=="function")?e:Ql(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function L0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function N0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function V0(t){var e=N0();return function(){var i=oi(t),u;if(e){var a=oi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return $0(this,u)}}var Ia=function(t){M0(n,t);var e=V0(n);function n(i){k0(this,n);var u;return u=e.call(this,i),O0(Ql(u),"dataBind",void 0),u.dataBind=new ge(i==null?void 0:i.dataBind),u}return n}(H);function Sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function j0(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&&Aa(t,e)}function q0(t,e){return e&&(U0(e)==="object"||typeof e=="function")?e:Sa(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function U0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function W0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function K0(t){var e=W0();return function(){var i=ci(t),u;if(e){var a=ci(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return q0(this,u)}}var z0=function(t){j0(n,t);var e=K0(n);function n(i){H0(this,n);var u;return u=e.call(this,i),Xl(Sa(u),"controlType","search"),Xl(Sa(u),"props",void 0),u.props=new Ia(i==null?void 0:i.props),u}return n}(q);function Ta(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function G0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(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&&Ra(t,e)}function X0(t,e){return e&&(J0(e)==="object"||typeof e=="function")?e:Ta(t)}function Ra(t,e){return Ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ra(t,e)}function J0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Z0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Y0(t){var e=Z0();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return X0(this,u)}}var p0=function(t){Q0(n,t);var e=Y0(n);function n(i){G0(this,n);var u;return u=e.call(this,i),Jl(Ta(u),"controlType","search"),Jl(Ta(u),"props",void 0),u.props=new Ia(i==null?void 0:i.props),u}return n}(U);function eb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function nb(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 ib(t,e){return e&&(ub(e)==="object"||typeof e=="function")?e:eb(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function ub(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ab(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rb(t){var e=ab();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ib(this,u)}}var Da=function(t){nb(n,t);var e=rb(n);function n(i){return tb(this,n),e.call(this,i)}return n}(H);function Pa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(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&&xa(t,e)}function cb(t,e){return e&&(sb(e)==="object"||typeof e=="function")?e:Pa(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function sb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function db(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fb(t){var e=db();return function(){var i=fi(t),u;if(e){var a=fi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cb(this,u)}}var hb=function(t){ob(n,t);var e=fb(n);function n(i){lb(this,n);var u;return u=e.call(this,i),Zl(Pa(u),"controlType","wrap"),Zl(Pa(u),"props",void 0),u.props=new Da(i==null?void 0:i.props),u}return n}(q);function Fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(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&&ka(t,e)}function vb(t,e){return e&&(gb(e)==="object"||typeof e=="function")?e:Fa(t)}function ka(t,e){return ka=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ka(t,e)}function gb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _b(t){var e=bb();return function(){var i=hi(t),u;if(e){var a=hi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return vb(this,u)}}var wb=function(t){mb(n,t);var e=_b(n);function n(i){yb(this,n);var u;return u=e.call(this,i),Yl(Fa(u),"controlType","wrap"),Yl(Fa(u),"props",void 0),u.props=new Da(i==null?void 0:i.props),u}return n}(U);function Le(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Oa extends G{constructor(e){var n,i,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57",this.align=(l=e==null?void 0:e.align)!=null?l:""}}class pl extends ${constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}pl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Cb extends X{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"text"}}var eo={Designer:pl,Runtime:Cb,Property:Oa};class Ma extends G{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 $a extends ${constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}$a.controlEventKeys=["on_click"],$a.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Eb extends X{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"link"}}var to={Designer:$a,Runtime:Eb,Property:Ma};class ie extends G{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new ev((d=e==null?void 0:e.optObj)!=null?d:{})}}class ue extends ${constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ce extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var no={Designer:ue,Runtime:ce,Property:ie},Ne=(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))(Ne||{}),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 yi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var La=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(La||{});class mi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Na=(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))(Na||{});class Va{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Ft((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new Ft((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new Ft((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class ao{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Va(c)))!=null?u:[new Va],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Ha{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class ja{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 ro{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 ja(e==null?void 0:e.watermark),this.autoRename=new ja(e==null?void 0:e.autoRename)}}const lo=480;function Nt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class oo{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class 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||{}),qa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(qa||{}),vi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(vi||{}),Ve=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Ve||{}),Ua=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ua||{});class Wa 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:Na.SOLID}}class fo extends ${constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}fo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Ib extends X{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var ho={Designer:fo,Runtime:Ib,Property:Wa};class Sb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Ne.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class gi extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new ge(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ne.ShowSubmitUser,Ne.ShowSubmitDept,Ne.ShowSubmitTime,Ne.ShowCurrentApprovar,Ne.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:bt==null?void 0:bt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}gi.Rules=Sb;class bt extends ${constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}bt.controlFieldType=b.AUTO_NUMBER,bt.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Ab extends X{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"title"}}var yo={Designer:bt,Runtime:Ab,Property:gi};class Tb extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class bi extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Vt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}bi.Rules=Tb;class Vt extends ue{constructor(e){super(e),this.props=new bi(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"}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Rb extends ce{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var mo={Designer:Vt,Runtime:Rb,Property:bi};class Bb extends z{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class _i extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ht.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}_i.Rules=Bb;class Ht extends ue{constructor(e){super(e),this.props=new _i(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"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 Db extends ce{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var vo={Designer:Ht,Runtime:Db,Property:_i};class Ka extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon}}class jt extends ue{constructor(e){super(e),this.props=new Ka(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"}}jt.controlEventKeys=["on_click"],jt.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 Pb extends ce{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var go={Designer:jt,Runtime:Pb,Property:Ka};class za extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:qt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Ha(l)))!=null?r:[new Ha({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class qt extends ue{constructor(e){super(e),this.props=new za(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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 xb extends ce{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var bo={Designer:qt,Runtime:xb,Property:za};class Ga extends ie{constructor(e){var n,i;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}}class Ut extends ue{constructor(e){super(e),this.props=new Ga(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"}}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:"super-setting",visible:!0}];class Fb extends ce{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var _o={Designer:Ut,Runtime:Fb,Property:Ga};class kb{constructor(e){this.dataCode=e.dataCode}}class Qa extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new kb(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Wt extends ue{constructor(e){super(e),this.props=new Qa(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"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class Ob extends ce{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var wo={Designer:Wt,Runtime:Ob,Property:Qa};function wi(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Mb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Re({},wi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Re({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},wi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Ci extends ie{constructor(e){var n,i,u;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,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new yl(e==null?void 0:e.fillPayload),this.formBind=new $m(e==null?void 0:e.formBind),this.fillBack=new ml(e==null?void 0:e.fillBack)}}Ci.Rules=Mb;class Kt extends ue{constructor(e){super(e),this.props=new Ci(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"}}Kt.controlEventKeys=["on_click","on_click_finish"],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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class $b extends ce{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Co={Designer:Kt,Runtime:$b,Property:Ci};class Lb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Re({},wi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Re({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},wi())}}}class Ei extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new yl(e==null?void 0:e.fillPayload),this.listPageBind=new Fu(e==null?void 0:e.listPageBind),this.fillBack=new ml(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig)}}Ei.Rules=Lb;class zt extends ue{constructor(e){super(e),this.props=new Ei(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"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Nb extends ce{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Eo={Designer:zt,Runtime:Nb,Property:Ei};class Vb extends z{constructor(e){super(e)}}class Hb extends Ue{constructor(e){super(e)}}class Gt extends G{constructor(e){super(e)}}Gt.Rules=Vb,Gt.RuntimeRules=Hb;class Io extends ${constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Io.setting=[];class jb extends X{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var So={Designer:Io,Runtime:jb,Property:Gt};class qb extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ii extends G{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Ii.Rules=qb;class Ao extends ${constructor(e){super(e),this.props=new Ii(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:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ub extends X{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var To={Designer:Ao,Runtime:Ub,Property:Ii};class Wb extends z{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Si 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 Ym(a)))!=null?u:[]}}Si.Rules=Wb;class Ro extends ${constructor(e){super(e),this.props=new Si(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"}}Ro.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Kb extends X{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Bo={Designer:Ro,Runtime:Kb,Property:Si};class zb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ai extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_t.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:_t.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:_t.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ae(g)))!=null?m:[]}}Ai.Rules=zb;class _t extends ue{constructor(e){super(e),this.props=new Ai(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"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Gb extends ce{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Do={Designer:_t,Runtime:Gb,Property:Ai};class Qb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ti extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:wt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:wt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ae(g)))!=null?m:[]}}Ti.Rules=Qb;class wt extends ue{constructor(e){super(e),this.props=new Ti(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"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Xb extends ce{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Po={Designer:wt,Runtime:Xb,Property:Ti};class Jb extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ri extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Qt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new oo(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Ri.Rules=Jb;class Qt extends ue{constructor(e){super(e),this.props=new Ri(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"}}Qt.controlEventKeys=["on_click","on_click_finish"],Qt.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 Zb extends ce{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var xo={Designer:Qt,Runtime:Zb,Property:Ri};class Xa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.controlIcon}}class Xt extends ue{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Xt.controlEventKeys=["on_click"],Xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Yb extends ce{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Fo={Designer:Xt,Runtime:Yb,Property:Xa};class pb extends z{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Bi extends G{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Bi.Rules=pb;class Di extends ${constructor(e){super(e),this.props=new Bi(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"}}Di.controlEventKeys=["on_click"],Di.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class e_ extends X{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ko={Designer:Di,Runtime:e_,Property:Bi};class Ja extends G{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Jt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Jt extends ${constructor(e){super(e),this.props=new Ja(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"}}Jt.controlEventKeys=["on_click"],Jt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class t_ extends X{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Oo={Designer:Jt,Runtime:t_,Property:Ja},n_=Object.freeze({__proto__:null,Text:eo,Link:to,Button:no,Divider:ho,Title:yo,CreateFormListButton:mo,BatchSubmissionListButton:vo,SubmissionRecordListButton:go,ExportListButton:bo,ExportRecordListButton:_o,ImportRecordListButton:wo,FormSelectButton:Co,ListSelectButton:Eo,Pagination:So,Dashboard:To,ListViewSelect:Bo,TextOcrButton:Do,InvoiceCheckButton:Po,BatchPrintListButton:xo,BatchPrintRecordListButton:Fo,OperationButton:ko,BatchDeleteButton:Oo});class i_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class u_ extends V{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ct extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new vl(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:Et.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}Ct.Rules=i_,Ct.RuntimeRules=u_;class Et extends P{constructor(e){super(e),this.props=new Ct(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"}}Et.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Et.controlFieldType=b.VARCHAR,Et.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Mo extends x{constructor(e){super(e),this.props=new Ct(e==null?void 0:e.props)}static get controlType(){return"input"}}Mo.controlFieldType=b.VARCHAR;var $o={Designer:Et,Runtime:Mo,Property:Ct};class a_ extends ht{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class r_ extends V{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 Zt extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Yt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(w=e==null?void 0:e.defaultShowOptions)!=null?w:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new ae(_))}))}}Zt.Rules=a_,Zt.RuntimeRules=r_;class Yt extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=b.ARRAY,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Lo extends x{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Lo.controlFieldType=b.ARRAY;var No={Designer:Yt,Runtime:Lo,Property:Zt};class l_ extends ht{constructor(e){super(e)}}class Pi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:pt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",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(w=>{var E;(E=this.multistageFilling)==null||E.push(new ae(w))}))}}Pi.Rules=l_;class pt extends P{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}pt.controlEventKeys=["on_change","on_click"],pt.controlFieldType=b.VARCHAR,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Vo extends x{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Vo.controlFieldType=b.VARCHAR;var Ho={Designer:pt,Runtime:Vo,Property:Pi};class o_ extends ee{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class c_ extends V{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:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class en extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:tn.controlName,this.placeholder=(w=e==null?void 0:e.placeholder)!=null?w:"\u8BF7\u8F93\u5165",this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new vl(e==null?void 0:e.regularRules)}}en.Rules=o_,en.RuntimeRules=c_;class tn extends P{constructor(e){super(e),this.props=new en(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}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=b.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class jo extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"number"}}jo.controlFieldType=b.DECIMAL;var qo={Designer:tn,Runtime:jo,Property:en};class Za extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:xi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(w=>new yi(w)))!=null?d:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class xi extends P{constructor(e){super(e),this.props=new Za(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}}xi.controlFieldType=b.TIMESTAMP,xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Uo extends x{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Uo.controlFieldType=b.TIMESTAMP;var Wo={Designer:xi,Runtime:Uo,Property:Za};class s_ extends V{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 Fi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.dataBind=new Gm(e==null?void 0:e.dataBind),this.defaultValue=new Qm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:ki.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(w=>new yi(w)))!=null?g:[]}}Fi.RuntimeRules=s_;class ki extends P{constructor(e){super(e),this.props=new Fi(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}}ki.controlFieldType=b.TIMESCOPE,ki.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ko extends x{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Ko.controlFieldType=b.TIMESCOPE;var zo={Designer:ki,Runtime:Ko,Property:Fi};class d_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class f_ extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class nn extends D{constructor(e){var n,i,u,a,r,l,c;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:un.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4,this.autoSize=(c=e==null?void 0:e.autoSize)!=null?c:!1,this.maxRows=e==null?void 0:e.maxRows}}nn.Rules=d_,nn.RuntimeRules=f_;class un extends P{constructor(e){super(e),this.props=new nn(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"}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=b.TEXT,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Go extends x{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Go.controlFieldType=b.TEXT;var Qo={Designer:un,Runtime:Go,Property:nn};class h_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class y_ extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class an extends D{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:rn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}an.Rules=h_,an.RuntimeRules=y_;class rn extends P{constructor(e){super(e),this.props=new an(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"}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=b.TEXT,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Xo extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Xo.controlFieldType=b.TEXT;var Jo={Designer:rn,Runtime:Xo,Property:an};class m_ extends ht{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Oi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.options=Ee((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 p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Mi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var w;(w=this.multistageFilling)==null||w.push(new ae(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}Oi.Rules=m_;class Mi extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Mi.controlFieldType=b.VARCHAR,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Zo extends x{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"select"}}Zo.controlFieldType=b.VARCHAR;var Yo={Designer:Mi,Runtime:Zo,Property:Oi};class v_ extends ht{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class g_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ln extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Ee((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 p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:$i.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}ln.Rules=v_,ln.RuntimeRules=g_;class $i extends P{constructor(e){super(e),this.props=new ln(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"}}$i.controlFieldType=b.ARRAY,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class po extends x{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}po.controlFieldType=b.ARRAY;var ec={Designer:$i,Runtime:po,Property:ln};class b_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Li extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Ni.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))}))}}Li.RuntimeRules=b_;class Ni extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ni.controlFieldType=b.EMPLOYEES,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class tc extends x{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"employee"}}tc.controlFieldType=b.EMPLOYEES;var nc={Designer:Ni,Runtime:tc,Property:Li};const __=10485760,w_=104857600,C_=1048576e3;class E_ extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:C_,message:f.getMessage("attachmentMaxSize")}}}class I_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class It extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;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=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:w_,this.caption=(o=e==null?void 0:e.caption)!=null?o:St.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{}}}It.Rules=E_,It.RuntimeRules=I_;class St extends P{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}St.controlEventKeys=["on_change"],St.controlFieldType=b.FILE,St.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ya extends x{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ya.controlFieldType=b.FILE;var ic={Designer:St,Runtime:Ya,Property:It};const uc=class extends St{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:uc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let pa=uc;pa.controlFieldType=b.IMAGE,pa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class S_ extends Ya{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class A_ extends It{constructor(e){super(e)}}var ac={Designer:pa,Runtime:S_,Property:A_};class T_ extends ht{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class R_ extends V{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:[kn(Re({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class on extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Km(e==null?void 0:e.dataBind),this.datasourceBind=new p((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Ou({value:"name"})]}),this.defaultValue=new zm((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:Nu.CNY}),this.options=Ee(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:cn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}on.Rules=T_,on.RuntimeRules=R_;class cn extends P{constructor(e){super(e),this.props=new on(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}}cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],cn.controlFieldType=b.MONEY,cn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class rc extends x{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"amount"}}rc.controlFieldType=b.MONEY;var lc={Designer:cn,Runtime:rc,Property:on};class B_ extends ee{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class D_ extends V{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:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class sn extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:La.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new mi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new mi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:dn.controlName}}sn.Rules=B_,sn.RuntimeRules=D_;class dn extends P{constructor(e){super(e),this.props=new sn(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 mi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}dn.controlEventKeys=["on_change","on_click"],dn.controlFieldType=b.DECIMAL,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class oc extends x{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"score"}}oc.controlFieldType=b.DECIMAL;var cc={Designer:dn,Runtime:oc,Property:sn};class P_ extends V{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:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Vi extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hi.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 Xm((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}Vi.RuntimeRules=P_;class Hi extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Hi.controlFieldType=b.ADDRESS,Hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class sc extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}sc.controlFieldType=b.ADDRESS;var dc={Designer:Hi,Runtime:sc,Property:Vi};class x_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ji extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:fn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\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(w=>{var E;(E=this.multistageFilling)==null||E.push(new ae(w))}))}}ji.RuntimeRules=x_;class fn extends P{constructor(e){super(e),this.props=new ji(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}}fn.controlName="\u90E8\u95E8",fn.controlFieldType=b.DEPARTMENTS,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class fc extends x{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"department"}}fc.controlFieldType=b.DEPARTMENTS;var hc={Designer:fn,Runtime:fc,Property:ji};class er extends D{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:hn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class hn extends P{constructor(e){super(e),this.props=new er(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"}}hn.controlEventKeys=["on_change"],hn.controlFieldType=b.AUTO_NUMBER,hn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class yc extends x{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}yc.controlFieldType=b.AUTO_NUMBER;var mc={Designer:hn,Runtime:yc,Property:er};class F_ extends ee{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 k_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class yn extends D{constructor(e){var n,i,u,a,r,l,c,o;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 Jm(e==null?void 0:e.dataBind),this.defaultValue=new Zm(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:mn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(o=e==null?void 0:e.calcOnMounted)!=null?o:!1}}yn.Rules=F_,yn.RuntimeRules=k_;class mn extends P{constructor(e){super(e),this.props=new yn(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}}mn.controlEventKeys=["on_change"],mn.controlFieldType=b.CALC,mn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class vc extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"calc"}}vc.controlFieldType=b.CALC;var gc={Designer:mn,Runtime:vc,Property:yn};class O_ extends V{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(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class qi extends D{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ui.controlName}}qi.RuntimeRules=O_;class Ui extends P{constructor(e){super(e),this.props=new qi(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"}}Ui.controlFieldType=b.DECIMAL_RANGE,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bc extends x{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}bc.controlFieldType=b.DECIMAL_RANGE;var _c={Designer:Ui,Runtime:bc,Property:qi};class M_ extends V{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 Wi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:Ki.controlName,this.limitDateList=(w=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new yi(E)))!=null?w:[]}}Wi.RuntimeRules=M_;class Ki extends P{constructor(e){super(e),this.props=new Wi(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"}}Ki.controlFieldType=b.ARRAY,Ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class wc extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}wc.controlFieldType=b.ARRAY;var Cc={Designer:Ki,Runtime:wc,Property:Wi};class $_ extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class L_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class vn extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}vn.Rules=$_,vn.RuntimeRules=L_;class gn extends P{constructor(e){super(e),this.props=new vn(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"}}gn.controlFieldType=b.ANY,gn.controlEventKeys=[],gn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ec extends x{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ec.controlFieldType=b.ANY;var Ic={Designer:gn,Runtime:Ec,Property:vn};class N_ extends ht{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class zi extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Fu(e==null?void 0:e.listPageBind),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:bn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}zi.Rules=N_;class bn extends P{constructor(e){super(e),this.props=new zi(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"}}bn.controlFieldType=b.VARCHAR,bn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],bn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Sc extends x{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Sc.controlFieldType=b.VARCHAR;var Ac={Designer:bn,Runtime:Sc,Property:zi};class tr extends Ct{constructor(e){super(e)}}class Tc extends Et{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Tc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Rc extends x{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Rc.controlFieldType=b.VARCHAR;var Bc={Designer:Tc,Runtime:Rc,Property:tr};class V_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Un.call(this,e,He.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class H_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class _n extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_,I,v,C,T,B;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(w=e==null?void 0:e.defaultCollapseLevel)!=null?w:1,this.datasourceBind=new fl((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:He.controlCustomAttributes}),this.filterItemDatasourceBind=new fl((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:He.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(T=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(F=>new ae(F)))!=null?T:[],this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:[]}}_n.Rules=V_,_n.RuntimeRules=H_;class He extends P{constructor(e){super(e),this.props=new _n(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}]}}He.controlEventKeys=["on_change","on_click"],He.controlFieldType=b.ARRAY,He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Dc extends x{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"tree"}}Dc.controlFieldType=b.ARRAY;var Pc={Designer:He,Runtime:Dc,Property:_n};class j_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Un.call(this,e,At.controlCustomAttributes),e.externalType===Ve.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class q_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class wn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:At.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Vn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:At.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:qa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ua.ADMIN,this.externalType=(w=e==null?void 0:e.externalType)!=null?w:Ve.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],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(I=>{var v;(v=this.multistageFilling)==null||v.push(new ae(I))}))}}wn.Rules=j_,wn.RuntimeRules=q_;class At extends P{constructor(e){super(e),this.props=new wn(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}]}}At.controlFieldType=b.EMPLOYEES,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class xc extends x{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}xc.controlFieldType=b.EMPLOYEES;var Fc={Designer:At,Runtime:xc,Property:wn};class U_ extends ee{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&Au(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Au(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Gi extends D{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Cn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new ao(e==null?void 0:e.signatureConfig)}}Gi.Rules=U_;class Cn extends P{constructor(e){super(e),this.props=new Gi(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"}}Cn.controlEventKeys=["on_click","on_click_finish"],Cn.controlFieldType=b.VARCHAR,Cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class kc extends x{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}kc.controlFieldType=b.VARCHAR;var Oc={Designer:Cn,Runtime:kc,Property:Gi};class W_ extends ee{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class K_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:In.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:__,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new ro(e==null?void 0:e.wpsSetting),this.revisionsMode=(w=e==null?void 0:e.revisionsMode)!=null?w:!1}}En.Rules=W_,En.RuntimeRules=K_;class In extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}In.controlEventKeys=["on_change","on_wps_open"],In.controlFieldType=b.FILE,In.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Mc extends x{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"wps"}}Mc.controlFieldType=b.FILE;var $c={Designer:In,Runtime:Mc,Property:En};class z_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Un.call(this,e,Ke.controlCustomAttributes),e.businessType===Ve.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class G_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Sn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:vi.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Ve.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var C;(C=this.multistageFilling)==null||C.push(new ae(v))}))}}Sn.Rules=z_,Sn.RuntimeRules=G_;class Ke extends P{constructor(e){super(e),this.props=new Sn(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}}Ke.controlName="\u90E8\u95E8",Ke.controlFieldType=b.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Lc extends x{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Lc.controlFieldType=b.DEPARTMENTS;var Nc={Designer:Ke,Runtime:Lc,Property:Sn};class Q_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Un.call(this,e,ze.controlCustomAttributes),e.businessType===Ve.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class X_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_,I,v,C,T;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 Fu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ze.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new Um((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:vi.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Ve.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(C=e==null?void 0:e.showSelectedDetail)!=null?C:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var F;(F=this.multistageFilling)==null||F.push(new ae(B))}))}}An.Rules=Q_,An.RuntimeRules=X_;class ze extends P{constructor(e){super(e),this.props=new An(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}}ze.controlName="\u4E1A\u52A1\u7EC4\u7EC7",ze.controlFieldType=b.DEPARTMENTS,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Vc extends x{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Vc.controlFieldType=b.DEPARTMENTS;var Hc={Designer:ze,Runtime:Vc,Property:An},J_=Object.freeze({__proto__:null,Input:$o,Checkbox:No,Radio:Ho,Number:qo,DatePicker:Wo,DateRange:zo,Textarea:Qo,RichText:Jo,Select:Yo,SelectMultiple:ec,Employee:nc,Image:ac,Attachment:ic,Amount:lc,Score:cc,Address:dc,Department:hc,AutoNumber:mc,Calc:gc,SearchNumberRange:_c,SearchDateRange:Cc,VueFormItem:Ic,SelectRelation:Ac,SearchInput:Bc,Tree:Pc,Employee2:Fc,ElectronicSignature:Oc,WPS:$c,Department2:Nc,OrganizationSelection:Hc});class jc extends q{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}jc.excludes=[S.GRID];class Z_ extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var qc={Designer:jc,Runtime:Z_,Property:H};const Y_=24;class Ge extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Y_,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Tn extends q{constructor(e){super(e),this.props=new Ge(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Tn.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],Tn.childrenMaxLength=1;class nr extends U{constructor(e){super(e),this.props=new Ge(e==null?void 0:e.props)}static get controlType(){return"col"}}var Uc={Designer:Tn,Runtime:nr,Property:Ge};class Qi extends H{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 Xi extends q{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"}}Xi.excludes=[S.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class Wc extends U{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Kc={Designer:Xi,Runtime:Wc,Property:Qi};const p_=4;class Ji extends Xi{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)}}Ji.excludes=[S.GRID_ROW],Ji.setting=[],Ji.childrenMaxLength=p_;class ew extends Wc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class tw extends Qi{constructor(e){super(e)}}var zc={Designer:Ji,Runtime:ew,Property:tw};class nw extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Zi extends H{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"}}Zi.Rules=nw;class ir extends q{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ir.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ir.excludes=[S.CARD_GROUP];class iw extends U{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Gc={Designer:ir,Runtime:iw,Property:Zi};class uw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Yi extends H{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new Om(e==null?void 0:e.metaAutoWidth)}}Yi.Rules=uw;class me extends q{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}me.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",me.controlType="subtable-column",me.controlIcon="subtable-column",me.childrenMaxLength=1,me.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Qc extends U{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}Qc.controlType="subtable-column";var Xc={Designer:me,Runtime:Qc,Property:Yi};class ur extends H{constructor(e){super(e)}}class Qe extends q{constructor(e){super(e),this.props=new ur(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=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Qe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class aw extends U{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Jc={Designer:Qe,Runtime:aw,Property:ur};class ar extends H{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Be.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Xe extends q{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Xe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Zc extends U{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}Zc.controlType="gridtable-column";var Yc={Designer:Xe,Runtime:Zc,Property:ar};class rr extends H{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 lr extends q{constructor(e){super(e),this.props=new rr(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"}}lr.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],lr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class rw extends U{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var pc={Designer:lr,Runtime:rw,Property:rr};class or extends H{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class lw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class pi extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bn.controlName}}pi.Rules=lw;class Rn extends q{constructor(e){super(e),this.props=new pi(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"}}Rn.excludes=[S.TAB],Rn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ow extends U{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var es={Designer:Rn,Runtime:ow,Property:pi};class Bn extends q{constructor(e){var n;super(e),this.props=new or(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Rn,new Rn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Bn.excludes=[S.TAB],Bn.controlEventKeys=["on_change_tab"],Bn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class cw extends U{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ts={Designer:Bn,Runtime:cw,Property:or};class ns extends H{constructor(e){super(e)}}class is extends q{constructor(e){super(e),this.props=new ns({}),this.children=(e==null?void 0:e.children)||[new Tn({props:new Ge({span:12})}),new Tn({props:new Ge({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}is.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class sw extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new nr({props:new Ge({span:12})}),new nr({props:new Ge({span:12})})]}}var us={Designer:is,Runtime:sw,Property:ns};class dw extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fw extends z{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:f.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),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 Dn extends H{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_,I,v,C,T;super(e),this.datasourceBind=new p(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 Vm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new jm(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(w=e==null?void 0:e.countLimit)!=null?w:1e5,this.rowStyleType=(E=e==null?void 0:e.rowStyleType)!=null?E:"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)?(v=(I=e==null?void 0:e.rowStyleRules)==null?void 0:I.map(B=>new tv(B)))!=null?v:[]:[],this.rowStyleRulesScript=(e==null?void 0:e.rowStyleRulesScript)&&Array.isArray(e==null?void 0:e.rowStyleRulesScript)?(T=(C=e==null?void 0:e.rowStyleRulesScript)==null?void 0:C.map(B=>new nv(B)))!=null?T:[]:[]}}Dn.Rules=fw,Dn.RuntimeRules=dw;class eu extends q{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}eu.excludes=[S.ROW],eu.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"],eu.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 hw extends U{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var as={Designer:eu,Runtime:hw,Property:Dn};class yw extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class tu extends H{constructor(e){var n,i,u,a,r,l;super(e),this.save=new xe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new xe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new xe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new xe((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new xe(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind)}}tu.RuntimeRules=yw;class rs extends q{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}rs.excludes=[];class mw extends U{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var ls={Designer:rs,Runtime:mw,Property:tu};class vw extends q{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class gw extends U{static get controlType(){return"page"}constructor(e){super(e)}}class bw extends H{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 os={Designer:vw,Runtime:gw,Property:bw};class _w extends q{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class ww extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Cw extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new co(e==null?void 0:e.flexConfig)}}var cs={Designer:_w,Runtime:ww,Property:Cw};class Ew extends q{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Iw extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Sw extends H{constructor(e){super(e)}}var ss={Designer:Ew,Runtime:Iw,Property:Sw};class Aw extends q{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Tw extends U{static get controlType(){return"position"}constructor(e){super(e)}}class Rw extends H{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 ds={Designer:Aw,Runtime:Tw,Property:Rw};class cr extends H{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 sr extends q{constructor(e){var n;super(e),this.props=new cr((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"}}sr.excludes=[],sr.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class Bw extends U{constructor(e){var n;super(e),this.props=new cr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var fs={Designer:sr,Runtime:Bw,Property:cr},Dw=Object.freeze({__proto__:null,Grid:qc,Col:Uc,Row:Kc,GridRow:zc,CardGroup:Gc,SubTableColumn:Xc,SubTableRow:Jc,GridTableColumn:Yc,GridLayoutContainer:pc,Tab:ts,TabPane:es,Toolbox:us,ListView:as,DataView:ls,Page:os,AdvancedContainer:cs,PositioningContainer:ss,Position:ds,ActionBar:fs});class Pw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class xw extends Ue{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const hs=class extends ti{constructor(t,e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_,I,v,C,T,B,F,se,k,de,xn,Ae,mu,Fn,Tt,Te,Ns,Vs;super(t,e,hs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:nu.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=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(o=e==null?void 0:e.maxHeight)!=null?o:lo,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(w=e==null?void 0:e.defaultRows)!=null?w:1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(_=e==null?void 0:e.canDelete)!=null?_:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(C=e==null?void 0:e.canImport)!=null?C:!1,this.canExport=(T=e==null?void 0:e.canExport)!=null?T:!1,this.canClear=(B=e==null?void 0:e.canClear)!=null?B:!0,this.serverPagination=(F=e==null?void 0:e.serverPagination)!=null?F:!1,this.isShowCaptionTip=(se=e==null?void 0:e.isShowCaptionTip)!=null?se:!1,this.captionTip=(k=e==null?void 0:e.captionTip)!=null?k:"",this.mobileShowType=(de=e==null?void 0:e.mobileShowType)!=null?de:"list",this.mobileDefaultNum=(xn=e==null?void 0:e.mobileDefaultNum)!=null?xn:10,this.dataStorageDoc=(Ae=e==null?void 0:e.dataStorageDoc)!=null?Ae:new Mm,this.fixedColumn=(mu=e==null?void 0:e.fixedColumn)!=null?mu:[],this.mobileRowCaption=(Fn=e==null?void 0:e.mobileRowCaption)!=null?Fn:"\u660E\u7EC6",this.mobileIsTile=(Tt=e==null?void 0:e.mobileIsTile)!=null?Tt:!1,this.isPaste=(Te=e==null?void 0:e.isPaste)!=null?Te:!1,this.pageSize=(Ns=e==null?void 0:e.pageSize)!=null?Ns:10,this.pageSizeOptions=(Vs=e==null?void 0:e.pageSizeOptions)!=null?Vs:[10,20,50,100]}};let Pn=hs;Pn.Rules=Pw,Pn.RuntimeRules=xw;class nu extends da{constructor(e){var n,i;super(e),this.props=new Pn(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 me,new me,new me]),((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 me,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}nu.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],nu.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.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 Fw extends Wl{constructor(e){super(e),this.props=new Pn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){xt("Method not implemented.")}getChildrenFormControl(){return[]}}var ys={Designer:nu,Runtime:Fw,Property:Pn};class dr extends ti{constructor(e,n){var i,u,a,r,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class kw extends _e{constructor(e){super(e),this.caption.required=!1}}class iu extends W{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}iu.Rules=kw;class Je extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}Je.controlType="order-column",Je.controlName="\u5E8F\u53F7",Je.controlIcon="order-column",Je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class fr extends Y{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}fr.controlType="order-column",fr.controlFieldType=b.DECIMAL;var ms={Designer:Je,Runtime:fr,Property:iu};class hr extends W{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Se.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Se extends Z{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer")}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Di.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return kn(Re({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Lr(this,null,function*(){return yield $r(Se.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Se.controlType="operation-column",Se.controlName="\u64CD\u4F5C",Se.controlIcon="operation-column",Se.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class yr extends Y{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}yr.controlType="operation-column",yr.controlFieldType=b.FILE;var vs={Designer:Se,Runtime:yr,Property:hr};class uu extends da{constructor(e){var n;super(e),this.props=new dr(this,e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Je,new Se]),((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 kn(Re({},e),{children:n})}validate(e,n){return Lr(this,null,function*(){return yield $r(uu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}uu.setting=[{key:"list-fixed-header",visible:!0}];class Ow extends Wl{constructor(e){super(e),this.props=new dr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){xt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var gs={Designer:uu,Runtime:Ow,Property:dr},Mw=Object.freeze({__proto__:null,SubTable:ys,GridTable:gs});class $w extends Kl{constructor(e){super(e),Le.call(this,e)}}class au extends W{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}au.Rules=$w;class Ze extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Ze.controlType="varchar-column",Ze.controlName="\u77ED\u6587\u672C",Ze.controlIcon="varchar-column",Ze.controlFieldType=b.VARCHAR,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}];class mr extends Y{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}mr.controlType="varchar-column",mr.controlFieldType=b.VARCHAR;var bs={Designer:Ze,Runtime:mr,Property:au};class Lw extends _e{constructor(e){super(e),Le.call(this,e)}}class ru extends W{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:Ye.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 Ce(e==null?void 0:e.linkOperationOption)}}ru.Rules=Lw;class Ye extends Z{constructor(e){super(e),this.props=new ru(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}}Ye.controlType="text-column",Ye.controlName="\u957F\u6587\u672C",Ye.controlIcon="text-column",Ye.controlFieldType=b.TEXT,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 vr extends Y{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}vr.controlType="text-column",vr.controlFieldType=b.TEXT;var _s={Designer:Ye,Runtime:vr,Property:ru};class Nw extends _e{constructor(e){super(e),Le.call(this,e)}}class lu extends W{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Ee((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption)}}lu.Rules=Nw;class pe extends Z{constructor(e){super(e),this.props=new lu(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}}pe.controlType="decimal-column",pe.controlName="\u6570\u503C",pe.controlIcon="decimal-column",pe.controlFieldType=b.DECIMAL,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class gr extends Y{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}gr.controlType="decimal-column",gr.controlFieldType=b.DECIMAL;var ws={Designer:pe,Runtime:gr,Property:lu};class Vw extends _e{constructor(e){super(e),Le.call(this,e)}}class ou extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}ou.Rules=Vw;class et extends Z{constructor(e){super(e),this.props=new ou(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}}et.controlType="timescope-column",et.controlName="\u65E5\u671F\u533A\u95F4",et.controlIcon="timescope-column",et.controlFieldType=b.TIMESCOPE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 br extends Y{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}br.controlType="timescope-column",br.controlFieldType=b.TIMESCOPE;var Cs={Designer:et,Runtime:br,Property:ou};class Hw extends _e{constructor(e){super(e),Le.call(this,e)}}class cu extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:tt.controlName}}cu.Rules=Hw;class tt extends Z{constructor(e){super(e),this.props=new cu(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}}tt.controlType="timestamp-column",tt.controlName="\u65E5\u671F",tt.controlIcon="timestamp-column",tt.controlFieldType=b.TIMESTAMP,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 _r extends Y{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}_r.controlType="timestamp-column",_r.controlFieldType=b.TIMESTAMP;var Es={Designer:tt,Runtime:_r,Property:cu};class jw extends Kl{constructor(e){super(e),Le.call(this,e)}}class su extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.options=Ee((a=e==null?void 0:e.options)!=null?a:[{}])}}su.Rules=jw;class nt extends Z{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}nt.controlType="array-column",nt.controlName="\u6570\u7EC4",nt.controlIcon="array-column",nt.controlFieldType=b.ARRAY,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 wr extends Y{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}wr.controlType="array-column",wr.controlFieldType=b.ARRAY;var Is={Designer:nt,Runtime:wr,Property:su};class Cr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class it extends Z{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}it.controlType="department-column",it.controlName="\u90E8\u95E8",it.controlIcon="department-column",it.controlFieldType=b.DEPARTMENTS,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Er extends Y{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}Er.controlType="department-column",Er.controlFieldType=b.DEPARTMENTS;var Ss={Designer:it,Runtime:Er,Property:Cr};class qw extends _e{constructor(e){super(e),Le.call(this,e)}}class du extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption)}}du.Rules=qw;class ut extends Z{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}ut.controlType="auto-number-column",ut.controlName="\u81EA\u52A8\u7F16\u53F7",ut.controlIcon="auto-number-column",ut.controlFieldType=b.AUTO_NUMBER,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ir extends Y{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Ir.controlType="auto-number-column",Ir.controlFieldType=b.AUTO_NUMBER;var As={Designer:ut,Runtime:Ir,Property:du};class Sr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends Z{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}at.controlType="file-column",at.controlName="\u9644\u4EF6",at.controlIcon="file-column",at.controlFieldType=b.FILE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ar extends Y{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Ar.controlType="file-column",Ar.controlFieldType=b.FILE;var Ts={Designer:at,Runtime:Ar,Property:Sr};class Tr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends Z{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}rt.controlType="image-column",rt.controlName="\u56FE\u7247",rt.controlIcon="image-column",rt.controlFieldType=b.IMAGE,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Rr extends Y{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}Rr.controlType="image-column",Rr.controlFieldType=b.IMAGE;var Rs={Designer:rt,Runtime:Rr,Property:Tr};class Br extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends Z{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}lt.controlType="people-column",lt.controlName="\u4EBA\u5458",lt.controlIcon="people-column",lt.controlFieldType=b.EMPLOYEES,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Dr extends Y{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Dr.controlType="people-column",Dr.controlFieldType=b.EMPLOYEES;var Bs={Designer:lt,Runtime:Dr,Property:Br};class Uw extends _e{constructor(e){super(e),Le.call(this,e)}}class fu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption)}}fu.Rules=Uw;class ot extends Z{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}ot.controlType="location-column",ot.controlName="\u5730\u5740",ot.controlIcon="location-column",ot.controlFieldType=b.ADDRESS,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Pr extends Y{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Pr.controlType="location-column",Pr.controlFieldType=b.ADDRESS;var Ds={Designer:ot,Runtime:Pr,Property:fu};class Ww extends _e{constructor(e){super(e),this.sortFieldCode={type:"string",message:f.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class hu extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}hu.Rules=Ww;const Kw=1;class je extends Z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new hu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=De(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return kn(Re({},e),{children:this.children.map(n=>n.toSchema())})}}je.controlType="custom-column",je.controlName="\u81EA\u5B9A\u4E49",je.controlIcon="custom-column",je.excludes=[],je.childrenMaxLength=Kw,je.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class Ps extends Y{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ps.controlType="custom-column";var xs={Designer:je,Runtime:Ps,Property:hu};class xr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:qe.controlCustomAttributes})}}class qe extends Z{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}qe.controlType="employee-column",qe.controlName="\u4EBA\u5458",qe.controlIcon="employee-column",qe.controlFieldType=b.EMPLOYEES,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Fr extends Y{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}}Fr.controlType="employee-column",Fr.controlFieldType=b.EMPLOYEES;var Fs={Designer:qe,Runtime:Fr,Property:xr};class kr extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ct extends Z{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}}ct.controlType="approval-status-column",ct.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ct.controlIcon="approval-status-column",ct.excludes=[],ct.setting=[{key:"caption",showItems:[s.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 ks extends Y{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}}ks.controlType="approval-status-column";var Os={Designer:ct,Runtime:ks,Property:kr},zw=Object.freeze({__proto__:null,VarcharColumn:bs,TextColumn:_s,DecimalColumn:ws,TimescopeColumn:Cs,TimestampColumn:Es,ArrayColumn:Is,DepartmentColumn:Ss,AutoNumberColumn:As,FileColumn:Ts,ImageColumn:Rs,PeopleColumn:Bs,LocationColumn:Ds,CustomColumn:xs,OrderColumn:ms,OperationColumn:vs,EmployeeColumn:Fs,ApprovalStatusColumn:Os});class Gw extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class yu extends Ia{constructor(e){var n,i,u,a,r,l,c,o,d,m;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 xe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new xe((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(g=>new xe(g)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24}}yu.RuntimeRules=Gw;class Or extends z0{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Or.controlType="simple-search",Or.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:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ms extends p0{constructor(e){var n;super(e),this.props=new yu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ms.controlType="simple-search";var $s={Designer:Or,Runtime:Ms,Property:yu},Qw=Object.freeze({__proto__:null,SimpleSearch:$s});class Mr extends Da{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class Xw extends hb{constructor(e){super(e),this.props=new Mr(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 Jw extends wb{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function rC(t){return t}var Zw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Ls={Designer:Xw,Runtime:Jw,Property:Mr,Setting:Zw},Yw=Object.freeze({__proto__:null,GridLayoutWrap:Ls});y.ActionBar=fs,y.Address=dc,y.AdvancedContainer=cs,y.Amount=lc,y.ApprovalStatusColumn=Os,y.ArrayColumn=Is,y.AssignType=Ve,y.Attachment=ic,y.AutoNumber=mc,y.AutoNumberColumn=As,y.BatchDeleteButton=Oo,y.BatchPrintListButton=xo,y.BatchPrintRecordListButton=Fo,y.BatchSubmissionListButton=vo,y.Button=no,y.Calc=gc,y.CardGroup=Gc,y.Checkbox=No,y.Col=Uc,y.CreateFormListButton=mo,y.CustomColumn=xs,y.DATE_CONFIG_TYPE=io,y.DATE_LIMIT_TYPE=uo,y.Dashboard=To,y.DataView=ls,y.DatePicker=Wo,y.DateRange=zo,y.DecimalColumn=ws,y.Department=hc,y.Department2=Nc,y.DepartmentColumn=Ss,y.DepartmentType=vi,y.Divider=ho,y.ElectronicSignature=Oc,y.ElectronicSignatureConfig=ao,y.Employee=nc,y.Employee2=Fc,y.EmployeeColumn=Fs,y.EncryptTypeEnum=so,y.Explain=mi,y.ExportListButton=bo,y.ExportRecordListButton=_o,y.ExportTemplate=Ha,y.FileColumn=Ts,y.FlexStyleConfig=co,y.FormSelectButton=Co,y.Grid=qc,y.GridLayoutContainer=pc,y.GridLayoutWrap=Ls,y.GridRow=zc,y.GridTable=gs,y.GridTableColumn=Yc,y.Image=ac,y.ImageColumn=Rs,y.ImportRecordListButton=wo,y.Input=$o,y.InternalType=Ua,y.InvoiceCheckButton=Po,y.LINE_STYLE=Na,y.LimitDate=yi,y.Link=to,y.ListSelectButton=Eo,y.ListView=as,y.ListViewSelect=Bo,y.LocationColumn=Ds,y.Number=qo,y.OperationButton=ko,y.OperationColumn=vs,y.OrderColumn=ms,y.OrganizationSelection=Hc,y.OrganizeType=qa,y.Page=os,y.Pagination=So,y.PeopleColumn=Bs,y.Position=ds,y.PositioningContainer=ss,y.PrintTemplate=oo,y.Radio=Ho,y.RichText=Jo,y.Row=Kc,y.SCORE_TYPE=La,y.SUBTABLE_DEFAULT_MAX_HEIGHT=lo,y.Score=cc,y.SearchDateRange=Cc,y.SearchInput=Bc,y.SearchNumberRange=_c,y.Select=Yo,y.SelectMultiple=ec,y.SelectRelation=Ac,y.SimpleSearch=$s,y.SubTable=ys,y.SubTableColumn=Xc,y.SubTableRow=Jc,y.SubmissionRecordListButton=go,y.Tab=ts,y.TabPane=es,y.Text=eo,y.TextColumn=_s,y.TextOcrButton=Do,y.Textarea=Qo,y.TimescopeColumn=Cs,y.TimestampColumn=Es,y.Title=yo,y.TitleConfigEnum=Ne,y.Toolbox=us,y.Tree=Pc,y.UndersignedPerson=Va,y.VarcharColumn=bs,y.VueFormItem=Ic,y.WPS=$c,y.WPSSetting=ro,y.WpsOperationItem=ja,y.baseControls=n_,y.columnControls=zw,y.formControls=J_,y.initExpression=Nt,y.layoutControls=Dw,y.listControls=Mw,y.searchControls=Qw,y.wrapControls=Yw,Object.defineProperty(y,"__esModule",{value:!0})});
|
|
1
|
+
var ew=Object.defineProperty,tw=Object.defineProperties;var nw=Object.getOwnPropertyDescriptors;var js=Object.getOwnPropertySymbols,iw=Object.getPrototypeOf,uw=Object.prototype.hasOwnProperty,aw=Object.prototype.propertyIsEnumerable,rw=Reflect.get;var qs=(y,j,K)=>j in y?ew(y,j,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[j]=K,Be=(y,j)=>{for(var K in j||(j={}))uw.call(j,K)&&qs(y,K,j[K]);if(js)for(var K of js(j))aw.call(j,K)&&qs(y,K,j[K]);return y},kn=(y,j)=>tw(y,nw(j));var $r=(y,j,K)=>rw(iw(y),K,j);var Lr=(y,j,K)=>new Promise((vu,On)=>{var gu=Ce=>{try{Bt(K.next(Ce))}catch(Tt){On(Tt)}},bu=Ce=>{try{Bt(K.throw(Ce))}catch(Tt){On(Tt)}},Bt=Ce=>Ce.done?vu(Ce.value):Promise.resolve(Ce.value).then(gu,bu);Bt((K=K.apply(y,j)).next())});(function(y,j){typeof exports=="object"&&typeof module!="undefined"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):(y=typeof globalThis!="undefined"?globalThis:y||self,j(y.modelDrivenControls={}))})(this,function(y){"use strict";var j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",bu="{caption}\u5FC5\u586B",Bt="\u8BF7\u8F93\u5165\u6807\u9898",Ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Tt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Us="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ws="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ks="\u8BF7\u7ED1\u5B9A\u8868\u5355",zs="\u8BF7\u7ED1\u5B9A\u5217\u8868",Gs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Qs="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Xs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Js="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Zs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ys="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ps="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ed="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",td="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",nd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",id="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ud="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ad="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",rd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ld="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",od="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",cd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",sd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",dd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",fd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",hd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",yd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",md="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",vd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",gd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",bd="\u8BF7\u9009\u62E9\u7701",_d="\u8BF7\u9009\u62E9\u5E02",Cd="\u8BF7\u9009\u62E9\u533A",wd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ed="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Id="\u8BF7\u8F93\u5165\u5217\u5BBD",Sd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ad="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Rd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Bd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Td="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Dd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",xd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Fd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",kd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Od="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Md="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",$d="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ld="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Nd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",jd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",qd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ud="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Wd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Kd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",zd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Gd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Qd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Xd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Jd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Zd="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Yd="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",pd="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ef={isNotNumber:j,isNotString:K,isNotObject:vu,isNotArray:On,isNotBoolean:gu,runtimeRequired:bu,pleaseEnterCaption:Bt,pleaseEnterCaptionTip:Ce,pleaseEnterRowCaption:Tt,pleaseEnterPlaceholder:Us,pleaseEnterFieldCode:Ws,pleaseEnterForm:Ks,pleaseEnterList:zs,pleaseEnterProcess:Gs,pleaseEnterLabel:Qs,pleaseEnterValue:Xs,bizKeyNotBindFiled:Js,pleaseSelectOneField:Zs,pleaseEnterNumberRange:Ys,pleaseEnterAValueGreaterThanMin:ps,pleaseEnterAValueLessThanMax:ed,numberRangeSetError:td,stringRangeError:nd,attachmentMaxSize:id,pleaseEnterTotalScoreSetting:ud,theTotalScoreMustNotBeLessThan1:ad,scoreDefaultValueRange:rd,attachmentLimitError:ld,PleaseReselectTheOptionalQuantity:od,TheMaximumLengthIsGreaterThanTheMinimumLength:cd,TheMinimumLengthIsGreaterThanTheMaximumLength:sd,PleaseSelectTheCorrectOptionSettings:dd,optionIdIsRepeat:fd,optionIsRequired:hd,pleaseEnterDataCode:yd,pleaseEnterValueFieldCode:md,pleaseEnterSvcCode:vd,pleaseBindAtLeastOneDisplayValue:gd,pleaseSelectProvince:bd,pleaseSelectCity:_d,pleaseSelectDistrict:Cd,limitRowsCannotBeLessThan0:wd,TheNumberOfRowsCannotBeLessThanMinRows:Ed,pleaseEnterColumnWidth:Id,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Sd,pleaseCompleteAllRulesAndConditions:Ad,pleaseSelectControl:Rd,pleaseSelectAtLeastOneColumn:Bd,pleaseSelectFillBackMode:Td,pleaseSelectDashboard:Dd,rootNodeIsRequired:Pd,theViewNameCannotBeEmpty:xd,pleaseSelectOcrType:Fd,pleaseSelectAtLeastOneFieldToFillIn:kd,pleaseChooseAtLeastOne:Od,pleaseEnterButtonContent:Md,pleaseEnterDataCodeInDataSetting:$d,pleaseEnterValueFieldCodeInDataSetting:Ld,pleaseEnterSvcCodeInDataSetting:Nd,pleaseBindAtLeastOneDisplayValueInDataSetting:Vd,rootNodeIsRequiredInDataSetting:Hd,pleaseEnterMaxHeight:jd,pleaseEnter:qd,pleaseEnterWatermark:Ud,pleaseEnterFileName:Wd,pleaseUploadAtLeastOnePrintTemplate:Kd,pleaseAssignBusiness:zd,pleaseAssignExternal:Gd,pleaseEnterAliasCode:Qd,pleaseSelectDataCode:Xd,pleaseSelectSvcCode:Jd,pleaseSelectJoinFieldCode:Zd,pleaseSelectMainFieldCode:Yd,pleaseSelectSortFieldCode:pd},tf="Please enter a number",nf="Please enter a string",uf="Please enter an object",af="Please enter an array",rf="Please enter a boolean",lf="{caption} Required",of="Please enter the title",cf="Please enter the bubble prompt",sf="Please enter the row title",df="Please enter the prompt text",ff="Please bind data items",hf="Please bind the form",yf="Please bind the list",mf="Please bind the process",vf="Please enter the displayed value",gf="Please enter the stored value",bf="The document number is not bound to the data item",_f="Please select at least one display field",Cf="Please enter a value greater than or equal to {min} and less than or equal to {max}",wf="Please enter a value greater than or equal to {min}",Ef="Please enter a value less than or equal to {max}",If="The value range is set incorrectly",Sf="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Af="The attachment size must be between 0MB and 1000MB",Rf="Please fill in the total score setting",Bf="The total score cannot be less than 1",Tf="The default value must be between {min} and {max}",Df="The number of attachments uploaded must be between {min} and {max}",Pf="Please re-select the optional quantity",xf="The maximum length of the control must be greater than the minimum length",Ff="The minimum length of the control must be less than the maximum length",kf="Please select the correct option setting",Of="Option ID cannot be repeated",Mf="Please enter at least one option",$f="Please bind the data source",Lf="Please bind the stored value",Nf="Please bind the service",Vf="At least one display value must be bound",Hf="Please select a province",jf="Please select a city",qf="Please select a district",Uf="The minimum number of lines to fill in cannot be less than 0",Wf="The number of rows cannot be less than {min} rows",Kf="Please enter the column width",zf="Please set the logical relationship of all rule conditions",Gf="Please complete all rules and conditions",Qf="please select control",Xf="Please select the dashboard",Jf="View name cannot be empty",Zf="Please select recognition type",Yf="Please select at least one field to fill in",pf="Please select at least one",eh="Please enter the button title",th="Please bind the business model in the data settings",nh="Please bind storage values in data settings",ih="Please bind the service in the data settings",uh="Please bind at least one display value in the data settings",ah="Please select the root node in the data settings",rh="Please enter the maximum height",lh="The input content cannot be empty",oh="Watermark cannot be empty",ch="File name cannot be empty",sh="Please upload at least one printing template!\uFF01",dh="Please select a specific business department",fh="Please select a specified external organization",hh="Please enter a sub table alias",yh="Please select the associated table to set the business model",mh="Please select the association table to set the binding service",vh="Select associated sub table fields",gh="Please select the associated main table field",bh="Please select the sort field",_h={isNotNumber:tf,isNotString:nf,isNotObject:uf,isNotArray:af,isNotBoolean:rf,runtimeRequired:lf,pleaseEnterCaption:of,pleaseEnterCaptionTip:cf,pleaseEnterRowCaption:sf,pleaseEnterPlaceholder:df,pleaseEnterFieldCode:ff,pleaseEnterForm:hf,pleaseEnterList:yf,pleaseEnterProcess:mf,pleaseEnterLabel:vf,pleaseEnterValue:gf,bizKeyNotBindFiled:bf,pleaseSelectOneField:_f,pleaseEnterNumberRange:Cf,pleaseEnterAValueGreaterThanMin:wf,pleaseEnterAValueLessThanMax:Ef,numberRangeSetError:If,stringRangeError:Sf,attachmentMaxSize:Af,pleaseEnterTotalScoreSetting:Rf,theTotalScoreMustNotBeLessThan1:Bf,scoreDefaultValueRange:Tf,attachmentLimitError:Df,PleaseReselectTheOptionalQuantity:Pf,TheMaximumLengthIsGreaterThanTheMinimumLength:xf,TheMinimumLengthIsGreaterThanTheMaximumLength:Ff,PleaseSelectTheCorrectOptionSettings:kf,optionIdIsRepeat:Of,optionIsRequired:Mf,pleaseEnterDataCode:$f,pleaseEnterValueFieldCode:Lf,pleaseEnterSvcCode:Nf,pleaseBindAtLeastOneDisplayValue:Vf,pleaseSelectProvince:Hf,pleaseSelectCity:jf,pleaseSelectDistrict:qf,limitRowsCannotBeLessThan0:Uf,TheNumberOfRowsCannotBeLessThanMinRows:Wf,pleaseEnterColumnWidth:Kf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zf,pleaseCompleteAllRulesAndConditions:Gf,pleaseSelectControl:Qf,pleaseSelectDashboard:Xf,theViewNameCannotBeEmpty:Jf,pleaseSelectOcrType:Zf,pleaseSelectAtLeastOneFieldToFillIn:Yf,pleaseChooseAtLeastOne:pf,pleaseEnterButtonContent:eh,pleaseEnterDataCodeInDataSetting:th,pleaseEnterValueFieldCodeInDataSetting:nh,pleaseEnterSvcCodeInDataSetting:ih,pleaseBindAtLeastOneDisplayValueInDataSetting:uh,rootNodeIsRequiredInDataSetting:ah,pleaseEnterMaxHeight:rh,pleaseEnter:lh,pleaseEnterWatermark:oh,pleaseEnterFileName:ch,pleaseUploadAtLeastOnePrintTemplate:sh,pleaseAssignBusiness:dh,pleaseAssignExternal:fh,pleaseEnterAliasCode:hh,pleaseSelectDataCode:yh,pleaseSelectSvcCode:mh,pleaseSelectJoinFieldCode:vh,pleaseSelectMainFieldCode:gh,pleaseSelectSortFieldCode:bh},Ch="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ih="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ah="{caption}\u5FC5\u9808",Rh="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Th="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Dh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ph="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Oh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$h="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Lh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",qh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Kh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",zh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Qh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xh="\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",Jh="\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",Zh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ph="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ey="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ty="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ny="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",iy="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",uy="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ay="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ry="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ly="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oy="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",cy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sy="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",fy="please select control",hy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yy="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",my="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vy="\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",gy="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",by="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_y="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Cy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",wy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ey="\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",Iy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ay="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ry="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",By="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ty="\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",Dy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",ky="\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",Oy="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",My="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$y="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ly={isNotNumber:Ch,isNotString:wh,isNotObject:Eh,isNotArray:Ih,isNotBoolean:Sh,runtimeRequired:Ah,pleaseEnterCaption:Rh,pleaseEnterCaptionTip:Bh,pleaseEnterRowCaption:Th,pleaseEnterPlaceholder:Dh,pleaseEnterFieldCode:Ph,pleaseEnterForm:xh,pleaseEnterList:Fh,pleaseEnterProcess:kh,pleaseEnterLabel:Oh,pleaseEnterValue:Mh,bizKeyNotBindFiled:$h,pleaseSelectOneField:Lh,pleaseEnterNumberRange:Nh,pleaseEnterAValueGreaterThanMin:Vh,pleaseEnterAValueLessThanMax:Hh,numberRangeSetError:jh,stringRangeError:qh,attachmentMaxSize:Uh,pleaseEnterTotalScoreSetting:Wh,theTotalScoreMustNotBeLessThan1:Kh,scoreDefaultValueRange:zh,attachmentLimitError:Gh,PleaseReselectTheOptionalQuantity:Qh,TheMaximumLengthIsGreaterThanTheMinimumLength:Xh,TheMinimumLengthIsGreaterThanTheMaximumLength:Jh,PleaseSelectTheCorrectOptionSettings:Zh,optionIdIsRepeat:Yh,optionIsRequired:ph,pleaseEnterDataCode:ey,pleaseEnterValueFieldCode:ty,pleaseEnterSvcCode:ny,pleaseBindAtLeastOneDisplayValue:iy,pleaseSelectProvince:uy,pleaseSelectCity:ay,pleaseSelectDistrict:ry,limitRowsCannotBeLessThan0:ly,TheNumberOfRowsCannotBeLessThanMinRows:oy,pleaseEnterColumnWidth:cy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sy,pleaseCompleteAllRulesAndConditions:dy,pleaseSelectControl:fy,pleaseSelectDashboard:hy,theViewNameCannotBeEmpty:yy,pleaseSelectOcrType:my,pleaseSelectAtLeastOneFieldToFillIn:vy,pleaseChooseAtLeastOne:gy,pleaseEnterButtonContent:by,pleaseEnterDataCodeInDataSetting:_y,pleaseEnterValueFieldCodeInDataSetting:Cy,pleaseEnterSvcCodeInDataSetting:wy,pleaseBindAtLeastOneDisplayValueInDataSetting:Ey,rootNodeIsRequiredInDataSetting:Iy,pleaseEnterMaxHeight:Sy,pleaseEnter:Ay,pleaseEnterWatermark:Ry,pleaseEnterFileName:By,pleaseUploadAtLeastOnePrintTemplate:Ty,pleaseAssignBusiness:Dy,pleaseAssignExternal:Py,pleaseEnterAliasCode:xy,pleaseSelectDataCode:Fy,pleaseSelectSvcCode:ky,pleaseSelectJoinFieldCode:Oy,pleaseSelectMainFieldCode:My,pleaseSelectSortFieldCode:$y},Ny={zhCN:ef,enUS:_h,jaJP:Ly},Nr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Nr||(Nr={}));var Vr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Vr||(Vr={}));var Vy="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var st;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(st||(st={}));var Hr;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Hr||(Hr={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.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.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"})(S||(S={}));var jr;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(jr||(jr={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(b||(b={}));var ne;ne={},re(ne,"array","array-column"),re(ne,"auto_number","auto-number-column"),re(ne,"decimal","decimal-column"),re(ne,"department","department-column"),re(ne,"file","file-column"),re(ne,"image","image-column"),re(ne,"location","location-column"),re(ne,"people","employee-column"),re(ne,"text","text-column"),re(ne,"timescope","timescope-column"),re(ne,"timestamp","timestamp-column"),re(ne,"varchar","varchar-column"),re(ne,"relation","varchar-column");var Te;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Te||(Te={}));var qr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Hy=qr+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?qr:Hy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function _u(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 jy(t){if(Array.isArray(t))return _u(t)}function qy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ur(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return zr()?Mn=Reflect.construct:Mn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Pt(o,r.prototype),o},Mn.apply(null,arguments)}function Dt(t){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dt(t)}function Wr(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 Uy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ky(){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 zy(t,e){return e&&(Gy(e)==="object"||typeof e=="function")?e:qy(t)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pt(t,e)}function Kr(t){return jy(t)||Wy(t)||Qy(t)||Ky()}function Gy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qy(t,e){if(!!t){if(typeof t=="string")return _u(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 _u(t,e)}}function Cu(t){var e=typeof Map=="function"?new Map:void 0;return Cu=function(i){if(i===null||!Uy(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,Dt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Pt(u,i)},Cu(t)}function zr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gr(t){var e=zr();return function(){var i=Dt(t),u;if(e){var a=Dt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zy(this,u)}}var wu=console;function Eu(){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=wu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Kr(u)))}function Qr(){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=wu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Kr(u)))}function Xy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Iu=function(t){Wr(n,t);var e=Gr(n);function n(i){Ur(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Xy(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Cu(Error)),Jy=function(t){Wr(n,t);var e=Gr(n);function n(i){Ur(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Iu);function xt(t){throw new Iu(t)}function Xr(t){throw new Jy(t)}function Zy(t){wu.error(new Iu(t))}var Yy=Object.prototype.toString;function Jr(t,e){return Yy.call(t)==="[object "+e+"]"}function py(t){return Jr(t,"String")}function em(t){return Jr(t,"Promise")}var tm=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();em(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!py(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function nm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(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 im(t,e,n){return e&&Zr(t.prototype,e),n&&Zr(t,n),t}function um(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){nm(this,t)}return im(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]:Vy;return new tm({locale:n,messages:Ny})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();um(f,"$i18n",f.resetI18n());function am(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Eu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var rm=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},lm={exports:{}};(function(t){(function(e){var n=function(v,w,R){if(!o(w)||m(w)||g(w)||C(w)||c(w))return w;var T,F=0,se=0;if(d(w))for(T=[],se=w.length;F<se;F++)T.push(n(v,w[F],R));else{T={};for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&(T[v(k,R)]=n(v,w[k],R))}return T},i=function(v,w){w=w||{};var R=w.separator||"_",T=w.split||/(?=[A-Z])/;return v.split(T).join(R)},u=function(v){return E(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(w,R){return R?R.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var w=u(v);return w.substr(0,1).toUpperCase()+w.substr(1)},r=function(v,w){return i(v,w).toLowerCase()},l=Object.prototype.toString,c=function(v){return typeof v=="function"},o=function(v){return v===Object(v)},d=function(v){return l.call(v)=="[object Array]"},m=function(v){return l.call(v)=="[object Date]"},g=function(v){return l.call(v)=="[object RegExp]"},C=function(v){return l.call(v)=="[object Boolean]"},E=function(v){return v=v-0,v===v},_=function(v,w){var R=w&&"process"in w?w.process:w;return typeof R!="function"?v:function(T,F){return R(T,v,F)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(v,w){return n(_(u,w),v)},decamelizeKeys:function(v,w){return n(_(r,w),v,w)},pascalizeKeys:function(v,w){return n(_(a,w),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(rm)})(lm);var Yr={};Object.defineProperty(Yr,"__esModule",{value:!0});function Su(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Su(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Su(i)}return e}}var om=Yr.default=Su;function De(t){if(t!==void 0)return typeof t=="object"?om(t):t}function cm(t){return Object.prototype.toString.call(t)==="[object Object]"}function Au(t){return Array.isArray(t)}function sm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ru(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 dm(t){if(Array.isArray(t))return Ru(t)}function pr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function fm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){pr(a,i,u,r,l,"next",c)}function l(c){pr(a,i,u,r,l,"throw",c)}r(void 0)})}}function hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function el(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 ym(t,e,n){return e&&el(t.prototype,e),n&&el(t,n),t}function tl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vm(){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 Bu(t){return dm(t)||mm(t)||gm(t)||vm()}function gm(t,e){if(!!t){if(typeof t=="string")return Ru(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 Ru(t,e)}}function bm(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var _m=function(){function t(){hm(this,t),tl(this,"_events",new Map),tl(this,"debug",!1)}return ym(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];var r=this;return fm(function(){var l,c,o,d,m,g,C,E,_,I,v,w;return bm(this,function(R){switch(R.label){case 0:if(l=r._events.get(n),c=[],!l)return[3,10];o=l.slice(),d=!0,m=!1,g=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),C=o[Symbol.iterator](),R.label=2;case 2:if(d=(E=C.next()).done)return[3,7];if(_=E.value,!l.includes(_))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),r.debug&&Qr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Bu(u))),[4,_.apply(null,Bu(u))];case 4:return I=R.sent(),r.debug&&Qr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Bu(u),[I])),c.push(I),I===!1?[3,7]:[3,6];case 5:return v=R.sent(),Zy(String(v)+":"+String(v.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return w=R.sent(),m=!0,g=w,[3,10];case 9:try{!d&&C.return!=null&&C.return()}finally{if(m)throw g}return[7];case 10:return[2,c]}})})()}},{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 Cm(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 wm(t,e,n){return e&&nl(t.prototype,e),n&&nl(t,n),t}function Em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Im=[{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"}],Sm=function(){function t(){Cm(this,t)}return wm(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(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();Em(Sm,"events",Im);function Tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Am(t){if(Array.isArray(t))return Tu(t)}function Rm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Bm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function il(t){return Am(t)||Rm(t)||Tm(t)||Bm()}function Tm(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function Du(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==="Designer"&&(t.parent=e,Du(t,"parent"))}function Dm(t,e,n){t.forEach(function(i){ul(i,e,n)})}var al=Symbol("targetKey");function rl(t){var e;return(e=t[al])!==null&&e!==void 0?e:t}function ll(t,e,n){return Dm(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),c=2;c<r;c++)l[c-2]=arguments[c];var o;return a===al?u:(o=Reflect).get.apply(o,[u,a].concat(il(l)))},set:function(u,a,r){for(var l=arguments.length,c=new Array(l>3?l-3:0),o=3;o<l;o++)c[o-3]=arguments[o];var d;if(Au(t)&&a==="length"&&r===t.length)return!0;var m=(d=Reflect).set.apply(d,[u,a,r].concat(il(c)));return cm(r)&&ul(r,e,n),m}})}function ve(t,e,n,i,u){var a=i!=null?i:t,r=ll(rl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(c){r=ll(rl(c),a,u)},enumerable:!0})}function Pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ol(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 xm(t,e,n){return e&&ol(t.prototype,e),n&&ol(t,n),t}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var cl=[],$n=function(){function t(e){Pm(this,t),Pe(this,"registeredControlTypes",new Set),Pe(this,"controlConfigMap",new Map),Pe(this,"_controls",[]),Pe(this,"_type",void 0),this._type=e,this._initControls(e)}return xm(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__||xt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Eu("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===st.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===st.FORM}},{key:"isListControl",value:function(n){return n.controlType===st.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===st.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)})),a.footers&&(a.footers=a.footers.map(function(d){var m;return d&&(m=u.createControl(d,i)),m}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var c=i(l);c&&(l=c)}var o;return r.mode==="Runtime"?(o=l,o.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(o,this)):o=new r(l),o}else xt("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}}),Du(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var c=r[a],o=l[a];if(!(!c&&!o)){var d=o.findIndex(function(C){return C==n}),m=l[c]||[],g;return m.length!==o.length?g=m[0]:g=m[d],g}}}}),Du(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 r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&xt("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(c){return c.Designer.controlType===u.controlType});return l>-1&&(Eu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Pe($n,"staticControlsRuntimeRules",new Map),Pe($n,"staticControls",cl),Pe($n,"staticRegisteredTypes",new Set(cl.map(function(t){return t.Designer.controlType}))),Pe($n,"staticRegisteredConfigs",new Map);function O(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function he(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 Fm(t,e){return e&&(km(e)==="object"||typeof e=="function")?e:O(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pu(t,e)}function km(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Om(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ye(t){var e=Om();return function(){var i=Ln(t),u;if(e){var a=Ln(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Fm(this,u)}}var ge=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(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},sl=function t(e){A(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(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},xu=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"width",void 0),h(O(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(sl),Mm=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new xu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new xu(e==null?void 0:e.mobile):new xu({width:130,minWidth:180})},$m=function t(e){A(this,t),h(this,"type",void 0),h(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:[]},dt=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(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:""},Lm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(dt),dl=function t(e){A(this,t),h(this,"fieldCode",void 0),h(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:""},Fu=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(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(r){return new dl(r)}))!==null&&a!==void 0?a:[]},Nm=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(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},Vm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"title",void 0),h(O(u),"svcCode",void 0),h(O(u),"isOpenFilter",void 0),h(O(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(dt),Hm=function t(e){A(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new dt(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Nm(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new Vm(r)}))!==null&&a!==void 0?a:[]},jm=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(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},Ft=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(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:[]},ku=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,m=new Nn(l);(d=n.children)===null||d===void 0||d.push(m)}}))},Nn=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new jm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ft(e==null?void 0:e.rightVariableBo)},qm=function t(e){A(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ae=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(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:""},Ou=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(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},Um=function t(e){A(this,t),h(this,"columnName",void 0),h(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 Mu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new ku(l):new Nn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new ku(l):new Nn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new Um(l)}))!==null&&r!==void 0?r:[]}var p=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(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 r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var m;(m=n.displayBoList)===null||m===void 0||m.push(new Ou(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Mu.call(this,e)},$u=function t(e){A(this,t),h(this,"dataCode",void 0),h(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:[]},we=function t(e){A(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(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 r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},fl=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(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(r){return new Ou(r)}))!==null&&a!==void 0?a:[]},Vn=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new fl(l)}))!==null&&r!==void 0?r:[],u}return n}(p),Wm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0),h(O(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new fl(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(p),hl=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"rootNode",void 0),h(O(u),"filterCode",void 0),u.rootNode=new Ft(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(Vn),yl=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(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(r){return new ae(r)}))!==null&&a!==void 0?a:[]},ml=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(O(u),"filters",void 0),h(O(u),"viewFilters",void 0),h(O(u),"orders",void 0),Mu.call(O(u),i),u}return n}(yl),vl=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"mode",void 0),h(O(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(yl),gl=function t(e){A(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(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:""},Km=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(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 Ee(t){var e;return(e=t==null?void 0:t.map(function(n){return new Km(n)}))!==null&&e!==void 0?e:[]}var Lu=function t(){A(this,t)},zm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"amount",void 0),h(O(u),"currency",void 0),u.amount=new ge(i==null?void 0:i.amount),u.currency=new ge(i==null?void 0:i.currency),u}return n}(Lu),Gm=function t(e){A(this,t),h(this,"amount",void 0),h(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"},Qm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"min",void 0),h(O(u),"max",void 0),u.min=new ge(i==null?void 0:i.min),u.max=new ge(i==null?void 0:i.max),u}return n}(Lu),Xm=function t(e){A(this,t),h(this,"min",void 0),h(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:""},Jm=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(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 r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Zm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"result",void 0),h(O(u),"unit",void 0),u.result=new ge(i==null?void 0:i.result),u.unit=new ge(i==null?void 0:i.unit),u}return n}(Lu),Ym=function t(e){A(this,t),h(this,"result",void 0),h(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:""},Nu;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Nu||(Nu={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.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"})(s||(s={}));var Vu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vu||(Vu={}));var xe=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(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 r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},pm=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new dl(r)}))!==null&&a!==void 0?a:[],Mu.call(this,e)},ev=function t(e){A(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(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"},tv=function t(e){A(this,t),h(this,"optCode",void 0),h(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:""},nv=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"name",void 0),h(this,"color",void 0),h(this,"filters",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe();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 r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new ku(l):new Nn(l)}))!==null&&r!==void 0?r:[]},iv=function t(e){A(this,t),h(this,"id",void 0),h(this,"script",void 0),h(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:fe();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 uv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t,e,n){return bl()?Hn=Reflect.construct:Hn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Ot(o,r.prototype),o},Hn.apply(null,arguments)}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function av(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ot(t,e)}function rv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function lv(t,e){return e&&(ov(e)==="object"||typeof e=="function")?e:uv(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function ov(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!rv(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 Hn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},ju(t)}function bl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cv(t){var e=bl();return function(){var i=kt(t),u;if(e){var a=kt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return lv(this,u)}}var z=function t(e){Hu(this,t),Fe(this,"isHide",{type:"boolean"})},Ue=function(t){av(n,t);var e=cv(n);function n(i){return Hu(this,n),e.call(this)}return n}(ju(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),Fe(this,"isHide",void 0),Fe(this,"className",void 0),Fe(this,"style",void 0),Fe(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new ev(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Fe(G,"mode",void 0),Fe(G,"Rules",z),Fe(G,"RuntimeRules",Ue);function be(){return be=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},be.apply(this,arguments)}function sv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function qu(t){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(t)}function jn(t,e){return jn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jn(t,e)}function dv(){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 qn(t,e,n){return dv()?qn=Reflect.construct:qn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&jn(o,r.prototype),o},qn.apply(null,arguments)}function fv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=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 qn(i,arguments,qu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),jn(u,i)},Uu(t)}var hv=/%[sdj%]/g,_l=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(_l=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Wu(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 le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(hv,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function yv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Q(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||yv(e)&&typeof t=="string"&&!t)}function mv(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function Cl(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function vv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var wl=function(t){sv(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}(Uu(Error));function gv(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var C=function(I){return i(I),I.length?g(new wl(I,Wu(I))):m()},E=vv(t);Cl(E,n,C)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(m,g){var C=function(_){if(o.push.apply(o,_),c++,c===l)return i(o),o.length?g(new wl(o,Wu(o))):m()};r.length||(i(o),m()),r.forEach(function(E){var _=t[E];a.indexOf(E)!==-1?Cl(_,n,C):mv(_,n,C)})});return d.catch(function(m){return m}),d}function El(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Il(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]=be(be({},t[n]),i):t[n]=i}}return t}function Sl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||Q(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function bv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var Ku={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},Mt={integer:function(e){return Mt.number(e)&&parseInt(e,10)===e},float:function(e){return Mt.number(e)&&!Mt.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"&&!Mt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function _v(t,e,n,i,u){if(t.required&&e===void 0){Sl(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Mt[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function Cv(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,m=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(m?d="number":g?d="string":C&&(d="array"),!d)return!1;C&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var ft="enum";function wv(t,e,n,i,u){t[ft]=Array.isArray(t[ft])?t[ft]:[],t[ft].indexOf(e)===-1&&i.push(le(u.messages[ft],t.fullField,t[ft].join(", ")))}function Ev(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(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(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var B={required:Sl,whitespace:bv,type:_v,range:Cv,enum:wv,pattern:Ev};function Iv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"string")&&!t.required)return n();B.required(t,e,i,a,u,"string"),Q(e,"string")||(B.type(t,e,i,a,u),B.range(t,e,i,a,u),B.pattern(t,e,i,a,u),t.whitespace===!0&&B.whitespace(t,e,i,a,u))}n(a)}function Sv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function Av(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Rv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function Bv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),Q(e)||B.type(t,e,i,a,u)}n(a)}function Tv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Dv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Pv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();B.required(t,e,i,a,u,"array"),e!=null&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function xv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}var Fv="enum";function kv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B[Fv](t,e,i,a,u)}n(a)}function Ov(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"string")&&!t.required)return n();B.required(t,e,i,a,u),Q(e,"string")||B.pattern(t,e,i,a,u)}n(a)}function Mv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"date")&&!t.required)return n();if(B.required(t,e,i,a,u),!Q(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),B.type(t,l,i,a,u),l&&B.range(t,l.getTime(),i,a,u)}}n(a)}function $v(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;B.required(t,e,i,a,u,r),n(a)}function zu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Q(e,a)&&!t.required)return n();B.required(t,e,i,r,u,a),Q(e,a)||B.type(t,e,i,r,u)}n(r)}function Lv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u)}n(a)}var $t={string:Iv,method:Sv,number:Av,boolean:Rv,regexp:Bv,integer:Tv,float:Dv,array:Pv,object:xv,enum:kv,pattern:Ov,date:Mv,url:zu,hex:zu,email:zu,required:$v,any:Lv};function Gu(){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 Qu=Gu();function ke(t){this.rules=null,this._messages=Qu,this.define(t)}ke.prototype={messages:function(e){return e&&(this._messages=Il(Gu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(_){var I,v=[],w={};function R(T){if(Array.isArray(T)){var F;v=(F=v).concat.apply(F,T)}else v.push(T)}for(I=0;I<_.length;I++)R(_[I]);v.length?w=Wu(v):(v=null,w=null),l(v,w)}if(r.messages){var o=this.messages();o===Qu&&(o=Gu()),Il(o,r.messages),r.messages=o}else r.messages=this.messages();var d,m,g={},C=r.keys||Object.keys(this.rules);C.forEach(function(_){d=u.rules[_],m=a[_],d.forEach(function(I){var v=I;typeof v.transform=="function"&&(a===e&&(a=be({},a)),m=a[_]=v.transform(m)),typeof v=="function"?v={validator:v}:v=be({},v),v.validator=u.getValidationMethod(v),v.field=_,v.fullField=v.fullField||_,v.type=u.getType(v),v.validator&&(g[_]=g[_]||[],g[_].push({rule:v,value:m,source:a,field:_}))})});var E={};return gv(g,r,function(_,I){var v=_.rule,w=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");w=w&&(v.required||!v.required&&_.value),v.field=_.field;function R(se,k){return be(be({},k),{},{fullField:v.fullField+"."+se})}function T(se){se===void 0&&(se=[]);var k=se;if(Array.isArray(k)||(k=[k]),!r.suppressWarning&&k.length&&ke.warning("async-validator:",k),k.length&&v.message!==void 0&&(k=[].concat(v.message)),k=k.map(El(v)),r.first&&k.length)return E[v.field]=1,I(k);if(!w)I(k);else{if(v.required&&!_.value)return v.message!==void 0?k=[].concat(v.message).map(El(v)):r.error&&(k=[r.error(v,le(r.messages.required,v.field))]),I(k);var de={};if(v.defaultField)for(var xn in _.value)_.value.hasOwnProperty(xn)&&(de[xn]=v.defaultField);de=be(be({},de),_.rule.fields);for(var Ae in de)if(de.hasOwnProperty(Ae)){var mu=Array.isArray(de[Ae])?de[Ae]:[de[Ae]];de[Ae]=mu.map(R.bind(null,Ae))}var Fn=new ke(de);Fn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Fn.validate(_.value,_.rule.options||r,function(Rt){var Re=[];k&&k.length&&Re.push.apply(Re,k),Rt&&Rt.length&&Re.push.apply(Re,Rt),I(Re.length?Re:null)})}}var F;v.asyncValidator?F=v.asyncValidator(v,_.value,T,_.source,r):v.validator&&(F=v.validator(v,_.value,T,_.source,r),F===!0?T():F===!1?T(v.message||v.field+" fails"):F instanceof Array?T(F):F instanceof Error&&T(F.message)),F&&F.then&&F.then(function(){return T()},function(se){return T(se)})},function(_){c(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!$t.hasOwnProperty(e.type))throw new Error(le("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"?$t.required:$t[this.getType(e)]||!1}},ke.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");$t[e]=n},ke.warning=_l,ke.messages=Qu,ke.validators=$t;var Nv={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 Vv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ke(t);return n.messages(Object.assign(Nv,e)),n}var Hv=new _m;function Xu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function jv(t){if(Array.isArray(t))return t}function qv(t){if(Array.isArray(t))return Xu(t)}function Al(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Rl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Al(a,i,u,r,l,"next",c)}function l(c){Al(a,i,u,r,l,"throw",c)}r(void 0)})}}function Uv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bl(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 Wv(t,e,n){return e&&Bl(t.prototype,e),n&&Bl(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Dl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Kv(){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 zv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pl(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){M(t,u,n[u])})}return t}function Gv(t){return jv(t)||Dl(t)||xl(t)||Kv()}function Ju(t){return qv(t)||Dl(t)||xl(t)||zv()}function xl(t,e){if(!!t){if(typeof t=="string")return Xu(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 Xu(t,e)}}function Fl(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var $=function(){function e(n){var i=this;Uv(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",Ol),M(this,"removeSetting",kl),this._callControlHooks("preInstance",n);var u=Tl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,c=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,m=u.name,g=u.setting;a&&r&&l||Xr("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:fe(10),this.name=a,this.icon=r;var E;this.type=(E=n==null?void 0:n.type)!==null&&E!==void 0?E:l,this.props=new G(n==null?void 0:n.props,(Tl(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=De(g);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:c,this.eventKeys=De(o),this.customEvents=De(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Wv(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 r,l=Gv(u),c=l[0],o=l.slice(1);return(r=Hv).emit.apply(r,[c,this].concat(Ju(o)))}},{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),am(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Rl(function(){var u,a,r;return Fl(this,function(l){switch(l.label){case 0:return u=Pl({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return Rl(function(){var r,l,c,o;return Fl(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:Pl({},a.rules),Array.isArray(u)&&u.forEach(function(m){l.hasOwnProperty(m)&&delete l[m]}),c=Vv(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,c.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,c=l.dataBind,o=l.datasourceBind,d=l.optionConfig,m=l.caption,g=l.required,C=l.maxLength,E=l.options,_=l.encrypted,I=l.encryptedMode;if(!(!u&&!c&&!o)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(c&&(v.dataBind=c),d){case"datasource":case void 0:o&&(v.datasourceBind=o);break;case"custom":v.props.options=E;break}return g!==void 0&&(v.required=g),C!==void 0&&(v.maxLength=C),_!==void 0&&(v.encrypted=_),I!==void 0&&(v.encryptedMode=I),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:De(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,Ju(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M($,"mode","Designer"),M($,"controlName","\u63A7\u4EF6"),M($,"controlIcon","icon"),M($,"controlType","control"),M($,"controlFieldType",void 0),M($,"controlEventKeys",[]),M($,"controlCustomEvents",[]),M($,"setting",[]),M($,"__is_control__",!0),M($,"removeSettingItem",kl),M($,"updateSettingItem",Ol);function kl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,c;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((c=e.setting[r].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(r,1)}})}function Ol(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Ju(e.showItems))}}}})}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ml(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&&Ml(t.prototype,e),n&&Ml(t,n),t}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Qv(this,e),oe(this,"id",void 0),oe(this,"type",void 0),oe(this,"controlType",void 0),oe(this,"props",void 0),oe(this,"fieldType",void 0),oe(this,"customEvents",[]),oe(this,"pageStatus",void 0),oe(this,"parent",null);var i=Jv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Xr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:fe(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vu.UNKNOWN}return Xv(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}();oe(X,"mode","Runtime"),oe(X,"controlType","control"),oe(X,"controlFieldType",void 0),oe(X,"__is_control__",!0),oe(X,"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:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=sm(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function Un(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function Zv(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(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 zn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yu(t,e)}function Yv(t,e){return e&&(pv(e)==="object"||typeof e=="function")?e:L(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}function pv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gn(t){var e=eg();return function(){var i=Kn(t),u;if(e){var a=Kn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Yv(this,u)}}var ee=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;u=e.call(this,i),N(L(u),"dataBind",{}),N(L(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),N(L(u),"isHideCaption",{type:"boolean"}),N(L(u),"labelPosition",{type:"enum",enum:["top","left"]}),N(L(u),"defaultState",{type:"enum",enum:["default","readonly"]}),N(L(u),"required",{type:"boolean"}),N(L(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Zv(i.dataBind))u.dataBind={type:"object",required:!0,fields:De(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:De(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(z),V=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;u=e.call(this,i);var a=i.isHide?!1:i.required;return a&&u.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ue),D=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;u=e.call(this,i),N(L(u),"caption",void 0),N(L(u),"isHideCaption",void 0),N(L(u),"isShowCaptionTip",void 0),N(L(u),"captionTip",void 0),N(L(u),"labelPosition",void 0),N(L(u),"dataBind",void 0),N(L(u),"defaultValue",void 0),N(L(u),"placeholder",void 0),N(L(u),"defaultState",void 0),N(L(u),"required",void 0),N(L(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",u.dataBind=new ge(i==null?void 0:i.dataBind);var E;return u.defaultValue=(E=i==null?void 0:i.defaultValue)!==null&&E!==void 0?E:"",u}return n}(G);N(D,"Rules",ee),N(D,"RuntimeRules",V);var ht=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;return u=e.call(this,i),N(L(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),N(L(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),N(L(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Zu.call(L(u),i),u}return n}(ee);function pu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(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 ng(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&&ea(t,e)}function ig(t,e){return e&&(ug(e)==="object"||typeof e=="function")?e:pu(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function ug(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rg(t){var e=ag();return function(){var i=Xn(t),u;if(e){var a=Xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ig(this,u)}}var P=function(t){ng(n,t);var e=rg(n);function n(i){tg(this,n);var u;return u=e.call(this,i),Qn(pu(u),"controlType","form"),Qn(pu(u),"props",void 0),u.props=new D(i==null?void 0:i.props),u}return n}($);Qn(P,"controlEventKeys",["on_change","on_focus","on_blur"]),Qn(P,"controlCustomAttributes",void 0);function Jn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(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 og(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 cg(t,e){return e&&(sg(e)==="object"||typeof e=="function")?e:Jn(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function sg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fg(t){var e=dg();return function(){var i=Zn(t),u;if(e){var a=Zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cg(this,u)}}var x=function(t){og(n,t);var e=fg(n);function n(i){lg(this,n);var u;return u=e.call(this,i),ta(Jn(u),"controlType","form"),ta(Jn(u),"props",void 0),ta(Jn(u),"value",void 0),u.props=new D(i==null?void 0:i.props),u}return n}(X);function hg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function mg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function vg(t,e){return e&&(gg(e)==="object"||typeof e=="function")?e:hg(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function gg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _g(t){var e=bg();return function(){var i=Yn(t),u;if(e){var a=Yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return vg(this,u)}}var H=function(t){mg(n,t);var e=_g(n);function n(i){return yg(this,n),e.call(this,i)}return n}(G);function ua(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 Cg(t){if(Array.isArray(t))return ua(t)}function We(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $l(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function wg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){$l(a,i,u,r,l,"next",c)}function l(c){$l(a,i,u,r,l,"throw",c)}r(void 0)})}}function Eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ll(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ig(t,e,n){return e&&Ll(t.prototype,e),n&&Ll(t,n),t}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(u,a,r){var l=Fg(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},yt(t,e,n||t)}function Me(t){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Me(t)}function Sg(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&&aa(t,e)}function Ag(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Rg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Bg(){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 Tg(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){Oe(t,u,n[u])})}return t}function Dg(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 Pg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Dg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function xg(t,e){return e&&(kg(e)==="object"||typeof e=="function")?e:We(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function Fg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Me(t),t!==null););return t}function Nl(t){return Cg(t)||Rg(t)||Og(t)||Bg()}function kg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Og(t,e){if(!!t){if(typeof t=="string")return ua(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 ua(t,e)}}function Mg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $g(t){var e=Mg();return function(){var i=Me(t),u;if(e){var a=Me(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xg(this,u)}}function Lg(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Ng=1e4,q=function(e){Sg(i,e);var n=$g(i);function i(u){Eg(this,i);var a;a=n.call(this,u),Oe(We(a),"controlType","layout"),Oe(We(a),"children",void 0),Oe(We(a),"excludes",void 0),Oe(We(a),"childrenMaxLength",void 0),Oe(We(a),"props",void 0);var r=Ag(this,i)?this.constructor:void 0,l=r.excludes,c=r.childrenMaxLength;return a.props=new H(u==null?void 0:u.props),ve(We(a),"children",u==null?void 0:u.children,void 0,"Designer"),a.excludes=De(l),a.childrenMaxLength=c,a}return Ig(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,c=this,o=function(){return yt(Me(i.prototype),"validate",l)};return wg(function(){return Lg(this,function(d){switch(d.label){case 0:return[4,o().call(c,a,r)];case 1:return d.sent(),[4,Promise.all(c.children.map(function(m){return m.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=yt(Me(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(c,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var m=d.filter(function(g){return!!g});return Nl(c).concat(Nl(m))}return d&&c.push(d),c},l)}},{key:"toSchema",value:function(){var a=yt(Me(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var c=l.toSchema();return c});return Pg(Tg({},a),{children:r})}}]),i}($);Oe(q,"excludes",!1),Oe(q,"childrenMaxLength",Ng);function Lt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ra(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function Hg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&la(t,e)}function jg(t,e){return e&&(qg(e)==="object"||typeof e=="function")?e:Lt(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function qg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ug(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wg(t){var e=Ug();return function(){var i=pn(t),u;if(e){var a=pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return jg(this,u)}}var U=function(t){Hg(n,t);var e=Wg(n);function n(i){Vg(this,n);var u;return u=e.call(this,i),ra(Lt(u),"controlType","layout"),ra(Lt(u),"children",void 0),ra(Lt(u),"props",void 0),u.props=new H(i==null?void 0:i.props),ve(Lt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(X);function Ie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(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){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(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&&oa(t,e)}function Gg(t,e){return e&&(Qg(e)==="object"||typeof e=="function")?e:Ie(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function Qg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jg(t){var e=Xg();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Gg(this,u)}}var ti=function(t){zg(n,t);var e=Jg(n);function n(i,u,a){Kg(this,n);var r;r=e.call(this,u),mt(Ie(r),"headers",void 0),mt(Ie(r),"footers",void 0),mt(Ie(r),"pageIndex",void 0),mt(Ie(r),"pageSize",void 0),mt(Ie(r),"pageSizeOptions",void 0),mt(Ie(r),"totalCount",void 0),ve(Ie(r),"headers",u==null?void 0:u.headers,i,a),ve(Ie(r),"footers",u==null?void 0:u.footers,i);var l;r.pageIndex=(l=u==null?void 0:u.pageIndex)!==null&&l!==void 0?l:1;var c;r.pageSize=(c=u==null?void 0:u.pageSize)!==null&&c!==void 0?c:20;var o;r.pageSizeOptions=(o=u==null?void 0:u.pageSizeOptions)!==null&&o!==void 0?o:[20];var d;return r.totalCount=(d=u==null?void 0:u.totalCount)!==null&&d!==void 0?d:0,r}return n}(G);function ca(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 Zg(t){if(Array.isArray(t))return ca(t)}function ni(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Yg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Vl(a,i,u,r,l,"next",c)}function l(c){Vl(a,i,u,r,l,"throw",c)}r(void 0)})}}function pg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e0(t,e,n){return e&&Hl(t.prototype,e),n&&Hl(t,n),t}function ii(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vt=Reflect.get:vt=function(u,a,r){var l=r0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},vt(t,e,n||t)}function $e(t){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$e(t)}function t0(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&&sa(t,e)}function n0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function i0(){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 jl(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){ii(t,u,n[u])})}return t}function u0(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 ql(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):u0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function a0(t,e){return e&&(l0(e)==="object"||typeof e=="function")?e:ni(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function r0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=$e(t),t!==null););return t}function Ul(t){return Zg(t)||n0(t)||o0(t)||i0()}function l0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function o0(t,e){if(!!t){if(typeof t=="string")return ca(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 ca(t,e)}}function c0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function s0(t){var e=c0();return function(){var i=$e(t),u;if(e){var a=$e(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return a0(this,u)}}function d0(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var da=function(t){t0(n,t);var e=s0(n);function n(i){pg(this,n);var u;return u=e.call(this,i),ii(ni(u),"controlType","list"),ii(ni(u),"props",void 0),u.props=new ti(ni(u),i==null?void 0:i.props,"Designer"),u}return e0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return vt($e(n.prototype),"validate",r)};return Yg(function(){return d0(this,function(o){switch(o.label){case 0:return[4,c().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=vt($e(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,c){var o=c.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(m){return!!m});return Ul(l).concat(Ul(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u,a,r=vt($e(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()}),c=(a=this.props)===null||a===void 0||(u=a.footers)===null||u===void 0?void 0:u.map(function(o){if(o)return o.toSchema()});return ql(jl({},r),{props:ql(jl({},this.props),{headers:l,footers:c})})}}]),n}($);ii(da,"controlFieldType",b.LIST);function gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wl(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 h0(t,e,n){return e&&Wl(t.prototype,e),n&&Wl(t,n),t}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 ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function y0(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 m0(t,e){return e&&(v0(e)==="object"||typeof e=="function")?e:gt(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function v0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function g0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function b0(t){var e=g0();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return m0(this,u)}}var Kl=function(t){y0(n,t);var e=b0(n);function n(i){f0(this,n);var u;return u=e.call(this,i),fa(gt(u),"controlType","list"),fa(gt(u),"children",void 0),fa(gt(u),"props",void 0),u.props=new ti(gt(u),i==null?void 0:i.props,"Runtime"),ve(gt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return h0(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function ma(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&&va(t,e)}function _0(t,e){return e&&(C0(e)==="object"||typeof e=="function")?e:J(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function C0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ga(t){var e=w0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _0(this,u)}}var _e=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),te(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(z),W=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;u=e.call(this,i),te(J(u),"widthType",void 0),te(J(u),"width",void 0),te(J(u),"caption",void 0),te(J(u),"dataBind",void 0),te(J(u),"autoWidth",void 0),te(J(u),"fixed",void 0),te(J(u),"sort",void 0),te(J(u),"align",void 0),te(J(u),"colSpan",void 0),te(J(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new sl(i==null?void 0:i.autoWidth),u.dataBind=new ge(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);te(W,"Rules",_e);var zl=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),te(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Zu.call(J(u),i),u}return n}(_e);function ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(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 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&&_a(t,e)}function S0(t,e){return e&&(A0(e)==="object"||typeof e=="function")?e:ba(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function A0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function R0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function B0(t){var e=R0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return S0(this,u)}}var Z=function(t){I0(n,t);var e=B0(n);function n(i){E0(this,n);var u;return u=e.call(this,i),Gl(ba(u),"controlType","column"),Gl(ba(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}($);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(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 D0(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 P0(t,e){return e&&(x0(e)==="object"||typeof e=="function")?e:Ca(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function x0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function F0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function k0(t){var e=F0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return P0(this,u)}}var Y=function(t){D0(n,t);var e=k0(n);function n(i){T0(this,n);var u;return u=e.call(this,i),Ql(Ca(u),"controlType","column"),Ql(Ca(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}(X);function Xl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function $0(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&&Ea(t,e)}function L0(t,e){return e&&(N0(e)==="object"||typeof e=="function")?e:Xl(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function N0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function H0(t){var e=V0();return function(){var i=oi(t),u;if(e){var a=oi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return L0(this,u)}}var Ia=function(t){$0(n,t);var e=H0(n);function n(i){O0(this,n);var u;return u=e.call(this,i),M0(Xl(u),"dataBind",void 0),u.dataBind=new ge(i==null?void 0:i.dataBind),u}return n}(H);function Sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(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&&Aa(t,e)}function U0(t,e){return e&&(W0(e)==="object"||typeof e=="function")?e:Sa(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function W0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function K0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function z0(t){var e=K0();return function(){var i=ci(t),u;if(e){var a=ci(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return U0(this,u)}}var G0=function(t){q0(n,t);var e=z0(n);function n(i){j0(this,n);var u;return u=e.call(this,i),Jl(Sa(u),"controlType","search"),Jl(Sa(u),"props",void 0),u.props=new Ia(i==null?void 0:i.props),u}return n}(q);function Ra(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(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&&Ba(t,e)}function J0(t,e){return e&&(Z0(e)==="object"||typeof e=="function")?e:Ra(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function Z0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function p0(t){var e=Y0();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return J0(this,u)}}var eb=function(t){X0(n,t);var e=p0(n);function n(i){Q0(this,n);var u;return u=e.call(this,i),Zl(Ra(u),"controlType","search"),Zl(Ra(u),"props",void 0),u.props=new Ia(i==null?void 0:i.props),u}return n}(U);function tb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function ib(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function ub(t,e){return e&&(ab(e)==="object"||typeof e=="function")?e:tb(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function ab(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function lb(t){var e=rb();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ub(this,u)}}var Da=function(t){ib(n,t);var e=lb(n);function n(i){return nb(this,n),e.call(this,i)}return n}(H);function Pa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ob(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function cb(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&&xa(t,e)}function sb(t,e){return e&&(db(e)==="object"||typeof e=="function")?e:Pa(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function db(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function hb(t){var e=fb();return function(){var i=fi(t),u;if(e){var a=fi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return sb(this,u)}}var yb=function(t){cb(n,t);var e=hb(n);function n(i){ob(this,n);var u;return u=e.call(this,i),Yl(Pa(u),"controlType","wrap"),Yl(Pa(u),"props",void 0),u.props=new Da(i==null?void 0:i.props),u}return n}(q);function Fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function vb(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&&ka(t,e)}function gb(t,e){return e&&(bb(e)==="object"||typeof e=="function")?e:Fa(t)}function ka(t,e){return ka=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ka(t,e)}function bb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _b(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Cb(t){var e=_b();return function(){var i=hi(t),u;if(e){var a=hi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return gb(this,u)}}var wb=function(t){vb(n,t);var e=Cb(n);function n(i){mb(this,n);var u;return u=e.call(this,i),pl(Fa(u),"controlType","wrap"),pl(Fa(u),"props",void 0),u.props=new Da(i==null?void 0:i.props),u}return n}(U);function Le(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Oa extends G{constructor(e){var n,i,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57",this.align=(l=e==null?void 0:e.align)!=null?l:""}}class eo extends ${constructor(e){super(e),this.props=new Oa(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:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Eb extends X{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"text"}}var to={Designer:eo,Runtime:Eb,Property:Oa};class Ma extends G{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 $a extends ${constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}$a.controlEventKeys=["on_click"],$a.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Ib extends X{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"link"}}var no={Designer:$a,Runtime:Ib,Property:Ma};class ie extends G{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new tv((d=e==null?void 0:e.optObj)!=null?d:{})}}class ue extends ${constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ce extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var io={Designer:ue,Runtime:ce,Property:ie},Ne=(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))(Ne||{}),uo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(uo||{}),ao=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(ao||{});class yi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var La=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(La||{});class mi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Na=(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))(Na||{});class Va{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Ft((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new Ft((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new Ft((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class ro{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Va(c)))!=null?u:[new Va],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Ha{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class ja{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 ja(e==null?void 0:e.watermark),this.autoRename=new ja(e==null?void 0:e.autoRename)}}const oo=480;function Nt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class co{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class so{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 fo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(fo||{}),qa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(qa||{}),vi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(vi||{}),Ve=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Ve||{}),Ua=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ua||{});class Wa 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:Na.SOLID}}class ho extends ${constructor(e){super(e),this.props=new Wa(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:[s.IS_HIDE]}];class Sb extends X{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var yo={Designer:ho,Runtime:Sb,Property:Wa};class Ab extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Ne.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class gi extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new ge(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ne.ShowSubmitUser,Ne.ShowSubmitDept,Ne.ShowSubmitTime,Ne.ShowCurrentApprovar,Ne.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:bt==null?void 0:bt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}gi.Rules=Ab;class bt extends ${constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}bt.controlFieldType=b.AUTO_NUMBER,bt.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Rb extends X{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"title"}}var mo={Designer:bt,Runtime:Rb,Property:gi};class Bb extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class bi extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Vt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}bi.Rules=Bb;class Vt extends ue{constructor(e){super(e),this.props=new bi(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"}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Tb extends ce{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var vo={Designer:Vt,Runtime:Tb,Property:bi};class Db extends z{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class _i extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ht.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}_i.Rules=Db;class Ht extends ue{constructor(e){super(e),this.props=new _i(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"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 Pb extends ce{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var go={Designer:Ht,Runtime:Pb,Property:_i};class Ka extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon}}class jt extends ue{constructor(e){super(e),this.props=new Ka(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"}}jt.controlEventKeys=["on_click"],jt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class xb extends ce{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var bo={Designer:jt,Runtime:xb,Property:Ka};class za extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:qt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Ha(l)))!=null?r:[new Ha({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class qt extends ue{constructor(e){super(e),this.props=new za(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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 Fb extends ce{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var _o={Designer:qt,Runtime:Fb,Property:za};class Ga extends ie{constructor(e){var n,i;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}}class Ut extends ue{constructor(e){super(e),this.props=new Ga(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"}}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:"super-setting",visible:!0}];class kb extends ce{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Co={Designer:Ut,Runtime:kb,Property:Ga};class Ob{constructor(e){this.dataCode=e.dataCode}}class Qa extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new Ob(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Wt extends ue{constructor(e){super(e),this.props=new Qa(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"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class Mb extends ce{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var wo={Designer:Wt,Runtime:Mb,Property:Qa};function Ci(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class $b extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Be({},Ci())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Be({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ci())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class wi extends ie{constructor(e){var n,i,u;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,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new ml(e==null?void 0:e.fillPayload),this.formBind=new Lm(e==null?void 0:e.formBind),this.fillBack=new vl(e==null?void 0:e.fillBack)}}wi.Rules=$b;class Kt extends ue{constructor(e){super(e),this.props=new wi(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"}}Kt.controlEventKeys=["on_click","on_click_finish"],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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Lb extends ce{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Eo={Designer:Kt,Runtime:Lb,Property:wi};class Nb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Be({},Ci())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Be({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ci())}}}class Ei extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new ml(e==null?void 0:e.fillPayload),this.listPageBind=new Fu(e==null?void 0:e.listPageBind),this.fillBack=new vl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig)}}Ei.Rules=Nb;class zt extends ue{constructor(e){super(e),this.props=new Ei(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"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Vb extends ce{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Io={Designer:zt,Runtime:Vb,Property:Ei};class Hb extends z{constructor(e){super(e)}}class jb extends Ue{constructor(e){super(e)}}class Gt extends G{constructor(e){super(e)}}Gt.Rules=Hb,Gt.RuntimeRules=jb;class So extends ${constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}So.setting=[];class qb extends X{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Ao={Designer:So,Runtime:qb,Property:Gt};class Ub extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ii extends G{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Ii.Rules=Ub;class Ro extends ${constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ro.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Wb extends X{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Bo={Designer:Ro,Runtime:Wb,Property:Ii};class Kb extends z{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Si 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 pm(a)))!=null?u:[]}}Si.Rules=Kb;class To extends ${constructor(e){super(e),this.props=new Si(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"}}To.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class zb extends X{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Do={Designer:To,Runtime:zb,Property:Si};class Gb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ai extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_t.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:_t.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:_t.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ae(g)))!=null?m:[]}}Ai.Rules=Gb;class _t extends ue{constructor(e){super(e),this.props=new Ai(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"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Qb extends ce{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Po={Designer:_t,Runtime:Qb,Property:Ai};class Xb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ri extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ct.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Ct.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ae(g)))!=null?m:[]}}Ri.Rules=Xb;class Ct extends ue{constructor(e){super(e),this.props=new Ri(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Jb extends ce{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var xo={Designer:Ct,Runtime:Jb,Property:Ri};class Zb extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Bi extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Qt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new co(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Bi.Rules=Zb;class Qt extends ue{constructor(e){super(e),this.props=new Bi(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"}}Qt.controlEventKeys=["on_click","on_click_finish"],Qt.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 Yb extends ce{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Fo={Designer:Qt,Runtime:Yb,Property:Bi};class Xa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.controlIcon}}class Xt extends ue{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Xt.controlEventKeys=["on_click"],Xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class pb extends ce{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var ko={Designer:Xt,Runtime:pb,Property:Xa};class e_ extends z{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Ti extends G{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Ti.Rules=e_;class Di extends ${constructor(e){super(e),this.props=new Ti(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"}}Di.controlEventKeys=["on_click"],Di.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class t_ extends X{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Oo={Designer:Di,Runtime:t_,Property:Ti};class Ja extends G{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Jt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Jt extends ${constructor(e){super(e),this.props=new Ja(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"}}Jt.controlEventKeys=["on_click"],Jt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class n_ extends X{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Mo={Designer:Jt,Runtime:n_,Property:Ja},i_=Object.freeze({__proto__:null,Text:to,Link:no,Button:io,Divider:yo,Title:mo,CreateFormListButton:vo,BatchSubmissionListButton:go,SubmissionRecordListButton:bo,ExportListButton:_o,ExportRecordListButton:Co,ImportRecordListButton:wo,FormSelectButton:Eo,ListSelectButton:Io,Pagination:Ao,Dashboard:Bo,ListViewSelect:Do,TextOcrButton:Po,InvoiceCheckButton:xo,BatchPrintListButton:Fo,BatchPrintRecordListButton:ko,OperationButton:Oo,BatchDeleteButton:Mo});class u_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class a_ extends V{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new gl(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:Et.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}wt.Rules=u_,wt.RuntimeRules=a_;class Et extends P{constructor(e){super(e),this.props=new wt(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"}}Et.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Et.controlFieldType=b.VARCHAR,Et.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class $o extends x{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}$o.controlFieldType=b.VARCHAR;var Lo={Designer:Et,Runtime:$o,Property:wt};class r_ extends ht{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class l_ extends V{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 Zt extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Yt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new ae(_))}))}}Zt.Rules=r_,Zt.RuntimeRules=l_;class Yt extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=b.ARRAY,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class No extends x{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}No.controlFieldType=b.ARRAY;var Vo={Designer:Yt,Runtime:No,Property:Zt};class o_ extends ht{constructor(e){super(e)}}class Pi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:pt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",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 E;(E=this.multistageFilling)==null||E.push(new ae(C))}))}}Pi.Rules=o_;class pt extends P{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}pt.controlEventKeys=["on_change","on_click"],pt.controlFieldType=b.VARCHAR,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Ho extends x{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Ho.controlFieldType=b.VARCHAR;var jo={Designer:pt,Runtime:Ho,Property:Pi};class c_ extends ee{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class s_ extends V{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:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class en extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:tn.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new gl(e==null?void 0:e.regularRules)}}en.Rules=c_,en.RuntimeRules=s_;class tn extends P{constructor(e){super(e),this.props=new en(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}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=b.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class qo extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"number"}}qo.controlFieldType=b.DECIMAL;var Uo={Designer:tn,Runtime:qo,Property:en};class Za extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:xi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(C=>new yi(C)))!=null?d:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class xi extends P{constructor(e){super(e),this.props=new Za(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}}xi.controlFieldType=b.TIMESTAMP,xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wo extends x{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Wo.controlFieldType=b.TIMESTAMP;var Ko={Designer:xi,Runtime:Wo,Property:Za};class d_ extends V{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 Fi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.dataBind=new Qm(e==null?void 0:e.dataBind),this.defaultValue=new Xm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:ki.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(C=>new yi(C)))!=null?g:[]}}Fi.RuntimeRules=d_;class ki extends P{constructor(e){super(e),this.props=new Fi(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}}ki.controlFieldType=b.TIMESCOPE,ki.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zo extends x{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}zo.controlFieldType=b.TIMESCOPE;var Go={Designer:ki,Runtime:zo,Property:Fi};class f_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class h_ extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class nn extends D{constructor(e){var n,i,u,a,r,l,c;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:un.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4,this.autoSize=(c=e==null?void 0:e.autoSize)!=null?c:!1,this.maxRows=e==null?void 0:e.maxRows}}nn.Rules=f_,nn.RuntimeRules=h_;class un extends P{constructor(e){super(e),this.props=new nn(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"}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=b.TEXT,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Qo extends x{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Qo.controlFieldType=b.TEXT;var Xo={Designer:un,Runtime:Qo,Property:nn};class y_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class m_ extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class an extends D{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:rn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}an.Rules=y_,an.RuntimeRules=m_;class rn extends P{constructor(e){super(e),this.props=new an(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"}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=b.TEXT,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Jo extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Jo.controlFieldType=b.TEXT;var Zo={Designer:rn,Runtime:Jo,Property:an};class v_ extends ht{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Oi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.options=Ee((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 p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Mi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var C;(C=this.multistageFilling)==null||C.push(new ae(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}Oi.Rules=v_;class Mi extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Mi.controlFieldType=b.VARCHAR,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Yo extends x{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"select"}}Yo.controlFieldType=b.VARCHAR;var po={Designer:Mi,Runtime:Yo,Property:Oi};class g_ extends ht{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class b_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ln extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Ee((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 p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:$i.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}ln.Rules=g_,ln.RuntimeRules=b_;class $i extends P{constructor(e){super(e),this.props=new ln(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"}}$i.controlFieldType=b.ARRAY,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class ec extends x{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ec.controlFieldType=b.ARRAY;var tc={Designer:$i,Runtime:ec,Property:ln};class __ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Li extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Ni.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))}))}}Li.RuntimeRules=__;class Ni extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ni.controlFieldType=b.EMPLOYEES,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class nc extends x{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"employee"}}nc.controlFieldType=b.EMPLOYEES;var ic={Designer:Ni,Runtime:nc,Property:Li};const C_=10485760,w_=104857600,E_=1048576e3;class I_ extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:E_,message:f.getMessage("attachmentMaxSize")}}}class S_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class It extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;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=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:w_,this.caption=(o=e==null?void 0:e.caption)!=null?o:St.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{}}}It.Rules=I_,It.RuntimeRules=S_;class St extends P{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}St.controlEventKeys=["on_change"],St.controlFieldType=b.FILE,St.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ya extends x{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ya.controlFieldType=b.FILE;var uc={Designer:St,Runtime:Ya,Property:It};const ac=class extends St{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:ac.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let pa=ac;pa.controlFieldType=b.IMAGE,pa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class A_ extends Ya{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class R_ extends It{constructor(e){super(e)}}var rc={Designer:pa,Runtime:A_,Property:R_};class B_ extends ht{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class T_ extends V{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:[kn(Be({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class on extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new zm(e==null?void 0:e.dataBind),this.datasourceBind=new p((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Ou({value:"name"})]}),this.defaultValue=new Gm((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:Nu.CNY}),this.options=Ee(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:cn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}on.Rules=B_,on.RuntimeRules=T_;class cn extends P{constructor(e){super(e),this.props=new on(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}}cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],cn.controlFieldType=b.MONEY,cn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class lc extends x{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"amount"}}lc.controlFieldType=b.MONEY;var oc={Designer:cn,Runtime:lc,Property:on};class D_ extends ee{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class P_ extends V{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:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class sn extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:La.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new mi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new mi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:dn.controlName}}sn.Rules=D_,sn.RuntimeRules=P_;class dn extends P{constructor(e){super(e),this.props=new sn(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 mi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}dn.controlEventKeys=["on_change","on_click"],dn.controlFieldType=b.DECIMAL,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cc extends x{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"score"}}cc.controlFieldType=b.DECIMAL;var sc={Designer:dn,Runtime:cc,Property:sn};class x_ extends V{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:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Vi extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hi.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 Jm((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}Vi.RuntimeRules=x_;class Hi extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Hi.controlFieldType=b.ADDRESS,Hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class dc extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}dc.controlFieldType=b.ADDRESS;var fc={Designer:Hi,Runtime:dc,Property:Vi};class F_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ji extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:fn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\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 E;(E=this.multistageFilling)==null||E.push(new ae(C))}))}}ji.RuntimeRules=F_;class fn extends P{constructor(e){super(e),this.props=new ji(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}}fn.controlName="\u90E8\u95E8",fn.controlFieldType=b.DEPARTMENTS,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class hc extends x{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"department"}}hc.controlFieldType=b.DEPARTMENTS;var yc={Designer:fn,Runtime:hc,Property:ji};class er extends D{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:hn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class hn extends P{constructor(e){super(e),this.props=new er(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"}}hn.controlEventKeys=["on_change"],hn.controlFieldType=b.AUTO_NUMBER,hn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class mc extends x{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}mc.controlFieldType=b.AUTO_NUMBER;var vc={Designer:hn,Runtime:mc,Property:er};class k_ extends ee{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 O_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class yn extends D{constructor(e){var n,i,u,a,r,l,c,o;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 Zm(e==null?void 0:e.dataBind),this.defaultValue=new Ym(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:mn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(o=e==null?void 0:e.calcOnMounted)!=null?o:!1}}yn.Rules=k_,yn.RuntimeRules=O_;class mn extends P{constructor(e){super(e),this.props=new yn(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}}mn.controlEventKeys=["on_change"],mn.controlFieldType=b.CALC,mn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class gc extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"calc"}}gc.controlFieldType=b.CALC;var bc={Designer:mn,Runtime:gc,Property:yn};class M_ extends V{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(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class qi extends D{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ui.controlName}}qi.RuntimeRules=M_;class Ui extends P{constructor(e){super(e),this.props=new qi(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"}}Ui.controlFieldType=b.DECIMAL_RANGE,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _c extends x{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}_c.controlFieldType=b.DECIMAL_RANGE;var Cc={Designer:Ui,Runtime:_c,Property:qi};class $_ extends V{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 Wi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,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:Te.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:Ki.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new yi(E)))!=null?C:[]}}Wi.RuntimeRules=$_;class Ki extends P{constructor(e){super(e),this.props=new Wi(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"}}Ki.controlFieldType=b.ARRAY,Ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class wc extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}wc.controlFieldType=b.ARRAY;var Ec={Designer:Ki,Runtime:wc,Property:Wi};class L_ extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class N_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class vn extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}vn.Rules=L_,vn.RuntimeRules=N_;class gn extends P{constructor(e){super(e),this.props=new vn(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"}}gn.controlFieldType=b.ANY,gn.controlEventKeys=[],gn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ic extends x{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ic.controlFieldType=b.ANY;var Sc={Designer:gn,Runtime:Ic,Property:vn};class V_ extends ht{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class zi extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Fu(e==null?void 0:e.listPageBind),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:bn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}zi.Rules=V_;class bn extends P{constructor(e){super(e),this.props=new zi(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"}}bn.controlFieldType=b.VARCHAR,bn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],bn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Ac extends x{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Ac.controlFieldType=b.VARCHAR;var Rc={Designer:bn,Runtime:Ac,Property:zi};class tr extends wt{constructor(e){super(e)}}class Bc extends Et{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Bc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Tc extends x{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Tc.controlFieldType=b.VARCHAR;var Dc={Designer:Bc,Runtime:Tc,Property:tr};class H_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Un.call(this,e,He.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class j_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class _n extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_,I,v,w,R,T;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!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 hl((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:He.controlCustomAttributes}),this.filterItemDatasourceBind=new hl((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:He.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(R=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(F=>new ae(F)))!=null?R:[],this.defaultValue=(T=e==null?void 0:e.defaultValue)!=null?T:[]}}_n.Rules=H_,_n.RuntimeRules=j_;class He extends P{constructor(e){super(e),this.props=new _n(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}]}}He.controlEventKeys=["on_change","on_click"],He.controlFieldType=b.ARRAY,He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Pc extends x{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"tree"}}Pc.controlFieldType=b.ARRAY;var xc={Designer:He,Runtime:Pc,Property:_n};class q_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Un.call(this,e,At.controlCustomAttributes),e.externalType===Ve.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class U_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:At.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Vn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:At.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:qa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ua.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Ve.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],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(I=>{var v;(v=this.multistageFilling)==null||v.push(new ae(I))}))}}Cn.Rules=q_,Cn.RuntimeRules=U_;class At extends P{constructor(e){super(e),this.props=new Cn(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}]}}At.controlFieldType=b.EMPLOYEES,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Fc extends x{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Fc.controlFieldType=b.EMPLOYEES;var kc={Designer:At,Runtime:Fc,Property:Cn};class W_ extends ee{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&Au(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Au(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Gi extends D{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new ro(e==null?void 0:e.signatureConfig)}}Gi.Rules=W_;class wn extends P{constructor(e){super(e),this.props=new Gi(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"}}wn.controlEventKeys=["on_click","on_click_finish"],wn.controlFieldType=b.VARCHAR,wn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Oc extends x{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Oc.controlFieldType=b.VARCHAR;var Mc={Designer:wn,Runtime:Oc,Property:Gi};class K_ extends ee{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class z_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:In.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:C_,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}}En.Rules=K_,En.RuntimeRules=z_;class In extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}In.controlEventKeys=["on_change","on_wps_open"],In.controlFieldType=b.FILE,In.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends x{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"wps"}}$c.controlFieldType=b.FILE;var Lc={Designer:In,Runtime:$c,Property:En};class G_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Un.call(this,e,Ke.controlCustomAttributes),e.businessType===Ve.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Q_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Sn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vi.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Ve.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var w;(w=this.multistageFilling)==null||w.push(new ae(v))}))}}Sn.Rules=G_,Sn.RuntimeRules=Q_;class Ke extends P{constructor(e){super(e),this.props=new Sn(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}}Ke.controlName="\u90E8\u95E8",Ke.controlFieldType=b.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Nc extends x{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Nc.controlFieldType=b.DEPARTMENTS;var Vc={Designer:Ke,Runtime:Nc,Property:Sn};class X_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Un.call(this,e,ze.controlCustomAttributes),e.businessType===Ve.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class J_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_,I,v,w,R;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 Fu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ze.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new Wm((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vi.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Ve.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(w=e==null?void 0:e.showSelectedDetail)!=null?w:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(T=>{var F;(F=this.multistageFilling)==null||F.push(new ae(T))}))}}An.Rules=X_,An.RuntimeRules=J_;class ze extends P{constructor(e){super(e),this.props=new An(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}}ze.controlName="\u4E1A\u52A1\u7EC4\u7EC7",ze.controlFieldType=b.DEPARTMENTS,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Hc extends x{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Hc.controlFieldType=b.DEPARTMENTS;var jc={Designer:ze,Runtime:Hc,Property:An},Z_=Object.freeze({__proto__:null,Input:Lo,Checkbox:Vo,Radio:jo,Number:Uo,DatePicker:Ko,DateRange:Go,Textarea:Xo,RichText:Zo,Select:po,SelectMultiple:tc,Employee:ic,Image:rc,Attachment:uc,Amount:oc,Score:sc,Address:fc,Department:yc,AutoNumber:vc,Calc:bc,SearchNumberRange:Cc,SearchDateRange:Ec,VueFormItem:Sc,SelectRelation:Rc,SearchInput:Dc,Tree:xc,Employee2:kc,ElectronicSignature:Mc,WPS:Lc,Department2:Vc,OrganizationSelection:jc});class qc extends q{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}qc.excludes=[S.GRID];class Y_ extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Uc={Designer:qc,Runtime:Y_,Property:H};const p_=24;class Ge extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:p_,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Rn extends q{constructor(e){super(e),this.props=new Ge(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Rn.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],Rn.childrenMaxLength=1;class nr extends U{constructor(e){super(e),this.props=new Ge(e==null?void 0:e.props)}static get controlType(){return"col"}}var Wc={Designer:Rn,Runtime:nr,Property:Ge};class Qi extends H{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 Xi extends q{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"}}Xi.excludes=[S.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class Kc extends U{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"row"}}var zc={Designer:Xi,Runtime:Kc,Property:Qi};const eC=4;class Ji extends Xi{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)}}Ji.excludes=[S.GRID_ROW],Ji.setting=[],Ji.childrenMaxLength=eC;class tC extends Kc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class nC extends Qi{constructor(e){super(e)}}var Gc={Designer:Ji,Runtime:tC,Property:nC};class iC extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Zi extends H{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"}}Zi.Rules=iC;class ir extends q{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ir.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ir.excludes=[S.CARD_GROUP];class uC extends U{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Qc={Designer:ir,Runtime:uC,Property:Zi};class aC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Yi extends H{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new Mm(e==null?void 0:e.metaAutoWidth)}}Yi.Rules=aC;class me extends q{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}me.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",me.controlType="subtable-column",me.controlIcon="subtable-column",me.childrenMaxLength=1,me.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Xc extends U{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}Xc.controlType="subtable-column";var Jc={Designer:me,Runtime:Xc,Property:Yi};class ur extends H{constructor(e){super(e)}}class Qe extends q{constructor(e){super(e),this.props=new ur(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=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Qe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class rC extends U{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Zc={Designer:Qe,Runtime:rC,Property:ur};class ar extends H{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Te.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Xe extends q{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Xe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Yc extends U{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}Yc.controlType="gridtable-column";var pc={Designer:Xe,Runtime:Yc,Property:ar};class rr extends H{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 lr extends q{constructor(e){super(e),this.props=new rr(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"}}lr.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],lr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class lC extends U{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var es={Designer:lr,Runtime:lC,Property:rr};class or extends H{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class oC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class pi extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName}}pi.Rules=oC;class Bn extends q{constructor(e){super(e),this.props=new pi(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"}}Bn.excludes=[S.TAB],Bn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class cC extends U{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ts={Designer:Bn,Runtime:cC,Property:pi};class Tn extends q{constructor(e){var n;super(e),this.props=new or(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Tn.excludes=[S.TAB],Tn.controlEventKeys=["on_change_tab"],Tn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class sC extends U{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ns={Designer:Tn,Runtime:sC,Property:or};class is extends H{constructor(e){super(e)}}class us extends q{constructor(e){super(e),this.props=new is({}),this.children=(e==null?void 0:e.children)||[new Rn({props:new Ge({span:12})}),new Rn({props:new Ge({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}us.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class dC extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new nr({props:new Ge({span:12})}),new nr({props:new Ge({span:12})})]}}var as={Designer:us,Runtime:dC,Property:is};class fC extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class hC extends z{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:f.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),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 Dn extends H{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_,I,v,w,R;super(e),this.datasourceBind=new p(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 Hm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new qm(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!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=(E=e==null?void 0:e.rowStyleType)!=null?E:"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)?(v=(I=e==null?void 0:e.rowStyleRules)==null?void 0:I.map(T=>new nv(T)))!=null?v:[]:[],this.rowStyleRulesScript=(e==null?void 0:e.rowStyleRulesScript)&&Array.isArray(e==null?void 0:e.rowStyleRulesScript)?(R=(w=e==null?void 0:e.rowStyleRulesScript)==null?void 0:w.map(T=>new iv(T)))!=null?R:[]:[]}}Dn.Rules=hC,Dn.RuntimeRules=fC;class eu extends q{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}eu.excludes=[S.ROW],eu.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"],eu.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 yC extends U{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var rs={Designer:eu,Runtime:yC,Property:Dn};class mC extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class tu extends H{constructor(e){var n,i,u,a,r,l;super(e),this.save=new xe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new xe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new xe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new xe((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new xe(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind)}}tu.RuntimeRules=mC;class ls extends q{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ls.excludes=[];class vC extends U{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var os={Designer:ls,Runtime:vC,Property:tu};class gC extends q{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class bC extends U{static get controlType(){return"page"}constructor(e){super(e)}}class _C extends H{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 cs={Designer:gC,Runtime:bC,Property:_C};class CC extends q{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class wC extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class EC extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new so(e==null?void 0:e.flexConfig)}}var ss={Designer:CC,Runtime:wC,Property:EC};class IC extends q{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class SC extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class AC extends H{constructor(e){super(e)}}var ds={Designer:IC,Runtime:SC,Property:AC};class RC extends q{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class BC extends U{static get controlType(){return"position"}constructor(e){super(e)}}class TC extends H{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 fs={Designer:RC,Runtime:BC,Property:TC};class cr extends H{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 sr extends q{constructor(e){var n;super(e),this.props=new cr((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"}}sr.excludes=[],sr.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class DC extends U{constructor(e){var n;super(e),this.props=new cr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var hs={Designer:sr,Runtime:DC,Property:cr},PC=Object.freeze({__proto__:null,Grid:Uc,Col:Wc,Row:zc,GridRow:Gc,CardGroup:Qc,SubTableColumn:Jc,SubTableRow:Zc,GridTableColumn:pc,GridLayoutContainer:es,Tab:ns,TabPane:ts,Toolbox:as,ListView:rs,DataView:os,Page:cs,AdvancedContainer:ss,PositioningContainer:ds,Position:fs,ActionBar:hs});class xC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class FC extends Ue{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const ys=class extends ti{constructor(t,e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_,I,v,w,R,T,F,se,k,de,xn,Ae,mu,Fn,Rt,Re,Vs,Hs;super(t,e,ys.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:nu.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=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(o=e==null?void 0:e.maxHeight)!=null?o:oo,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m: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 p(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(_=e==null?void 0:e.canDelete)!=null?_:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(w=e==null?void 0:e.canImport)!=null?w:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(T=e==null?void 0:e.canClear)!=null?T:!0,this.serverPagination=(F=e==null?void 0:e.serverPagination)!=null?F:!1,this.isShowCaptionTip=(se=e==null?void 0:e.isShowCaptionTip)!=null?se:!1,this.captionTip=(k=e==null?void 0:e.captionTip)!=null?k:"",this.mobileShowType=(de=e==null?void 0:e.mobileShowType)!=null?de:"list",this.mobileDefaultNum=(xn=e==null?void 0:e.mobileDefaultNum)!=null?xn:10,this.dataStorageDoc=(Ae=e==null?void 0:e.dataStorageDoc)!=null?Ae:new $m,this.fixedColumn=(mu=e==null?void 0:e.fixedColumn)!=null?mu:[],this.mobileRowCaption=(Fn=e==null?void 0:e.mobileRowCaption)!=null?Fn:"\u660E\u7EC6",this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(Re=e==null?void 0:e.isPaste)!=null?Re:!1,this.pageSize=(Vs=e==null?void 0:e.pageSize)!=null?Vs:10,this.pageSizeOptions=(Hs=e==null?void 0:e.pageSizeOptions)!=null?Hs:[10,20,50,100]}};let Pn=ys;Pn.Rules=xC,Pn.RuntimeRules=FC;class nu extends da{constructor(e){var n,i;super(e),this.props=new Pn(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 me,new me,new me]),((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 me,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}nu.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],nu.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.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 kC extends Kl{constructor(e){super(e),this.props=new Pn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){xt("Method not implemented.")}getChildrenFormControl(){return[]}}var ms={Designer:nu,Runtime:kC,Property:Pn};class dr extends ti{constructor(e,n){var i,u,a,r,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class OC extends _e{constructor(e){super(e),this.caption.required=!1}}class iu extends W{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}iu.Rules=OC;class Je extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}Je.controlType="order-column",Je.controlName="\u5E8F\u53F7",Je.controlIcon="order-column",Je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class fr extends Y{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}fr.controlType="order-column",fr.controlFieldType=b.DECIMAL;var vs={Designer:Je,Runtime:fr,Property:iu};class hr extends W{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Se.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Se extends Z{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer")}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Di.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return kn(Be({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Lr(this,null,function*(){return yield $r(Se.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Se.controlType="operation-column",Se.controlName="\u64CD\u4F5C",Se.controlIcon="operation-column",Se.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class yr extends Y{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}yr.controlType="operation-column",yr.controlFieldType=b.FILE;var gs={Designer:Se,Runtime:yr,Property:hr};class uu extends da{constructor(e){var n;super(e),this.props=new dr(this,e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Je,new Se]),((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 kn(Be({},e),{children:n})}validate(e,n){return Lr(this,null,function*(){return yield $r(uu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}uu.setting=[{key:"list-fixed-header",visible:!0}];class MC extends Kl{constructor(e){super(e),this.props=new dr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){xt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var bs={Designer:uu,Runtime:MC,Property:dr},$C=Object.freeze({__proto__:null,SubTable:ms,GridTable:bs});class LC extends zl{constructor(e){super(e),Le.call(this,e)}}class au extends W{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}au.Rules=LC;class Ze extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Ze.controlType="varchar-column",Ze.controlName="\u77ED\u6587\u672C",Ze.controlIcon="varchar-column",Ze.controlFieldType=b.VARCHAR,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}];class mr extends Y{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}mr.controlType="varchar-column",mr.controlFieldType=b.VARCHAR;var _s={Designer:Ze,Runtime:mr,Property:au};class NC extends _e{constructor(e){super(e),Le.call(this,e)}}class ru extends W{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:Ye.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 we(e==null?void 0:e.linkOperationOption)}}ru.Rules=NC;class Ye extends Z{constructor(e){super(e),this.props=new ru(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}}Ye.controlType="text-column",Ye.controlName="\u957F\u6587\u672C",Ye.controlIcon="text-column",Ye.controlFieldType=b.TEXT,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 vr extends Y{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}vr.controlType="text-column",vr.controlFieldType=b.TEXT;var Cs={Designer:Ye,Runtime:vr,Property:ru};class VC extends _e{constructor(e){super(e),Le.call(this,e)}}class lu extends W{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Ee((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}lu.Rules=VC;class pe extends Z{constructor(e){super(e),this.props=new lu(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}}pe.controlType="decimal-column",pe.controlName="\u6570\u503C",pe.controlIcon="decimal-column",pe.controlFieldType=b.DECIMAL,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class gr extends Y{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}gr.controlType="decimal-column",gr.controlFieldType=b.DECIMAL;var ws={Designer:pe,Runtime:gr,Property:lu};class HC extends _e{constructor(e){super(e),Le.call(this,e)}}class ou extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}ou.Rules=HC;class et extends Z{constructor(e){super(e),this.props=new ou(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}}et.controlType="timescope-column",et.controlName="\u65E5\u671F\u533A\u95F4",et.controlIcon="timescope-column",et.controlFieldType=b.TIMESCOPE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 br extends Y{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}br.controlType="timescope-column",br.controlFieldType=b.TIMESCOPE;var Es={Designer:et,Runtime:br,Property:ou};class jC extends _e{constructor(e){super(e),Le.call(this,e)}}class cu extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:tt.controlName}}cu.Rules=jC;class tt extends Z{constructor(e){super(e),this.props=new cu(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}}tt.controlType="timestamp-column",tt.controlName="\u65E5\u671F",tt.controlIcon="timestamp-column",tt.controlFieldType=b.TIMESTAMP,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 _r extends Y{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}_r.controlType="timestamp-column",_r.controlFieldType=b.TIMESTAMP;var Is={Designer:tt,Runtime:_r,Property:cu};class qC extends zl{constructor(e){super(e),Le.call(this,e)}}class su extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.options=Ee((a=e==null?void 0:e.options)!=null?a:[{}])}}su.Rules=qC;class nt extends Z{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}nt.controlType="array-column",nt.controlName="\u6570\u7EC4",nt.controlIcon="array-column",nt.controlFieldType=b.ARRAY,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Cr extends Y{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Cr.controlType="array-column",Cr.controlFieldType=b.ARRAY;var Ss={Designer:nt,Runtime:Cr,Property:su};class wr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class it extends Z{constructor(e){super(e),this.props=new wr(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}}it.controlType="department-column",it.controlName="\u90E8\u95E8",it.controlIcon="department-column",it.controlFieldType=b.DEPARTMENTS,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Er extends Y{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Er.controlType="department-column",Er.controlFieldType=b.DEPARTMENTS;var As={Designer:it,Runtime:Er,Property:wr};class UC extends _e{constructor(e){super(e),Le.call(this,e)}}class du extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}du.Rules=UC;class ut extends Z{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}ut.controlType="auto-number-column",ut.controlName="\u81EA\u52A8\u7F16\u53F7",ut.controlIcon="auto-number-column",ut.controlFieldType=b.AUTO_NUMBER,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ir extends Y{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Ir.controlType="auto-number-column",Ir.controlFieldType=b.AUTO_NUMBER;var Rs={Designer:ut,Runtime:Ir,Property:du};class Sr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends Z{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}at.controlType="file-column",at.controlName="\u9644\u4EF6",at.controlIcon="file-column",at.controlFieldType=b.FILE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ar extends Y{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Ar.controlType="file-column",Ar.controlFieldType=b.FILE;var Bs={Designer:at,Runtime:Ar,Property:Sr};class Rr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends Z{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}rt.controlType="image-column",rt.controlName="\u56FE\u7247",rt.controlIcon="image-column",rt.controlFieldType=b.IMAGE,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Br extends Y{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}Br.controlType="image-column",Br.controlFieldType=b.IMAGE;var Ts={Designer:rt,Runtime:Br,Property:Rr};class Tr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends Z{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}lt.controlType="people-column",lt.controlName="\u4EBA\u5458",lt.controlIcon="people-column",lt.controlFieldType=b.EMPLOYEES,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Dr extends Y{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}Dr.controlType="people-column",Dr.controlFieldType=b.EMPLOYEES;var Ds={Designer:lt,Runtime:Dr,Property:Tr};class WC extends _e{constructor(e){super(e),Le.call(this,e)}}class fu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}fu.Rules=WC;class ot extends Z{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}ot.controlType="location-column",ot.controlName="\u5730\u5740",ot.controlIcon="location-column",ot.controlFieldType=b.ADDRESS,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Pr extends Y{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Pr.controlType="location-column",Pr.controlFieldType=b.ADDRESS;var Ps={Designer:ot,Runtime:Pr,Property:fu};class KC extends _e{constructor(e){super(e),this.sortFieldCode={type:"string",message:f.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class hu extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}hu.Rules=KC;const zC=1;class je extends Z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new hu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=De(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return kn(Be({},e),{children:this.children.map(n=>n.toSchema())})}}je.controlType="custom-column",je.controlName="\u81EA\u5B9A\u4E49",je.controlIcon="custom-column",je.excludes=[],je.childrenMaxLength=zC,je.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class xs extends Y{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}xs.controlType="custom-column";var Fs={Designer:je,Runtime:xs,Property:hu};class xr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:qe.controlCustomAttributes})}}class qe extends Z{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}qe.controlType="employee-column",qe.controlName="\u4EBA\u5458",qe.controlIcon="employee-column",qe.controlFieldType=b.EMPLOYEES,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Fr extends Y{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}}Fr.controlType="employee-column",Fr.controlFieldType=b.EMPLOYEES;var ks={Designer:qe,Runtime:Fr,Property:xr};class kr extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ct extends Z{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}}ct.controlType="approval-status-column",ct.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ct.controlIcon="approval-status-column",ct.excludes=[],ct.setting=[{key:"caption",showItems:[s.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 Os extends Y{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}}Os.controlType="approval-status-column";var Ms={Designer:ct,Runtime:Os,Property:kr},GC=Object.freeze({__proto__:null,VarcharColumn:_s,TextColumn:Cs,DecimalColumn:ws,TimescopeColumn:Es,TimestampColumn:Is,ArrayColumn:Ss,DepartmentColumn:As,AutoNumberColumn:Rs,FileColumn:Bs,ImageColumn:Ts,PeopleColumn:Ds,LocationColumn:Ps,CustomColumn:Fs,OrderColumn:vs,OperationColumn:gs,EmployeeColumn:ks,ApprovalStatusColumn:Ms});class QC extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class yu extends Ia{constructor(e){var n,i,u,a,r,l,c,o,d,m;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 xe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new xe((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(g=>new xe(g)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24}}yu.RuntimeRules=QC;class Or extends G0{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Or.controlType="simple-search",Or.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:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class $s extends eb{constructor(e){var n;super(e),this.props=new yu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}$s.controlType="simple-search";var Ls={Designer:Or,Runtime:$s,Property:yu},XC=Object.freeze({__proto__:null,SimpleSearch:Ls});class Mr extends Da{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class JC extends yb{constructor(e){super(e),this.props=new Mr(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 ZC extends wb{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function lw(t){return t}var YC={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Ns={Designer:JC,Runtime:ZC,Property:Mr,Setting:YC},pC=Object.freeze({__proto__:null,GridLayoutWrap:Ns});y.ActionBar=hs,y.Address=fc,y.AdvancedContainer=ss,y.Amount=oc,y.ApprovalStatusColumn=Ms,y.ArrayColumn=Ss,y.AssignType=Ve,y.Attachment=uc,y.AutoNumber=vc,y.AutoNumberColumn=Rs,y.BatchDeleteButton=Mo,y.BatchPrintListButton=Fo,y.BatchPrintRecordListButton=ko,y.BatchSubmissionListButton=go,y.Button=io,y.Calc=bc,y.CardGroup=Qc,y.Checkbox=Vo,y.Col=Wc,y.CreateFormListButton=vo,y.CustomColumn=Fs,y.DATE_CONFIG_TYPE=uo,y.DATE_LIMIT_TYPE=ao,y.Dashboard=Bo,y.DataView=os,y.DatePicker=Ko,y.DateRange=Go,y.DecimalColumn=ws,y.Department=yc,y.Department2=Vc,y.DepartmentColumn=As,y.DepartmentType=vi,y.Divider=yo,y.ElectronicSignature=Mc,y.ElectronicSignatureConfig=ro,y.Employee=ic,y.Employee2=kc,y.EmployeeColumn=ks,y.EncryptTypeEnum=fo,y.Explain=mi,y.ExportListButton=_o,y.ExportRecordListButton=Co,y.ExportTemplate=Ha,y.FileColumn=Bs,y.FlexStyleConfig=so,y.FormSelectButton=Eo,y.Grid=Uc,y.GridLayoutContainer=es,y.GridLayoutWrap=Ns,y.GridRow=Gc,y.GridTable=bs,y.GridTableColumn=pc,y.Image=rc,y.ImageColumn=Ts,y.ImportRecordListButton=wo,y.Input=Lo,y.InternalType=Ua,y.InvoiceCheckButton=xo,y.LINE_STYLE=Na,y.LimitDate=yi,y.Link=no,y.ListSelectButton=Io,y.ListView=rs,y.ListViewSelect=Do,y.LocationColumn=Ps,y.Number=Uo,y.OperationButton=Oo,y.OperationColumn=gs,y.OrderColumn=vs,y.OrganizationSelection=jc,y.OrganizeType=qa,y.Page=cs,y.Pagination=Ao,y.PeopleColumn=Ds,y.Position=fs,y.PositioningContainer=ds,y.PrintTemplate=co,y.Radio=jo,y.RichText=Zo,y.Row=zc,y.SCORE_TYPE=La,y.SUBTABLE_DEFAULT_MAX_HEIGHT=oo,y.Score=sc,y.SearchDateRange=Ec,y.SearchInput=Dc,y.SearchNumberRange=Cc,y.Select=po,y.SelectMultiple=tc,y.SelectRelation=Rc,y.SimpleSearch=Ls,y.SubTable=ms,y.SubTableColumn=Jc,y.SubTableRow=Zc,y.SubmissionRecordListButton=bo,y.Tab=ns,y.TabPane=ts,y.Text=to,y.TextColumn=Cs,y.TextOcrButton=Po,y.Textarea=Xo,y.TimescopeColumn=Es,y.TimestampColumn=Is,y.Title=mo,y.TitleConfigEnum=Ne,y.Toolbox=as,y.Tree=xc,y.UndersignedPerson=Va,y.VarcharColumn=_s,y.VueFormItem=Sc,y.WPS=Lc,y.WPSSetting=lo,y.WpsOperationItem=ja,y.baseControls=i_,y.columnControls=GC,y.formControls=Z_,y.initExpression=Nt,y.layoutControls=PC,y.listControls=$C,y.searchControls=XC,y.wrapControls=pC,Object.defineProperty(y,"__esModule",{value:!0})});
|