@byteluck-fe/model-driven-controls 2.5.0-alpha.9 → 2.5.0-beta.2
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/esm/formControls/Address/property.js +15 -7
- package/dist/esm/formControls/Amount/property.js +9 -1
- package/dist/esm/formControls/Calc/property.js +5 -0
- package/dist/esm/formControls/DateRange/property.js +47 -14
- package/dist/esm/formControls/Department/designer.js +5 -6
- package/dist/esm/formControls/Department2/designer.js +5 -6
- package/dist/esm/formControls/OrganizationSelection/designer.js +8 -13
- package/dist/esm/formControls/OrganizationSelection/property.js +9 -4
- package/dist/esm/formControls/OrganizationSelection/runtime.js +1 -1
- package/dist/esm/formControls/SelectRelation/designer.js +1 -0
- package/dist/esm/formControls/SelectRelation/property.js +7 -0
- package/dist/esm/formControls/Tree/property.js +2 -1
- package/dist/esm/layoutControls/ListView/designer.js +4 -0
- package/dist/esm/layoutControls/ListView/property.js +14 -0
- package/dist/esm/layoutControls/Tab/designer.js +4 -0
- package/dist/esm/layoutControls/Tab/property.js +19 -1
- package/dist/esm/listControls/GridTable/property.js +1 -1
- package/dist/esm/listControls/SubTable/designer.js +0 -1
- package/dist/esm/listControls/SubTable/property.js +28 -0
- package/dist/esm/searchControls/SimpleSearch/property.js +7 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/columnControls/CustomColumn/designer.d.ts +1 -1
- package/dist/types/formControls/Address/property.d.ts +15 -0
- package/dist/types/formControls/Amount/property.d.ts +9 -0
- package/dist/types/formControls/Calc/property.d.ts +5 -0
- package/dist/types/formControls/DateRange/property.d.ts +47 -0
- package/dist/types/formControls/Department/designer.d.ts +1 -1
- package/dist/types/formControls/Department2/designer.d.ts +1 -1
- package/dist/types/formControls/OrganizationSelection/designer.d.ts +1 -1
- package/dist/types/formControls/OrganizationSelection/property.d.ts +7 -2
- package/dist/types/formControls/SelectRelation/property.d.ts +6 -0
- package/dist/types/layoutControls/ListView/property.d.ts +12 -0
- package/dist/types/layoutControls/Tab/property.d.ts +1 -0
- package/dist/types/listControls/GridTable/property.d.ts +1 -1
- package/dist/types/listControls/SubTable/property.d.ts +24 -0
- package/dist/types/searchControls/SimpleSearch/property.d.ts +6 -0
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var PE=Object.defineProperty,DE=Object.defineProperties;var xE=Object.getOwnPropertyDescriptors;var ls=Object.getOwnPropertySymbols,OE=Object.getPrototypeOf,FE=Object.prototype.hasOwnProperty,kE=Object.prototype.propertyIsEnumerable,ME=Reflect.get;var os=(h,V,j)=>V in h?PE(h,V,{enumerable:!0,configurable:!0,writable:!0,value:j}):h[V]=j,Se=(h,V)=>{for(var j in V||(V={}))FE.call(V,j)&&os(h,j,V[j]);if(ls)for(var j of ls(V))kE.call(V,j)&&os(h,j,V[j]);return h},Bn=(h,V)=>DE(h,xE(V));var yr=(h,V,j)=>ME(OE(h),j,V);var mr=(h,V,j)=>new Promise((uu,Rn)=>{var au=ge=>{try{wt(j.next(ge))}catch(It){Rn(It)}},ru=ge=>{try{wt(j.throw(ge))}catch(It){Rn(It)}},wt=ge=>ge.done?uu(ge.value):Promise.resolve(ge.value).then(au,ru);wt((j=j.apply(h,V)).next())});(function(h,V){typeof exports=="object"&&typeof module!="undefined"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(h=typeof globalThis!="undefined"?globalThis:h||self,V(h.modelDrivenControls={}))})(this,function(h){"use strict";var V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",uu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Rn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",au="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ru="{caption}\u5FC5\u586B",wt="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",It="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",cs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ss="\u8BF7\u7ED1\u5B9A\u8868\u5355",ds="\u8BF7\u7ED1\u5B9A\u5217\u8868",fs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",hs="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ys="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ms="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",vs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",gs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",bs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Es="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",_s="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Cs="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ws="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Is="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ss="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",As="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ts="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Bs="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Rs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ps="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ds="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",xs="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Os="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Fs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ks="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ms="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ns="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ls="\u8BF7\u9009\u62E9\u7701",$s="\u8BF7\u9009\u62E9\u5E02",Vs="\u8BF7\u9009\u62E9\u533A",Hs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",qs="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",js="\u8BF7\u8F93\u5165\u5217\u5BBD",Us="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ws="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ks="\u8BF7\u9009\u62E9\u63A7\u4EF6",zs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Gs="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Xs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Qs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Js="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ys="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ps="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ed="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",td="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",nd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",id="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ud="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ad="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",rd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ld="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",od="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",cd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",sd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",dd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",fd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",hd={isNotNumber:V,isNotString:j,isNotObject:uu,isNotArray:Rn,isNotBoolean:au,runtimeRequired:ru,pleaseEnterCaption:wt,pleaseEnterCaptionTip:ge,pleaseEnterPlaceholder:It,pleaseEnterFieldCode:cs,pleaseEnterForm:ss,pleaseEnterList:ds,pleaseEnterProcess:fs,pleaseEnterLabel:hs,pleaseEnterValue:ys,bizKeyNotBindFiled:ms,pleaseSelectOneField:vs,pleaseEnterNumberRange:gs,pleaseEnterAValueGreaterThanMin:bs,pleaseEnterAValueLessThanMax:Es,numberRangeSetError:_s,stringRangeError:Cs,attachmentMaxSize:ws,pleaseEnterTotalScoreSetting:Is,theTotalScoreMustNotBeLessThan1:Ss,scoreDefaultValueRange:As,attachmentLimitError:Ts,PleaseReselectTheOptionalQuantity:Bs,TheMaximumLengthIsGreaterThanTheMinimumLength:Rs,TheMinimumLengthIsGreaterThanTheMaximumLength:Ps,PleaseSelectTheCorrectOptionSettings:Ds,optionIdIsRepeat:xs,optionIsRequired:Os,pleaseEnterDataCode:Fs,pleaseEnterValueFieldCode:ks,pleaseEnterSvcCode:Ms,pleaseBindAtLeastOneDisplayValue:Ns,pleaseSelectProvince:Ls,pleaseSelectCity:$s,pleaseSelectDistrict:Vs,limitRowsCannotBeLessThan0:Hs,TheNumberOfRowsCannotBeLessThanMinRows:qs,pleaseEnterColumnWidth:js,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Us,pleaseCompleteAllRulesAndConditions:Ws,pleaseSelectControl:Ks,pleaseSelectAtLeastOneColumn:zs,pleaseSelectFillBackMode:Gs,pleaseSelectDashboard:Xs,rootNodeIsRequired:Qs,theViewNameCannotBeEmpty:Js,pleaseSelectOcrType:Zs,pleaseSelectAtLeastOneFieldToFillIn:Ys,pleaseChooseAtLeastOne:ps,pleaseEnterButtonContent:ed,pleaseEnterDataCodeInDataSetting:td,pleaseEnterValueFieldCodeInDataSetting:nd,pleaseEnterSvcCodeInDataSetting:id,pleaseBindAtLeastOneDisplayValueInDataSetting:ud,rootNodeIsRequiredInDataSetting:ad,pleaseEnterMaxHeight:rd,pleaseEnter:ld,pleaseEnterWatermark:od,pleaseEnterFileName:cd,pleaseUploadAtLeastOnePrintTemplate:sd,pleaseAssignBusiness:dd,pleaseAssignExternal:fd},yd="Please enter a number",md="Please enter a string",vd="Please enter an object",gd="Please enter an array",bd="Please enter a boolean",Ed="{caption} Required",_d="Please enter the title",Cd="Please enter the bubble prompt",wd="Please enter the prompt text",Id="Please bind data items",Sd="Please bind the form",Ad="Please bind the list",Td="Please bind the process",Bd="Please enter the displayed value",Rd="Please enter the stored value",Pd="The document number is not bound to the data item",Dd="Please select at least one display field",xd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Od="Please enter a value greater than or equal to {min}",Fd="Please enter a value less than or equal to {max}",kd="The value range is set incorrectly",Md="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Nd="The attachment size must be between 0MB and 1000MB",Ld="Please fill in the total score setting",$d="The total score cannot be less than 1",Vd="The default value must be between {min} and {max}",Hd="The number of attachments uploaded must be between {min} and {max}",qd="Please re-select the optional quantity",jd="The maximum length of the control must be greater than the minimum length",Ud="The minimum length of the control must be less than the maximum length",Wd="Please select the correct option setting",Kd="Option ID cannot be repeated",zd="Please enter at least one option",Gd="Please bind the data source",Xd="Please bind the stored value",Qd="Please bind the service",Jd="At least one display value must be bound",Zd="Please select a province",Yd="Please select a city",pd="Please select a district",ef="The minimum number of lines to fill in cannot be less than 0",tf="The number of rows cannot be less than {min} rows",nf="Please enter the column width",uf="Please set the logical relationship of all rule conditions",af="Please complete all rules and conditions",rf="please select control",lf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",of="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",sf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",df="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ff="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",hf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",yf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",mf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",vf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",gf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",bf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ef="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",_f="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Cf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",wf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",If="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Sf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Af={isNotNumber:yd,isNotString:md,isNotObject:vd,isNotArray:gd,isNotBoolean:bd,runtimeRequired:Ed,pleaseEnterCaption:_d,pleaseEnterCaptionTip:Cd,pleaseEnterPlaceholder:wd,pleaseEnterFieldCode:Id,pleaseEnterForm:Sd,pleaseEnterList:Ad,pleaseEnterProcess:Td,pleaseEnterLabel:Bd,pleaseEnterValue:Rd,bizKeyNotBindFiled:Pd,pleaseSelectOneField:Dd,pleaseEnterNumberRange:xd,pleaseEnterAValueGreaterThanMin:Od,pleaseEnterAValueLessThanMax:Fd,numberRangeSetError:kd,stringRangeError:Md,attachmentMaxSize:Nd,pleaseEnterTotalScoreSetting:Ld,theTotalScoreMustNotBeLessThan1:$d,scoreDefaultValueRange:Vd,attachmentLimitError:Hd,PleaseReselectTheOptionalQuantity:qd,TheMaximumLengthIsGreaterThanTheMinimumLength:jd,TheMinimumLengthIsGreaterThanTheMaximumLength:Ud,PleaseSelectTheCorrectOptionSettings:Wd,optionIdIsRepeat:Kd,optionIsRequired:zd,pleaseEnterDataCode:Gd,pleaseEnterValueFieldCode:Xd,pleaseEnterSvcCode:Qd,pleaseBindAtLeastOneDisplayValue:Jd,pleaseSelectProvince:Zd,pleaseSelectCity:Yd,pleaseSelectDistrict:pd,limitRowsCannotBeLessThan0:ef,TheNumberOfRowsCannotBeLessThanMinRows:tf,pleaseEnterColumnWidth:nf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:uf,pleaseCompleteAllRulesAndConditions:af,pleaseSelectControl:rf,pleaseSelectDashboard:lf,theViewNameCannotBeEmpty:of,pleaseSelectOcrType:cf,pleaseSelectAtLeastOneFieldToFillIn:sf,pleaseChooseAtLeastOne:df,pleaseEnterButtonContent:ff,pleaseEnterDataCodeInDataSetting:hf,pleaseEnterValueFieldCodeInDataSetting:yf,pleaseEnterSvcCodeInDataSetting:mf,pleaseBindAtLeastOneDisplayValueInDataSetting:vf,rootNodeIsRequiredInDataSetting:gf,pleaseEnterMaxHeight:bf,pleaseEnter:Ef,pleaseEnterWatermark:_f,pleaseEnterFileName:Cf,pleaseUploadAtLeastOnePrintTemplate:wf,pleaseAssignBusiness:If,pleaseAssignExternal:Sf},Tf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xf="{caption}\u5FC5\u9808",Of="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$f="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",jf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Uf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Gf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Jf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Zf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",pf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eh="\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",th="\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",nh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ih="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ah="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ch="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",yh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",gh="please select control",bh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Eh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_h="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ch="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",wh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ih="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Sh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Th="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Rh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ph="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Dh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",xh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Oh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Fh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",kh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Mh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Nh={isNotNumber:Tf,isNotString:Bf,isNotObject:Rf,isNotArray:Pf,isNotBoolean:Df,runtimeRequired:xf,pleaseEnterCaption:Of,pleaseEnterCaptionTip:Ff,pleaseEnterPlaceholder:kf,pleaseEnterFieldCode:Mf,pleaseEnterForm:Nf,pleaseEnterList:Lf,pleaseEnterProcess:$f,pleaseEnterLabel:Vf,pleaseEnterValue:Hf,bizKeyNotBindFiled:qf,pleaseSelectOneField:jf,pleaseEnterNumberRange:Uf,pleaseEnterAValueGreaterThanMin:Wf,pleaseEnterAValueLessThanMax:Kf,numberRangeSetError:zf,stringRangeError:Gf,attachmentMaxSize:Xf,pleaseEnterTotalScoreSetting:Qf,theTotalScoreMustNotBeLessThan1:Jf,scoreDefaultValueRange:Zf,attachmentLimitError:Yf,PleaseReselectTheOptionalQuantity:pf,TheMaximumLengthIsGreaterThanTheMinimumLength:eh,TheMinimumLengthIsGreaterThanTheMaximumLength:th,PleaseSelectTheCorrectOptionSettings:nh,optionIdIsRepeat:ih,optionIsRequired:uh,pleaseEnterDataCode:ah,pleaseEnterValueFieldCode:rh,pleaseEnterSvcCode:lh,pleaseBindAtLeastOneDisplayValue:oh,pleaseSelectProvince:ch,pleaseSelectCity:sh,pleaseSelectDistrict:dh,limitRowsCannotBeLessThan0:fh,TheNumberOfRowsCannotBeLessThanMinRows:hh,pleaseEnterColumnWidth:yh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:mh,pleaseCompleteAllRulesAndConditions:vh,pleaseSelectControl:gh,pleaseSelectDashboard:bh,theViewNameCannotBeEmpty:Eh,pleaseSelectOcrType:_h,pleaseSelectAtLeastOneFieldToFillIn:Ch,pleaseChooseAtLeastOne:wh,pleaseEnterButtonContent:Ih,pleaseEnterDataCodeInDataSetting:Sh,pleaseEnterValueFieldCodeInDataSetting:Ah,pleaseEnterSvcCodeInDataSetting:Th,pleaseBindAtLeastOneDisplayValueInDataSetting:Bh,rootNodeIsRequiredInDataSetting:Rh,pleaseEnterMaxHeight:Ph,pleaseEnter:Dh,pleaseEnterWatermark:xh,pleaseEnterFileName:Oh,pleaseUploadAtLeastOnePrintTemplate:Fh,pleaseAssignBusiness:kh,pleaseAssignExternal:Mh},Lh={zhCN:hd,enUS:Af,jaJP:Nh},vr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(vr||(vr={}));var gr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(gr||(gr={}));var $h="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 at;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(at||(at={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.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.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(v||(v={}));var te;te={},re(te,v.ARRAY,C.ARRAY_COLUMN),re(te,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),re(te,v.DECIMAL,C.DECIMAL_COLUMN),re(te,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),re(te,v.FILE,C.FILE_COLUMN),re(te,v.IMAGE,C.IMAGE_COLUMN),re(te,v.ADDRESS,C.LOCATION_COLUMN),re(te,v.EMPLOYEES,C.EMPLOYEE_COLUMN),re(te,v.TEXT,C.TEXT_COLUMN),re(te,v.TIMESCOPE,C.TIMESCOPE_COLUMN),re(te,v.TIMESTAMP,C.TIMESTAMP_COLUMN),re(te,v.VARCHAR,C.VARCHAR_COLUMN),re(te,v.RELATION,C.VARCHAR_COLUMN);var Ae;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(Ae||(Ae={}));var br="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Vh=br+"0123456789";function be(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?br:Vh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function lu(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 Hh(t){if(Array.isArray(t))return lu(t)}function qh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Er(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Pn(t,e,n){return jh()?Pn=Reflect.construct:Pn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&At(o,r.prototype),o},Pn.apply(null,arguments)}function St(t){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},St(t)}function _r(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&At(t,e)}function Uh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Kh(){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 zh(t,e){return e&&(Gh(e)==="object"||typeof e=="function")?e:qh(t)}function At(t,e){return At=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},At(t,e)}function Cr(t){return Hh(t)||Wh(t)||Xh(t)||Kh()}var Gh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xh(t,e){if(!!t){if(typeof t=="string")return lu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lu(t,e)}}function ou(t){var e=typeof Map=="function"?new Map:void 0;return ou=function(i){if(i===null||!Uh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Pn(i,arguments,St(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),At(u,i)},ou(t)}function Qh(){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 wr(t){var e=Qh();return function(){var i=St(t),u;if(e){var a=St(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zh(this,u)}}var cu=console;function su(){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(Cr(u)))}function Ir(){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(Cr(u)))}function Jh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var du=function(t){_r(n,t);var e=wr(n);function n(i){Er(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Jh(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(ou(Error)),Zh=function(t){_r(n,t);var e=wr(n);function n(i){Er(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(du);function Tt(t){throw new du(t)}function Sr(t){throw new Zh(t)}function Yh(t){cu.error(new du(t))}var ph=Object.prototype.toString;function Ar(t,e){return ph.call(t)==="[object "+e+"]"}function ey(t){return Ar(t,"String")}function ty(t){return Ar(t,"Promise")}var ny=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();ty(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 s=u[a];if(!(r===l.length-1&&!ey(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function iy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tr(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 uy(t,e,n){return e&&Tr(t.prototype,e),n&&Tr(t,n),t}function ay(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){iy(this,t)}return uy(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]:$h;return new ny({locale:n,messages:Lh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();ay(d,"$i18n",d.resetI18n());function ry(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,s){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){su("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===s.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var ly=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},oy={exports:{}};(function(t){(function(e){var n=function(m,_,B){if(!o(_)||g(_)||b(_)||w(_)||s(_))return _;var x,F=0,ce=0;if(f(_))for(x=[],ce=_.length;F<ce;F++)x.push(n(m,_[F],B));else{x={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&(x[m(O,B)]=n(m,_[O],B))}return x},i=function(m,_){_=_||{};var B=_.separator||"_",x=_.split||/(?=[A-Z])/;return m.split(x).join(B)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(_,B){return B?B.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var _=u(m);return _.substr(0,1).toUpperCase()+_.substr(1)},r=function(m,_){return i(m,_).toLowerCase()},l=Object.prototype.toString,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},f=function(m){return l.call(m)=="[object Array]"},g=function(m){return l.call(m)=="[object Date]"},b=function(m){return l.call(m)=="[object RegExp]"},w=function(m){return l.call(m)=="[object Boolean]"},I=function(m){return m=m-0,m===m},E=function(m,_){var B=_&&"process"in _?_.process:_;return typeof B!="function"?m:function(x,F){return B(x,m,F)}},S={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,_){return n(E(u,_),m)},decamelizeKeys:function(m,_){return n(E(r,_),m,_)},pascalizeKeys:function(m,_){return n(E(a,_),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=S:e.humps=S})(ly)})(oy);var Br={};Object.defineProperty(Br,"__esModule",{value:!0});function fu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:fu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:fu(i)}return e}}var cy=Br.default=fu;function Te(t){if(t!==void 0)return typeof t=="object"?cy(t):t}function sy(t){return Object.prototype.toString.call(t)==="[object Object]"}function hu(t){return Array.isArray(t)}function dy(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function yu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function fy(t){if(Array.isArray(t))return yu(t)}function Rr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function hy(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Rr(a,i,u,r,l,"next",s)}function l(s){Rr(a,i,u,r,l,"throw",s)}r(void 0)})}}function yy(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 my(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(t,n),t}function Dr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gy(){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 mu(t){return fy(t)||vy(t)||by(t)||gy()}function by(t,e){if(!!t){if(typeof t=="string")return yu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yu(t,e)}}var Ey=function(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(f){return s([o,f])}}function s(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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},_y=function(){function t(){yy(this,t),Dr(this,"_events",new Map),Dr(this,"debug",!1)}return my(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 hy(function(){var l,s,o,f,g,b,w,I,E,S,m,_;return Ey(this,function(B){switch(B.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),f=!0,g=!1,b=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),w=o[Symbol.iterator](),B.label=2;case 2:if(f=(I=w.next()).done)return[3,7];if(E=I.value,!l.includes(E))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),r.debug&&Ir.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(mu(u))),[4,E.apply(null,mu(u))];case 4:return S=B.sent(),r.debug&&Ir.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.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(mu(u),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return m=B.sent(),Yh(String(m)+":"+String(m.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return _=B.sent(),g=!0,b=_,[3,10];case 9:try{!f&&w.return!=null&&w.return()}finally{if(g)throw b}return[7];case 10:return[2,s]}})})()}},{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 Cy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xr(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 wy(t,e,n){return e&&xr(t.prototype,e),n&&xr(t,n),t}function Iy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Sy=[{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"}],Ay=function(){function t(){Cy(this,t)}return wy(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();Iy(Ay,"events",Sy);function Ty(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Or(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function By(t,e,n){return e&&Or(t.prototype,e),n&&Or(t,n),t}function Le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Fr=[],vu=function(){function t(e){Ty(this,t),Le(this,"registeredControlTypes",new Set),Le(this,"controlConfigMap",new Map),Le(this,"_controls",[]),Le(this,"_type",void 0),this._type=e,this._initControls(e)}return By(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Tt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(su("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===at.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===at.FORM}},{key:"isListControl",value:function(n){return n.controlType===at.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===at.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(o){return u.createControl(o,i)});n.children&&(n.children=n.children.map(function(o){return u.createControl(o,i)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(o){return u.createControl(o,i)}));var a=this.getControlFormType(n.type);if(a){var r=n;if(typeof i=="function"){var l=i(r);l&&(r=l)}var s=new a(r);return s}else Tt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{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])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&Tt("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(r){return r.Designer.controlType===i.controlType});return a>-1&&(su("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();Le(vu,"staticControls",Fr),Le(vu,"staticRegisteredTypes",new Set(Fr.map(function(t){return t.Designer.controlType}))),Le(vu,"staticRegisteredConfigs",new Map);function H(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 y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function ye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gu(t,e)}function kr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ry(t,e){return e&&(Py(e)==="object"||typeof e=="function")?e:H(t)}function gu(t,e){return gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gu(t,e)}var Py=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dy(){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 me(t){var e=Dy();return function(){var i=Dn(t),u;if(e){var a=Dn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ry(this,u)}}var fe=function t(e){A(this,t),y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",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:""},Mr=function t(e){A(this,t),y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(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},bu=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;u=e.call(this,i),y(H(u),"width",void 0),y(H(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}(Mr),xy=function t(e){A(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new bu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new bu(e==null?void 0:e.mobile):new bu({width:130,minWidth:180})},Oy=function t(e){A(this,t),y(this,"type",void 0),y(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:[]},Eu=function t(e){A(this,t),y(this,"dataCode",void 0),y(this,"formKey",void 0),y(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:""},Fy=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;u=e.call(this,i),y(H(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Eu),Nr=function t(e){A(this,t),y(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Lr=function t(e){A(this,t);var n;y(this,"appId",void 0),y(this,"formKey",void 0),y(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 Nr(r)}))!==null&&a!==void 0?a:[]},ky=function t(e){A(this,t),y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(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:v.VARCHAR},My=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;u=e.call(this,i),y(H(u),"title",void 0),y(H(u),"svcCode",void 0),y(H(u),"isOpenFilter",void 0),y(H(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 s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(Eu),Ny=function t(e){A(this,t);var n,i;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new Eu(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 ky(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 My(r)}))!==null&&a!==void 0?a:[]},Ly=function t(e){A(this,t),y(this,"type",void 0),y(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},Bt=function t(e){A(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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:[]},$y=function t(e){var n=this;A(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be();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 s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var f,g=new $r(l);(f=n.children)===null||f===void 0||f.push(g)}}))},$r=function t(e){A(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be();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 Ly(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Bt(e==null?void 0:e.rightVariableBo)},ae=function t(e){A(this,t),y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(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:""},_u=function t(e){A(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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},Vy=function t(e){A(this,t),y(this,"columnName",void 0),y(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 Cu(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(a){return a.children!==void 0?new $y(a):new $r(a)}))!==null&&n!==void 0?n:[],kr(this,ne)||kr(this,Iu)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(a){return new Vy(a)}))!==null&&u!==void 0?u:[]}}var ne=function t(e){var n=this;A(this,t),y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"orders",void 0),y(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=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var o;(o=n.displayBoList)===null||o===void 0||o.push(new _u(s))}));var r;this.showOrder=(r=e==null?void 0:e.showOrder)!==null&&r!==void 0?r:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",Cu.call(this,e)},wu=function t(e){A(this,t),y(this,"dataCode",void 0),y(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=[]},$e=function t(e){A(this,t),y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(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;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var g;this.priorityProcess=(g=e==null?void 0:e.priorityProcess)!==null&&g!==void 0?g:!0},Hy=function t(e){A(this,t);var n;y(this,"name",void 0),y(this,"key",void 0),y(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 _u(r)}))!==null&&a!==void 0?a:[]},Rt=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u,a;u=e.call(this,i),y(H(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 Hy(l)}))!==null&&r!==void 0?r:[],u}return n}(ne),Vr=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;return u=e.call(this,i),y(H(u),"rootNode",void 0),y(H(u),"filterCode",void 0),u.rootNode=new Bt(i==null?void 0:i.rootNode),u.filterCode="",u}return n}(Rt),Hr=function t(e){A(this,t);var n;y(this,"dataCode",void 0),y(this,"appId",void 0),y(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:[]},Iu=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;return u=e.call(this,i),y(H(u),"filters",void 0),y(H(u),"orders",void 0),Cu.call(H(u),i),u}return n}(Hr),qr=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;u=e.call(this,i),y(H(u),"mode",void 0),y(H(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}(Hr),jr=function t(e){A(this,t),y(this,"stencilName",void 0),y(this,"expression",void 0),y(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:""},qy=function t(e){A(this,t),y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be(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 qy(n)}))!==null&&e!==void 0?e:[]}var Su=function t(){A(this,t)},jy=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;return u=e.call(this),y(H(u),"amount",void 0),y(H(u),"currency",void 0),u.amount=new fe(i==null?void 0:i.amount),u.currency=new fe(i==null?void 0:i.currency),u}return n}(Su),Uy=function t(e){A(this,t),y(this,"amount",void 0),y(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:xn.CNY},Wy=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;return u=e.call(this),y(H(u),"min",void 0),y(H(u),"max",void 0),u.min=new fe(i==null?void 0:i.min),u.max=new fe(i==null?void 0:i.max),u}return n}(Su),Ky=function t(e){A(this,t),y(this,"min",void 0),y(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:""},zy=function t(e){A(this,t),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(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:""},Gy=function(t){ye(n,t);var e=me(n);function n(i){A(this,n);var u;return u=e.call(this),y(H(u),"result",void 0),y(H(u),"unit",void 0),u.result=new fe(i==null?void 0:i.result),u.unit=new fe(i==null?void 0:i.unit),u}return n}(Su),Xy=function t(e){A(this,t),y(this,"result",void 0),y(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:""},xn;(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"})(xn||(xn={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var Au;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Au||(Au={}));var Be=function t(e){A(this,t),y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(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},Qy=function t(e){A(this,t);var n;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be(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 Nr(r)}))!==null&&a!==void 0?a:[],Cu.call(this,e)},Jy=function t(e){A(this,t),y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(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"};function Zy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function On(t,e,n){return Yy()?On=Reflect.construct:On=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Dt(o,r.prototype),o},On.apply(null,arguments)}function Ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pt(t){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pt(t)}function py(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&&Dt(t,e)}function em(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function tm(t,e){return e&&(nm(e)==="object"||typeof e=="function")?e:Zy(t)}function Dt(t,e){return Dt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Dt(t,e)}var nm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bu(t){var e=typeof Map=="function"?new Map:void 0;return Bu=function(i){if(i===null||!em(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return On(i,arguments,Pt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Dt(u,i)},Bu(t)}function im(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function um(t){var e=im();return function(){var i=Pt(t),u;if(e){var a=Pt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return tm(this,u)}}var U=function t(e){Tu(this,t),Ve(this,"isHide",{type:"boolean"})},He=function(t){py(n,t);var e=um(n);function n(i){return Tu(this,n),e.call(this)}return n}(Bu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Tu(this,t),Ve(this,"isHide",void 0),Ve(this,"className",void 0),Ve(this,"style",void 0),Ve(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Jy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Ve(G,"Rules",U),Ve(G,"RuntimeRules",He);function ve(){return ve=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},ve.apply(this,arguments)}function am(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ru(t){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(t)}function Fn(t,e){return Fn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fn(t,e)}function rm(){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 kn(t,e,n){return rm()?kn=Reflect.construct:kn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Fn(o,r.prototype),o},kn.apply(null,arguments)}function lm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Pu(t){var e=typeof Map=="function"?new Map:void 0;return Pu=function(i){if(i===null||!lm(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 kn(i,arguments,Ru(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Fn(u,i)},Pu(t)}var om=/%[sdj%]/g,Ur=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Ur=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Du(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(om,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(s){return"[Circular]"}break;default:return l}});return r}return u}function cm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function W(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||cm(e)&&typeof t=="string"&&!t)}function sm(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 Wr(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 dm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Kr=function(t){am(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}(Pu(Error));function fm(t,e,n,i){if(e.first){var u=new Promise(function(g,b){var w=function(S){return i(S),S.length?b(new Kr(S,Du(S))):g()},I=dm(t);Wr(I,n,w)});return u.catch(function(g){return g}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,s=0,o=[],f=new Promise(function(g,b){var w=function(E){if(o.push.apply(o,E),s++,s===l)return i(o),o.length?b(new Kr(o,Du(o))):g()};r.length||(i(o),g()),r.forEach(function(I){var E=t[I];a.indexOf(I)!==-1?Wr(E,n,w):sm(E,n,w)})});return f.catch(function(g){return g}),f}function zr(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 Gr(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]=ve(ve({},t[n]),i):t[n]=i}}return t}function Xr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||W(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function hm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var xu={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},xt={integer:function(e){return xt.number(e)&&parseInt(e,10)===e},float:function(e){return xt.number(e)&&!xt.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"&&!xt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(xu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(xu.url)},hex:function(e){return typeof e=="string"&&!!e.match(xu.hex)}};function ym(t,e,n,i,u){if(t.required&&e===void 0){Xr(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?xt[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 mm(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,f=null,g=typeof e=="number",b=typeof e=="string",w=Array.isArray(e);if(g?f="number":b?f="string":w&&(f="array"),!f)return!1;w&&(o=e.length),b&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(le(u.messages[f].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[f].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[f].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[f].range,t.fullField,t.min,t.max))}var rt="enum";function vm(t,e,n,i,u){t[rt]=Array.isArray(t[rt])?t[rt]:[],t[rt].indexOf(e)===-1&&i.push(le(u.messages[rt],t.fullField,t[rt].join(", ")))}function gm(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 T={required:Xr,whitespace:hm,type:ym,range:mm,enum:vm,pattern:gm};function bm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),W(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Em(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function _m(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Cm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function wm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),W(e)||T.type(t,e,i,a,u)}n(a)}function Im(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Sm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Am(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();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Tm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var Bm="enum";function Rm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[Bm](t,e,i,a,u)}n(a)}function Pm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),W(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Dm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function xm(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function Ou(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(W(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),W(e,a)||T.type(t,e,i,r,u)}n(r)}function Om(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Ot={string:bm,method:Em,number:_m,boolean:Cm,regexp:wm,integer:Im,float:Sm,array:Am,object:Tm,enum:Rm,pattern:Pm,date:Dm,url:Ou,hex:Ou,email:Ou,required:xm,any:Om};function Fu(){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 ku=Fu();function Re(t){this.rules=null,this._messages=ku,this.define(t)}Re.prototype={messages:function(e){return e&&(this._messages=Gr(Fu(),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 s(E){var S,m=[],_={};function B(x){if(Array.isArray(x)){var F;m=(F=m).concat.apply(F,x)}else m.push(x)}for(S=0;S<E.length;S++)B(E[S]);m.length?_=Du(m):(m=null,_=null),l(m,_)}if(r.messages){var o=this.messages();o===ku&&(o=Fu()),Gr(o,r.messages),r.messages=o}else r.messages=this.messages();var f,g,b={},w=r.keys||Object.keys(this.rules);w.forEach(function(E){f=u.rules[E],g=a[E],f.forEach(function(S){var m=S;typeof m.transform=="function"&&(a===e&&(a=ve({},a)),g=a[E]=m.transform(g)),typeof m=="function"?m={validator:m}:m=ve({},m),m.validator=u.getValidationMethod(m),m.field=E,m.fullField=m.fullField||E,m.type=u.getType(m),m.validator&&(b[E]=b[E]||[],b[E].push({rule:m,value:g,source:a,field:E}))})});var I={};return fm(b,r,function(E,S){var m=E.rule,_=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");_=_&&(m.required||!m.required&&E.value),m.field=E.field;function B(ce,O){return ve(ve({},O),{},{fullField:m.fullField+"."+ce})}function x(ce){ce===void 0&&(ce=[]);var O=ce;if(Array.isArray(O)||(O=[O]),!r.suppressWarning&&O.length&&Re.warning("async-validator:",O),O.length&&m.message!==void 0&&(O=[].concat(m.message)),O=O.map(zr(m)),r.first&&O.length)return I[m.field]=1,S(O);if(!_)S(O);else{if(m.required&&!E.value)return m.message!==void 0?O=[].concat(m.message).map(zr(m)):r.error&&(O=[r.error(m,le(r.messages.required,m.field))]),S(O);var se={};if(m.defaultField)for(var Tn in E.value)E.value.hasOwnProperty(Tn)&&(se[Tn]=m.defaultField);se=ve(ve({},se),E.rule.fields);for(var Ie in se)if(se.hasOwnProperty(Ie)){var RE=Array.isArray(se[Ie])?se[Ie]:[se[Ie]];se[Ie]=RE.map(B.bind(null,Ie))}var rs=new Re(se);rs.messages(r.messages),E.rule.options&&(E.rule.options.messages=r.messages,E.rule.options.error=r.error),rs.validate(E.value,E.rule.options||r,function(hr){var Ct=[];O&&O.length&&Ct.push.apply(Ct,O),hr&&hr.length&&Ct.push.apply(Ct,hr),S(Ct.length?Ct:null)})}}var F;m.asyncValidator?F=m.asyncValidator(m,E.value,x,E.source,r):m.validator&&(F=m.validator(m,E.value,x,E.source,r),F===!0?x():F===!1?x(m.message||m.field+" fails"):F instanceof Array?x(F):F instanceof Error&&x(F.message)),F&&F.then&&F.then(function(){return x()},function(ce){return x(ce)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ot.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"?Ot.required:Ot[this.getType(e)]||!1}},Re.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ot[e]=n},Re.warning=Ur,Re.messages=ku,Re.validators=Ot;var Fm={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 km(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Re(t);return n.messages(Object.assign(Fm,e)),n}var Mm=new _y;function Mu(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 Nm(t){if(Array.isArray(t))return t}function Lm(t){if(Array.isArray(t))return Mu(t)}function Qr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Jr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Qr(a,i,u,r,l,"next",s)}function l(s){Qr(a,i,u,r,l,"throw",s)}r(void 0)})}}function $m(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 Vm(t,e,n){return e&&Zr(t.prototype,e),n&&Zr(t,n),t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function pr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Hm(){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 qm(){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 el(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){k(t,u,n[u])})}return t}function jm(t){return Nm(t)||pr(t)||tl(t)||Hm()}function Nu(t){return Lm(t)||pr(t)||tl(t)||qm()}function tl(t,e){if(!!t){if(typeof t=="string")return Mu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mu(t,e)}}var nl=function(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(f){return s([o,f])}}function s(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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},M=function(){function e(n){var i=this;$m(this,e),k(this,"id",void 0),k(this,"name",void 0),k(this,"icon",void 0),k(this,"type",void 0),k(this,"controlType",void 0),k(this,"props",void 0),k(this,"setting",[]),k(this,"fieldType",void 0),k(this,"eventKeys",[]),k(this,"customEvents",[]),k(this,"parent",null),k(this,"updateSetting",ul),k(this,"removeSetting",il),this._callControlHooks("preInstance",n);var u=Yr(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,f=u.controlCustomEvents,g=u.name,b=u.setting;a&&r&&l||Sr("The ".concat(g," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:be(10),this.name=a,this.icon=r;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:l,this.props=new G(n==null?void 0:n.props,(Yr(this,e)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=Te(b);var S;this.fieldType=(S=n==null?void 0:n.fieldType)!==null&&S!==void 0?S:s,this.eventKeys=Te(o),this.customEvents=Te(f),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Vm(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=jm(u),s=l[0],o=l.slice(1);return(r=Mm).emit.apply(r,[s,this].concat(Nu(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),ry(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Jr(function(){var u,a,r;return nl(this,function(l){switch(l.label){case 0:return u=el({},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 Jr(function(){var r,l,s,o;return nl(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:r=f.sent(),l=r!==void 0?r:el({},a.rules),Array.isArray(u)&&u.forEach(function(g){l.hasOwnProperty(g)&&delete l[g]}),s=km(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw o=f.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,s=l.dataBind,o=l.datasourceBind,f=l.optionConfig,g=l.caption,b=l.required,w=l.maxLength,I=l.options,E=l.encrypted,S=l.encryptedMode;if(!(!u&&!s&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:g,type:r,props:{}};switch(s&&(m.dataBind=s),f){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=I;break}return b!==void 0&&(m.required=b),w!==void 0&&(m.maxLength=w),E!==void 0&&(m.encrypted=E),S!==void 0&&(m.encryptedMode=S),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Te(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,Nu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();k(M,"controlName","\u63A7\u4EF6"),k(M,"controlIcon","icon"),k(M,"controlType","control"),k(M,"controlFieldType",void 0),k(M,"controlEventKeys",[]),k(M,"controlCustomEvents",[]),k(M,"setting",[]),k(M,"__is_control__",!0),k(M,"removeSettingItem",il),k(M,"updateSettingItem",ul);function il(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function ul(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 s;(s=a.showItems).push.apply(s,Nu(e.showItems))}}}})}function Um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function al(t,e){for(var n=0;n<e.length;n++){var 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&&al(t.prototype,e),n&&al(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Km(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Um(this,e),de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var i=Km(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Sr("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:be(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 f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var g;this.fieldType=(g=n==null?void 0:n.fieldType)!==null&&g!==void 0?g:a;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:Au.UNKNOWN}return Wm(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}();de(X,"controlType","control"),de(X,"controlFieldType",void 0),de(X,"__is_control__",!0),de(X,"controlCustomEvents",[]);function Lu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=dy(a);a.length!==r.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Mn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function $n(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function zm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Gm(t,e){return e&&(Xm(e)==="object"||typeof e=="function")?e:N(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$u(t,e)}var Xm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Vn(t){var e=Qm();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 Gm(this,u)}}var Z=function(t){$n(n,t);var e=Vn(n);function n(i){Nn(this,n);var u;u=e.call(this,i),L(N(u),"dataBind",{}),L(N(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),L(N(u),"isHideCaption",{type:"boolean"}),L(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),L(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),L(N(u),"required",{type:"boolean"}),L(N(u),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(zm(i.dataBind,fe))u.dataBind={type:"object",required:!0,fields:Te(a),message:d.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Te(a),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),$=function(t){$n(n,t);var e=Vn(n);function n(i){Nn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(He),R=function(t){$n(n,t);var e=Vn(n);function n(i){Nn(this,n);var u;u=e.call(this,i),L(N(u),"caption",void 0),L(N(u),"isHideCaption",void 0),L(N(u),"isShowCaptionTip",void 0),L(N(u),"captionTip",void 0),L(N(u),"labelPosition",void 0),L(N(u),"dataBind",void 0),L(N(u),"defaultValue",void 0),L(N(u),"placeholder",void 0),L(N(u),"defaultState",void 0),L(N(u),"required",void 0),L(N(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 s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var f;u.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var g;u.placeholder=(g=i==null?void 0:i.placeholder)!==null&&g!==void 0?g:"";var b;u.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var w;u.requiredMessage=(w=i==null?void 0:i.requiredMessage)!==null&&w!==void 0?w:"",u.dataBind=new fe(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(G);L(R,"Rules",Z),L(R,"RuntimeRules",$);var lt=function(t){$n(n,t);var e=Vn(n);function n(i){Nn(this,n);var u;return u=e.call(this,i),L(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),L(N(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),L(N(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Lu.call(N(u),i),u}return n}(Z);function Vu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function Zm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hu(t,e)}function Ym(t,e){return e&&(pm(e)==="object"||typeof e=="function")?e:Vu(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}var pm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ev(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function tv(t){var e=ev();return function(){var i=qn(t),u;if(e){var a=qn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ym(this,u)}}var P=function(t){Zm(n,t);var e=tv(n);function n(i){Jm(this,n);var u;return u=e.call(this,i),Hn(Vu(u),"controlType","form"),Hn(Vu(u),"props",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(M);Hn(P,"controlEventKeys",["on_change","on_focus","on_blur"]),Hn(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 nv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function iv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ju(t,e)}function uv(t,e){return e&&(av(e)==="object"||typeof e=="function")?e:jn(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ju(t,e)}var av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function lv(t){var e=rv();return function(){var i=Un(t),u;if(e){var a=Un(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return uv(this,u)}}var D=function(t){iv(n,t);var e=lv(n);function n(i){nv(this,n);var u;return u=e.call(this,i),qu(jn(u),"controlType","form"),qu(jn(u),"props",void 0),qu(jn(u),"value",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(X);function ov(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function sv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function dv(t,e){return e&&(fv(e)==="object"||typeof e=="function")?e:ov(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}var fv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function hv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function yv(t){var e=hv();return function(){var i=Wn(t),u;if(e){var a=Wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return dv(this,u)}}var q=function(t){sv(n,t);var e=yv(n);function n(i){return cv(this,n),e.call(this,i)}return n}(G);function Wu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function mv(t){if(Array.isArray(t))return Wu(t)}function vv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rl(t){return mv(t)||vv(t)||bv(t)||gv()}function bv(t,e){if(!!t){if(typeof t=="string")return Wu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wu(t,e)}}function Ev(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ll(t,e){t.parent=e,Ev(t,"parent")}function _v(t,e){t.forEach(function(n){ll(n,e)})}var ol=Symbol("targetKey");function cl(t){var e;return(e=t[ol])!==null&&e!==void 0?e:t}function sl(t,e){return _v(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var s;return u===ol?i:(s=Reflect).get.apply(s,[i,u].concat(rl(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),s=3;s<r;s++)l[s-3]=arguments[s];var o;if(hu(t)&&u==="length"&&a===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,a].concat(rl(l)));return sy(a)&&ll(a,e),f}})}function _e(t,e,n,i){var u=i!=null?i:t,a=sl(cl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=sl(cl(l),u)},enumerable:!0})}function Ku(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 Cv(t){if(Array.isArray(t))return Ku(t)}function qe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function wv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){dl(a,i,u,r,l,"next",s)}function l(s){dl(a,i,u,r,l,"throw",s)}r(void 0)})}}function Iv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Sv(t,e,n){return e&&fl(t.prototype,e),n&&fl(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}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,a,r){var l=Fv(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},ot(t,e,n||t)}function De(t){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(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&&zu(t,e)}function Tv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Bv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Rv(){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 Pv(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){Pe(t,u,n[u])})}return t}function Dv(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 xv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Dv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Ov(t,e){return e&&(kv(e)==="object"||typeof e=="function")?e:qe(t)}function zu(t,e){return zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zu(t,e)}function Fv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=De(t),t!==null););return t}function hl(t){return Cv(t)||Bv(t)||Mv(t)||Rv()}var kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mv(t,e){if(!!t){if(typeof t=="string")return Ku(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 Ku(t,e)}}function Nv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Lv(t){var e=Nv();return function(){var i=De(t),u;if(e){var a=De(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ov(this,u)}}var $v=function(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(f){return s([o,f])}}function s(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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Vv=1e4,K=function(e){Av(i,e);var n=Lv(i);function i(u){Iv(this,i);var a;a=n.call(this,u),Pe(qe(a),"controlType","layout"),Pe(qe(a),"children",void 0),Pe(qe(a),"excludes",void 0),Pe(qe(a),"childrenMaxLength",void 0),Pe(qe(a),"props",void 0);var r=Tv(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new q(u==null?void 0:u.props),_e(qe(a),"children",u==null?void 0:u.children),a.excludes=Te(l),a.childrenMaxLength=s,a}return Sv(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,s=this,o=function(){return ot(De(i.prototype),"validate",l)};return wv(function(){return $v(this,function(f){switch(f.label){case 0:return[4,o().call(s,a,r)];case 1:return f.sent(),[4,Promise.all(s.children.map(function(g){return g.validate(a,r)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=ot(De(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(s,o){var f=o.toDataBindModel(a);if(Array.isArray(f)){var g=f.filter(function(b){return!!b});return hl(s).concat(hl(g))}return f&&s.push(f),s},l)}},{key:"toSchema",value:function(){var a=ot(De(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return xv(Pv({},a),{children:r})}}]),i}(M);Pe(K,"excludes",!1),Pe(K,"childrenMaxLength",Vv);function Ft(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gu(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 qv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xu(t,e)}function jv(t,e){return e&&(Uv(e)==="object"||typeof e=="function")?e:Ft(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}var Uv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Kv(t){var e=Wv();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 jv(this,u)}}var Q=function(t){qv(n,t);var e=Kv(n);function n(i){Hv(this,n);var u;return u=e.call(this,i),Gu(Ft(u),"controlType","layout"),Gu(Ft(u),"children",void 0),Gu(Ft(u),"props",void 0),u.props=new q(i==null?void 0:i.props),_e(Ft(u),"children",i==null?void 0:i.children),u}return n}(X);function Qu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function Xv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ju(t,e)}function Qv(t,e){return e&&(Jv(e)==="object"||typeof e=="function")?e:Qu(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}var Jv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Yv(t){var e=Zv();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 Qv(this,u)}}var Gn=function(t){Xv(n,t);var e=Yv(n);function n(i,u){zv(this,n);var a;return a=e.call(this,u),Gv(Qu(a),"headers",void 0),_e(Qu(a),"headers",u==null?void 0:u.headers,i),a}return n}(G);function Zu(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 pv(t){if(Array.isArray(t))return Zu(t)}function Xn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function eg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){yl(a,i,u,r,l,"next",s)}function l(s){yl(a,i,u,r,l,"throw",s)}r(void 0)})}}function tg(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 ng(t,e,n){return e&&ml(t.prototype,e),n&&ml(t,n),t}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 ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,r){var l=og(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},ct(t,e,n||t)}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(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&&Yu(t,e)}function ug(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ag(){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 vl(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){Qn(t,u,n[u])})}return t}function rg(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 gl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):rg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function lg(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:Xn(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}function og(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xe(t),t!==null););return t}function bl(t){return pv(t)||ug(t)||sg(t)||ag()}var cg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sg(t,e){if(!!t){if(typeof t=="string")return Zu(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 Zu(t,e)}}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=xe(t),u;if(e){var a=xe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return lg(this,u)}}var hg=function(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(f){return s([o,f])}}function s(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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},pu=function(t){ig(n,t);var e=fg(n);function n(i){tg(this,n);var u;return u=e.call(this,i),Qn(Xn(u),"controlType","list"),Qn(Xn(u),"props",void 0),u.props=new Gn(Xn(u),i==null?void 0:i.props),u}return ng(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return ct(xe(n.prototype),"validate",r)};return eg(function(){return hg(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(f){return f.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=ct(xe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(r);if(Array.isArray(o)){var f=o.filter(function(g){return!!g});return bl(l).concat(bl(f))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=ct(xe(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return gl(vl({},u),{props:gl(vl({},this.props),{headers:a})})}}]),n}(M);Qn(pu,"controlFieldType",v.LIST);function st(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 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 mg(t,e,n){return e&&El(t.prototype,e),n&&El(t,n),t}function ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(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&&ta(t,e)}function gg(t,e){return e&&(bg(e)==="object"||typeof e=="function")?e:st(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}var bg=function(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 _g(t){var e=Eg();return function(){var i=Jn(t),u;if(e){var a=Jn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return gg(this,u)}}var _l=function(t){vg(n,t);var e=_g(n);function n(i){yg(this,n);var u;return u=e.call(this,i),ea(st(u),"controlType","list"),ea(st(u),"children",void 0),ea(st(u),"props",void 0),u.props=new Gn(st(u),i==null?void 0:i.props),_e(st(u),"children",i==null?void 0:i.children),u}return mg(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 na(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function ia(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function Cg(t,e){return e&&(wg(e)==="object"||typeof e=="function")?e:J(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}var wg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ig(){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 aa(t){var e=Ig();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 Ce=function(t){ia(n,t);var e=aa(n);function n(i){na(this,n);var u;return u=e.call(this,i),Y(J(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Y(J(u),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){ia(n,t);var e=aa(n);function n(i){na(this,n);var u;u=e.call(this,i),Y(J(u),"widthType",void 0),Y(J(u),"width",void 0),Y(J(u),"caption",void 0),Y(J(u),"dataBind",void 0),Y(J(u),"autoWidth",void 0),Y(J(u),"fixed",void 0),Y(J(u),"sort",void 0),Y(J(u),"align",void 0),Y(J(u),"colSpan",void 0),Y(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 Mr(i==null?void 0:i.autoWidth),u.dataBind=new fe(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);Y(z,"Rules",Ce);var Cl=function(t){ia(n,t);var e=aa(n);function n(i){na(this,n);var u;return u=e.call(this,i),Y(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Y(J(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),Y(J(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Lu.call(J(u),i),u}return n}(Ce);function ra(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function Ag(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 Tg(t,e){return e&&(Bg(e)==="object"||typeof e=="function")?e:ra(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}var Bg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Rg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Pg(t){var e=Rg();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 Tg(this,u)}}var p=function(t){Ag(n,t);var e=Pg(n);function n(i){Sg(this,n);var u;return u=e.call(this,i),wl(ra(u),"controlType","column"),wl(ra(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(M);function oa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Il(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 xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ca(t,e)}function Og(t,e){return e&&(Fg(e)==="object"||typeof e=="function")?e:oa(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}var Fg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Mg(t){var e=kg();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 Og(this,u)}}var ee=function(t){xg(n,t);var e=Mg(n);function n(i){Dg(this,n);var u;return u=e.call(this,i),Il(oa(u),"controlType","column"),Il(oa(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(X);function Sl(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 Lg(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 $g(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 Vg(t,e){return e&&(Hg(e)==="object"||typeof e=="function")?e:Sl(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}var Hg=function(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 jg(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 Vg(this,u)}}var da=function(t){$g(n,t);var e=jg(n);function n(i){Ng(this,n);var u;return u=e.call(this,i),Lg(Sl(u),"dataBind",void 0),u.dataBind=new fe(i==null?void 0:i.dataBind),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 Ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Al(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function Wg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function Kg(t,e){return e&&(zg(e)==="object"||typeof e=="function")?e:fa(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}var zg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Xg(t){var e=Gg();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Kg(this,u)}}var Qg=function(t){Wg(n,t);var e=Xg(n);function n(i){Ug(this,n);var u;return u=e.call(this,i),Al(fa(u),"controlType","search"),Al(fa(u),"props",void 0),u.props=new da(i==null?void 0:i.props),u}return n}(K);function ya(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(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&&ma(t,e)}function Yg(t,e){return e&&(pg(e)==="object"||typeof e=="function")?e:ya(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}var pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function e0(){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=e0();return function(){var i=ni(t),u;if(e){var a=ni(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Yg(this,u)}}var n0=function(t){Zg(n,t);var e=t0(n);function n(i){Jg(this,n);var u;return u=e.call(this,i),Tl(ya(u),"controlType","search"),Tl(ya(u),"props",void 0),u.props=new da(i==null?void 0:i.props),u}return n}(Q);function je(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}class va extends G{constructor(e){var n,i,u,a,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class Bl extends M{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Bl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class i0 extends X{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"text"}}var Rl={Designer:Bl,Runtime:i0,Property:va};class ga 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 ba extends M{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}ba.controlEventKeys=["on_click"],ba.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class u0 extends X{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"link"}}var Pl={Designer:ba,Runtime:u0,Property:ga};class ie extends G{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(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=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class ue extends M{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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class oe extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var Dl={Designer:ue,Runtime:oe,Property:ie},Oe=(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))(Oe||{}),xl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(xl||{}),Ol=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Ol||{});class ii{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:be(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ea=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ea||{});class ui{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:be(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var _a=(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))(_a||{});class Ca{constructor(e){var n,i,u,a,r,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Bt((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 Bt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Bt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Fl{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(s=>new Ca(s)))!=null?u:[new Ca],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 wa{constructor(e){var n,i,u,a,r,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:be(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=(s=e==null?void 0:e.active)!=null?s:!1}}class Ia{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 kl{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 Ia(e==null?void 0:e.watermark),this.autoRename=new Ia(e==null?void 0:e.autoRename)}}const Ml=480;function kt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Nl{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 Ll{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 $l=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))($l||{}),Sa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Sa||{}),ai=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(ai||{}),Fe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Fe||{}),Aa=(t=>(t.ALL="all",t.ADMIN="admin",t))(Aa||{});class Ta 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:_a.SOLID}}class Vl extends M{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Vl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class a0 extends X{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Hl={Designer:Vl,Runtime:a0,Property:Ta};class r0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Oe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class ri extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new fe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Oe.ShowSubmitUser,Oe.ShowSubmitDept,Oe.ShowSubmitTime,Oe.ShowCurrentApprovar,Oe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}ri.Rules=r0;class dt extends M{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}dt.controlFieldType=v.AUTO_NUMBER,dt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class l0 extends X{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"title"}}var ql={Designer:dt,Runtime:l0,Property:ri};class o0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class li extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Mt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}li.Rules=o0;class Mt extends ue{constructor(e){super(e),this.props=new li(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"}}Mt.controlEventKeys=["on_click","on_click_finish"],Mt.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 c0 extends oe{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var jl={Designer:Mt,Runtime:c0,Property:li};class s0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class oi extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Nt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Nt.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:""}}oi.Rules=s0;class Nt extends ue{constructor(e){super(e),this.props=new oi(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"}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.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 d0 extends oe{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Ul={Designer:Nt,Runtime:d0,Property:oi};class Ba extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Lt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Lt.controlIcon}}class Lt extends ue{constructor(e){super(e),this.props=new Ba(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"}}Lt.controlEventKeys=["on_click"],Lt.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 f0 extends oe{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Wl={Designer:Lt,Runtime:f0,Property:Ba};class Ra extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:$t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:$t.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new wa(r)))!=null?a:[new wa({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class $t extends ue{constructor(e){super(e),this.props=new Ra(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"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class h0 extends oe{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Kl={Designer:$t,Runtime:h0,Property:Ra};class Pa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Vt.controlIcon}}class Vt extends ue{constructor(e){super(e),this.props=new Pa(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"}}Vt.controlEventKeys=["on_click"],Vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class y0 extends oe{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var zl={Designer:Vt,Runtime:y0,Property:Pa};class m0{constructor(e){this.dataCode=e.dataCode}}class Da extends ie{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ht.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ht.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new m0(r)))!=null?a:[]}}class Ht extends ue{constructor(e){super(e),this.props=new Da(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"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class v0 extends oe{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Gl={Designer:Ht,Runtime:v0,Property:Da};function ci(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class g0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Se({},ci())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Se({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ci())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class si extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Iu(e==null?void 0:e.fillPayload),this.formBind=new Fy(e==null?void 0:e.formBind),this.fillBack=new qr(e==null?void 0:e.fillBack)}}si.Rules=g0;class qt extends ue{constructor(e){super(e),this.props=new si(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class b0 extends oe{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Xl={Designer:qt,Runtime:b0,Property:si};class E0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Se({},ci())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Se({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ci())}}}class di extends ie{constructor(e){var n,i,u;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.fillPayload=new Iu(e==null?void 0:e.fillPayload),this.listPageBind=new Lr(e==null?void 0:e.listPageBind),this.fillBack=new qr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new wu(e==null?void 0:e.selectedContentConfig)}}di.Rules=E0;class jt extends ue{constructor(e){super(e),this.props=new di(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"}}jt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class _0 extends oe{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Ql={Designer:jt,Runtime:_0,Property:di};class C0 extends U{constructor(e){super(e)}}class w0 extends He{constructor(e){super(e)}}class Ut extends G{constructor(e){super(e)}}Ut.Rules=C0,Ut.RuntimeRules=w0;class Jl extends M{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Jl.setting=[];class I0 extends X{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Zl={Designer:Jl,Runtime:I0,Property:Ut};class S0 extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class fi 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"}}fi.Rules=S0;class Yl extends M{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Yl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class A0 extends X{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var pl={Designer:Yl,Runtime:A0,Property:fi};class T0 extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class hi 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 Qy(a)))!=null?u:[]}}hi.Rules=T0;class eo extends M{constructor(e){super(e),this.props=new hi(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"}}eo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class B0 extends X{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var to={Designer:eo,Runtime:B0,Property:hi};class R0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class yi extends ie{constructor(e){var n,i,u,a,r,l,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ft.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:ft.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ft.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(g=(f=e==null?void 0:e.fillList)==null?void 0:f.map(b=>new ae(b)))!=null?g:[]}}yi.Rules=R0;class ft extends ue{constructor(e){super(e),this.props=new yi(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"}}ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class P0 extends oe{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var no={Designer:ft,Runtime:P0,Property:yi};class D0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class mi extends ie{constructor(e){var n,i,u,a,r,l,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ht.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:ht.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ht.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(g=(f=e==null?void 0:e.fillList)==null?void 0:f.map(b=>new ae(b)))!=null?g:[]}}mi.Rules=D0;class ht extends ue{constructor(e){super(e),this.props=new mi(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"}}ht.controlEventKeys=["on_click","on_click_finish"],ht.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class x0 extends oe{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var io={Designer:ht,Runtime:x0,Property:mi};class O0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class vi extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Wt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Nl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}vi.Rules=O0;class Wt extends ue{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class F0 extends oe{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var uo={Designer:Wt,Runtime:F0,Property:vi};class xa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Kt.controlIcon}}class Kt extends 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"}}Kt.controlEventKeys=["on_click"],Kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class k0 extends oe{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 ao={Designer:Kt,Runtime:k0,Property:xa};class M0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class gi 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}}gi.Rules=M0;class bi extends M{constructor(e){super(e),this.props=new gi(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"}}bi.controlEventKeys=["on_click"],bi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class N0 extends X{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ro={Designer:bi,Runtime:N0,Property:gi};class Oa extends G{constructor(e){var n,i,u,a,r,l,s,o,f;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.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=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class zt extends M{constructor(e){super(e),this.props=new Oa(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"}}zt.controlEventKeys=["on_click"],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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class L0 extends X{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var lo={Designer:zt,Runtime:L0,Property:Oa},$0=Object.freeze({__proto__:null,Text:Rl,Link:Pl,Button:Dl,Divider:Hl,Title:ql,CreateFormListButton:jl,BatchSubmissionListButton:Ul,SubmissionRecordListButton:Wl,ExportListButton:Kl,ExportRecordListButton:zl,ImportRecordListButton:Gl,FormSelectButton:Xl,ListSelectButton:Ql,Pagination:Zl,Dashboard:pl,ListViewSelect:to,TextOcrButton:no,InvoiceCheckButton:io,BatchPrintListButton:uo,BatchPrintRecordListButton:ao,OperationButton:ro,BatchDeleteButton:lo});class V0 extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=kt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class H0 extends ${constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:kt(e.regularRules.expression),message:e.regularRules.errMessage})}}class yt extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new jr(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:mt.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=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}yt.Rules=V0,yt.RuntimeRules=H0;class mt extends P{constructor(e){super(e),this.props=new yt(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"}}mt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],mt.controlFieldType=v.VARCHAR,mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class oo extends D{constructor(e){super(e),this.props=new yt(e==null?void 0:e.props)}static get controlType(){return"input"}}oo.controlFieldType=v.VARCHAR;var co={Designer:mt,Runtime:oo,Property:yt};class q0 extends lt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class j0 extends ${constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Gt extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,w,I;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=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Xt.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(w=e==null?void 0:e.defaultShowOptions)!=null?w:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var S;(S=this.multistageFilling)==null||S.push(new ae(E))}))}}Gt.Rules=q0,Gt.RuntimeRules=j0;class Xt extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Xt.controlEventKeys=["on_change","on_click"],Xt.controlFieldType=v.ARRAY,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class so extends D{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}so.controlFieldType=v.ARRAY;var fo={Designer:Xt,Runtime:so,Property:Gt};class U0 extends lt{constructor(e){super(e)}}class Ei extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g,b;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=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Qt.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var I;(I=this.multistageFilling)==null||I.push(new ae(w))}))}}Ei.Rules=U0;class Qt extends P{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=v.VARCHAR,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class ho extends D{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"radio"}}ho.controlFieldType=v.VARCHAR;var yo={Designer:Qt,Runtime:ho,Property:Ei};class W0 extends Z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=kt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class K0 extends ${constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:kt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Jt extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,w,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(g=e==null?void 0:e.unit)!=null?g:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:Zt.controlName,this.placeholder=(w=e==null?void 0:e.placeholder)!=null?w:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new jr(e==null?void 0:e.regularRules)}}Jt.Rules=W0,Jt.RuntimeRules=K0;class Zt extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=v.DECIMAL,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class mo extends D{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"number"}}mo.controlFieldType=v.DECIMAL;var vo={Designer:Zt,Runtime:mo,Property:Jt};class Fa extends R{constructor(e){var n,i,u,a,r,l,s,o,f;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:_i.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(g=>new ii(g)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(f=e==null?void 0:e.filterWeekend)!=null?f:!1}}class _i extends P{constructor(e){super(e),this.props=new Fa(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}}_i.controlFieldType=v.TIMESTAMP,_i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class go extends D{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}go.controlFieldType=v.TIMESTAMP;var bo={Designer:_i,Runtime:go,Property:Fa};class z0 extends ${constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Ci extends R{constructor(e){var n,i,u,a,r,l,s,o,f;super(e),this.dataBind=new Wy(e==null?void 0:e.dataBind),this.defaultValue=new Ky(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:wi.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(g=>new ii(g)))!=null?f:[]}}Ci.RuntimeRules=z0;class wi extends P{constructor(e){super(e),this.props=new Ci(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}}wi.controlFieldType=v.TIMESCOPE,wi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Eo extends D{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Eo.controlFieldType=v.TIMESCOPE;var _o={Designer:wi,Runtime:Eo,Property:Ci};class G0 extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class X0 extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Yt extends R{constructor(e){var n,i,u,a,r,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.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}}Yt.Rules=G0,Yt.RuntimeRules=X0;class pt extends P{constructor(e){super(e),this.props=new Yt(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"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=v.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Co extends D{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Co.controlFieldType=v.TEXT;var wo={Designer:pt,Runtime:Co,Property:Yt};class Q0 extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class J0 extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class en extends R{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:tn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}en.Rules=Q0,en.RuntimeRules=J0;class tn extends P{constructor(e){super(e),this.props=new en(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"}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=v.TEXT,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Io extends D{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Io.controlFieldType=v.TEXT;var So={Designer:tn,Runtime:Io,Property:en};class Z0 extends lt{constructor(e){super(e)}}class Ii extends R{constructor(e){var n,i,u,a,r,l,s,o;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 ne(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Si.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=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!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(f=>{var g;(g=this.multistageFilling)==null||g.push(new ae(f))}))}}Ii.Rules=Z0;class Si extends P{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Si.controlFieldType=v.VARCHAR,Si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Ao extends D{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"select"}}Ao.controlFieldType=v.VARCHAR;var To={Designer:Si,Runtime:Ao,Property:Ii};class Y0 extends lt{constructor(e){super(e)}}class p0 extends ${constructor(e){super(e),this[0].type="array"}}class nn extends R{constructor(e){var n,i,u,a,r,l,s;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 ne(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ai.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=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new ae(o))}))}}nn.Rules=Y0,nn.RuntimeRules=p0;class Ai extends P{constructor(e){super(e),this.props=new nn(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"}}Ai.controlFieldType=v.ARRAY,Ai.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Bo extends D{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Bo.controlFieldType=v.ARRAY;var Ro={Designer:Ai,Runtime:Bo,Property:nn};class eb extends ${constructor(e){super(e),this[0].type="array"}}class Ti extends R{constructor(e){var n,i,u,a,r,l,s,o,f;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=(s=e==null?void 0:e.caption)!=null?s:Bi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var b;(b=this.multistageFilling)==null||b.push(new ae(g))}))}}Ti.RuntimeRules=eb;class Bi extends P{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Bi.controlFieldType=v.EMPLOYEES,Bi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Po extends D{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"employee"}}Po.controlFieldType=v.EMPLOYEES;var Do={Designer:Bi,Runtime:Po,Property:Ti};const tb=10485760,nb=104857600,ib=1048576e3;class ub extends Z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:ib,message:d.getMessage("attachmentMaxSize")}}}class ab extends ${constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class vt extends R{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:nb,this.caption=(s=e==null?void 0:e.caption)!=null?s:gt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}vt.Rules=ub,vt.RuntimeRules=ab;class gt extends P{constructor(e){super(e),this.props=new vt(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}gt.controlEventKeys=["on_change"],gt.controlFieldType=v.FILE,gt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ka extends D{constructor(e){super(e),this.props=new vt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ka.controlFieldType=v.FILE;var xo={Designer:gt,Runtime:ka,Property:vt};const Oo=class extends gt{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:Oo.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ma=Oo;Ma.controlFieldType=v.IMAGE,Ma.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class rb extends ka{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 lb extends vt{constructor(e){super(e)}}var Fo={Designer:Ma,Runtime:rb,Property:lb};class ob extends lt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class cb extends ${constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Bn(Se({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class un extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g,b;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 jy(e==null?void 0:e.dataBind),this.datasourceBind=new ne((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new _u({value:"name"})]}),this.defaultValue=new Uy((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:xn.CNY}),this.options=Ee(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:an.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}un.Rules=ob,un.RuntimeRules=cb;class an extends P{constructor(e){super(e),this.props=new un(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}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=v.MONEY,an.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ko extends D{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"amount"}}ko.controlFieldType=v.MONEY;var Mo={Designer:an,Runtime:ko,Property:un};class sb extends Z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class db extends ${constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class rn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ea.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 ui(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new ui),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:ln.controlName}}rn.Rules=sb,rn.RuntimeRules=db;class ln extends P{constructor(e){super(e),this.props=new rn(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 ui);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=v.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class No extends D{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"score"}}No.controlFieldType=v.DECIMAL;var Lo={Designer:ln,Runtime:No,Property:rn};class fb extends ${constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Ri extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Pi.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 zy((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"}}Ri.RuntimeRules=fb;class Pi extends P{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Pi.controlFieldType=v.ADDRESS,Pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class $o extends D{constructor(e){super(e),this.props=new Ri(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"}}$o.controlFieldType=v.ADDRESS;var Vo={Designer:Pi,Runtime:$o,Property:Ri};class hb extends ${constructor(e){super(e),this[0].type="array"}}class Di extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(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=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:xi.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var I;(I=this.multistageFilling)==null||I.push(new ae(w))}))}}Di.RuntimeRules=hb;class xi extends P{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}xi.controlFieldType=v.DEPARTMENTS,xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Ho extends D{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"department"}}Ho.controlFieldType=v.DEPARTMENTS;var qo={Designer:xi,Runtime:Ho,Property:Di};class Na extends R{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:on.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class on extends P{constructor(e){super(e),this.props=new Na(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"}}on.controlEventKeys=["on_change"],on.controlFieldType=v.AUTO_NUMBER,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class jo extends D{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}jo.controlFieldType=v.AUTO_NUMBER;var Uo={Designer:on,Runtime:jo,Property:Na};class yb extends Z{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class mb extends ${constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class cn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Gy(e==null?void 0:e.dataBind),this.defaultValue=new Xy(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.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=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}cn.Rules=yb,cn.RuntimeRules=mb;class sn extends P{constructor(e){super(e),this.props=new cn(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}}sn.controlEventKeys=["on_change"],sn.controlFieldType=v.CALC,sn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Wo extends D{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Wo.controlFieldType=v.CALC;var Ko={Designer:sn,Runtime:Wo,Property:cn};class vb extends ${constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Oi extends R{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:Fi.controlName}}Oi.RuntimeRules=vb;class Fi extends P{constructor(e){super(e),this.props=new Oi(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"}}Fi.controlFieldType=v.DECIMAL_RANGE,Fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zo extends D{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}zo.controlFieldType=v.DECIMAL_RANGE;var Go={Designer:Fi,Runtime:zo,Property:Oi};class gb extends ${constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class ki extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Ae.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:Mi.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(b=>new ii(b)))!=null?g:[]}}ki.RuntimeRules=gb;class Mi extends P{constructor(e){super(e),this.props=new ki(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"}}Mi.controlFieldType=v.ARRAY,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Xo extends D{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Xo.controlFieldType=v.ARRAY;var Qo={Designer:Mi,Runtime:Xo,Property:ki};class bb extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class Eb extends ${constructor(e){super(e),this[0].type="any"}}class dn extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:fn.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}}dn.Rules=bb,dn.RuntimeRules=Eb;class fn extends P{constructor(e){super(e),this.props=new dn(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"}}fn.controlFieldType=v.ANY,fn.controlEventKeys=[],fn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Jo extends D{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Jo.controlFieldType=v.ANY;var Zo={Designer:fn,Runtime:Jo,Property:dn};class _b extends lt{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class Ni extends R{constructor(e){var n,i,u,a,r,l,s,o;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 Lr(e==null?void 0:e.listPageBind),this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:hn.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=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new wu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var g;(g=this.multistageFilling)==null||g.push(new ae(f))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1}}Ni.Rules=_b;class hn extends P{constructor(e){super(e),this.props=new Ni(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"}}hn.controlFieldType=v.VARCHAR,hn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],hn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Yo extends D{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Yo.controlFieldType=v.VARCHAR;var po={Designer:hn,Runtime:Yo,Property:Ni};class La extends yt{constructor(e){super(e)}}class ec extends mt{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}ec.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class tc extends D{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"search-input"}}tc.controlFieldType=v.VARCHAR;var nc={Designer:ec,Runtime:tc,Property:La};class Cb extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Mn.call(this,e,ke.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class wb extends ${constructor(e){super(e),this[0].type="array"}}class yn extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,w,I,E,S,m,_,B;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new Vr((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new Vr((I=e==null?void 0:e.filterItemDatasourceBind)!=null?I:{attributes:ke.controlCustomAttributes}),this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.defaultDisplay=(S=e==null?void 0:e.defaultDisplay)!=null?S:!1,this.multistageFilling=(_=(m=e==null?void 0:e.multistageFilling)==null?void 0:m.map(x=>new ae(x)))!=null?_:[],this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:[]}}yn.Rules=Cb,yn.RuntimeRules=wb;class ke extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}ke.controlEventKeys=["on_change","on_click"],ke.controlFieldType=v.ARRAY,ke.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class ic extends D{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"tree"}}ic.controlFieldType=v.ARRAY;var uc={Designer:ke,Runtime:ic,Property:yn};class Ib extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},Mn.call(this,e,bt.controlCustomAttributes),e.externalType===Fe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class Sb extends ${constructor(e){super(e),this[0].type="array"}}class mn extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,w,I,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=(s=e==null?void 0:e.caption)!=null?s:bt.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 Rt((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:bt.controlCustomAttributes}),this.datasourceType=(g=e==null?void 0:e.datasourceType)!=null?g:Sa.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Aa.ADMIN,this.externalType=(w=e==null?void 0:e.externalType)!=null?w:Fe.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],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(S=>{var m;(m=this.multistageFilling)==null||m.push(new ae(S))}))}}mn.Rules=Ib,mn.RuntimeRules=Sb;class bt extends P{constructor(e){super(e),this.props=new mn(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}]}}bt.controlFieldType=v.EMPLOYEES,bt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class ac extends D{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}ac.controlFieldType=v.EMPLOYEES;var rc={Designer:bt,Runtime:ac,Property:mn};class Ab extends Z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&hu(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")&&hu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Li extends R{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:vn.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 Fl(e==null?void 0:e.signatureConfig)}}Li.Rules=Ab;class vn extends P{constructor(e){super(e),this.props=new Li(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"}}vn.controlEventKeys=["on_click","on_click_finish"],vn.controlFieldType=v.VARCHAR,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class lc extends D{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}lc.controlFieldType=v.VARCHAR;var oc={Designer:vn,Runtime:lc,Property:Li};class Tb extends Z{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Bb extends ${constructor(e){super(e),this[0].type="array"}}class gn extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,w;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bn.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=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(g=e==null?void 0:e.maxSize)!=null?g:tb,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new kl(e==null?void 0:e.wpsSetting),this.revisionsMode=(w=e==null?void 0:e.revisionsMode)!=null?w:!1}}gn.Rules=Tb,gn.RuntimeRules=Bb;class bn extends P{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}bn.controlEventKeys=["on_change","on_wps_open"],bn.controlFieldType=v.FILE,bn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class cc extends D{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"wps"}}cc.controlFieldType=v.FILE;var sc={Designer:bn,Runtime:cc,Property:gn};class Rb extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},Mn.call(this,e,Et.controlCustomAttributes),e.businessType===Fe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Pb extends ${constructor(e){super(e),this[0].type="array"}}class En extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,w,I,E,S;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=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Et.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Rt((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Et.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:ai.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Fe.ALL,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var _;(_=this.multistageFilling)==null||_.push(new ae(m))}))}}En.Rules=Rb,En.RuntimeRules=Pb;class Et extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Et.controlFieldType=v.DEPARTMENTS,Et.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class dc extends D{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"department2"}}dc.controlFieldType=v.DEPARTMENTS;var fc={Designer:Et,Runtime:dc,Property:En};class Db extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},Mn.call(this,e,_t.controlCustomAttributes),e.businessType===Fe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class xb extends ${constructor(e){super(e),this[0].type="array"}}class _n extends R{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,w,I,E,S,m,_,B;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(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=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:_t.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new Rt((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:_t.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:ai.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Fe.ALL,this.organizingFunction=(S=e==null?void 0:e.organizingFunction)!=null?S:"",this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:"",this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new wu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(x=>{var F;(F=this.multistageFilling)==null||F.push(new ae(x))}))}}_n.Rules=Db,_n.RuntimeRules=xb;class _t extends P{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return"\u7EC4\u7EC7"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organizationSelection"}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}}_t.controlFieldType=v.DEPARTMENTS,_t.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class hc extends D{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"organizationSelection"}}hc.controlFieldType=v.DEPARTMENTS;var yc={Designer:_t,Runtime:hc,Property:_n},Ob=Object.freeze({__proto__:null,Input:co,Checkbox:fo,Radio:yo,Number:vo,DatePicker:bo,DateRange:_o,Textarea:wo,RichText:So,Select:To,SelectMultiple:Ro,Employee:Do,Image:Fo,Attachment:xo,Amount:Mo,Score:Lo,Address:Vo,Department:qo,AutoNumber:Uo,Calc:Ko,SearchNumberRange:Go,SearchDateRange:Qo,VueFormItem:Zo,SelectRelation:po,SearchInput:nc,Tree:uc,Employee2:rc,ElectronicSignature:oc,WPS:sc,Department2:fc,OrganizationSelection:yc});class mc extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}mc.excludes=[C.GRID];class Fb extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var vc={Designer:mc,Runtime:Fb,Property:q};const kb=24;class Ue extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:kb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Cn extends K{constructor(e){super(e),this.props=new Ue(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Cn.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Cn.childrenMaxLength=1;class $a extends Q{constructor(e){super(e),this.props=new Ue(e==null?void 0:e.props)}static get controlType(){return"col"}}var gc={Designer:Cn,Runtime:$a,Property:Ue};class $i extends q{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 Vi extends K{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Vi.excludes=[C.ROW],Vi.setting=[{key:"col-setting",visible:!0}];class bc extends Q{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ec={Designer:Vi,Runtime:bc,Property:$i};const Mb=4;class Hi extends Vi{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)}}Hi.excludes=[C.GRID_ROW],Hi.setting=[],Hi.childrenMaxLength=Mb;class Nb extends bc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Lb extends $i{constructor(e){super(e)}}var _c={Designer:Hi,Runtime:Nb,Property:Lb};class $b extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class qi extends q{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"}}qi.Rules=$b;class Va extends K{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Va.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Va.excludes=[C.CARD_GROUP];class Vb extends Q{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Cc={Designer:Va,Runtime:Vb,Property:qi};class Hb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ji extends q{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 xy(e==null?void 0:e.metaAutoWidth)}}ji.Rules=Hb;class he extends K{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}he.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],he.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class wc extends Q{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}wc.controlType="subtable-column";var Ic={Designer:he,Runtime:wc,Property:ji};class Ha extends q{constructor(e){super(e)}}class We extends K{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}We.controlName="\u660E\u7EC6\u5B50\u8868\u884C",We.controlType="subtable-row",We.controlIcon="subtable-row",We.childrenMaxLength=1,We.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],We.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class qb extends Q{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Sc={Designer:We,Runtime:qb,Property:Ha};class qa extends q{constructor(e){var n,i,u,a,r,l,s,o,f,g;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:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Ae.DATE,this.departmentDisplayLevel=(g=e==null?void 0:e.departmentDisplayLevel)!=null?g:1}}class Ke extends K{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}}Ke.controlName="\u5217\u8868\u5355\u5143\u683C",Ke.controlType="gridtable-column",Ke.controlIcon="gridtable-column",Ke.childrenMaxLength=1,Ke.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ke.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Ac extends Q{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}}Ac.controlType="gridtable-column";var Tc={Designer:Ke,Runtime:Ac,Property:qa};class ja extends q{constructor(e){super(e)}}class jb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Ui extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:In.controlName}}Ui.Rules=jb;class wn extends K{constructor(e){super(e),this.props=new Ui(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"}}wn.excludes=[C.TAB],wn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Ub extends Q{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Bc={Designer:wn,Runtime:Ub,Property:Ui};class In extends K{constructor(e){var n;super(e),this.props=new ja(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new wn,new wn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}In.excludes=[C.TAB],In.controlEventKeys=["on_change_tab"],In.setting=[{key:"super-setting",visible:!0}];class Wb extends Q{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Rc={Designer:In,Runtime:Wb,Property:ja};class Pc extends q{constructor(e){super(e)}}class Dc extends K{constructor(e){super(e),this.props=new Pc({}),this.children=(e==null?void 0:e.children)||[new Cn({props:new Ue({span:12})}),new Cn({props:new Ue({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Dc.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class Kb extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new $a({props:new Ue({span:12})}),new $a({props:new Ue({span:12})})]}}var xc={Designer:Dc,Runtime:Kb,Property:Pc};class zb extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Gb extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),Lu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Sn extends q{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.datasourceBind=new ne(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 Ny(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0,this.countType=e==null?void 0:e.countType}}Sn.Rules=Gb,Sn.RuntimeRules=zb;class Wi extends K{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Wi.excludes=[C.ROW],Wi.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"],Wi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class Xb extends Q{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Oc={Designer:Wi,Runtime:Xb,Property:Sn};class Qb extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ki extends q{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Be((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Be((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Be((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Be((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(s=>new Be(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new ne(e==null?void 0:e.datasourceBind)}}Ki.RuntimeRules=Qb;class Fc extends K{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Fc.excludes=[];class Jb extends Q{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var kc={Designer:Fc,Runtime:Jb,Property:Ki};class Zb extends K{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Yb extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class pb extends q{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 Mc={Designer:Zb,Runtime:Yb,Property:pb};class eE extends K{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class tE extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class nE extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ll(e==null?void 0:e.flexConfig)}}var Nc={Designer:eE,Runtime:tE,Property:nE};class iE extends K{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class uE extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class aE extends q{constructor(e){super(e)}}var Lc={Designer:iE,Runtime:uE,Property:aE};class rE extends K{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class lE extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class oE extends q{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 $c={Designer:rE,Runtime:lE,Property:oE},cE=Object.freeze({__proto__:null,Grid:vc,Col:gc,Row:Ec,GridRow:_c,CardGroup:Cc,SubTableColumn:Ic,SubTableRow:Sc,GridTableColumn:Tc,Tab:Rc,TabPane:Bc,Toolbox:xc,ListView:Oc,DataView:kc,Page:Mc,AdvancedContainer:Nc,PositioningContainer:Lc,Position:$c});class sE extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class dE extends He{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class An extends Gn{constructor(e,n){var i,u,a,r,l,s,o,f,g,b,w,I,E,S,m,_,B,x,F,ce,O,se,Tn,Ie;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:zi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(f=n==null?void 0:n.maxHeight)!=null?f:Ml,this.printMode=(g=n==null?void 0:n.printMode)!=null?g:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.defaultRows=(w=n==null?void 0:n.defaultRows)!=null?w:1,this.datasourceBind=new ne(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(E=n==null?void 0:n.canDelete)!=null?E:!0,this.canCheck=(S=n==null?void 0:n.canCheck)!=null?S:!1,this.canEdit=(m=n==null?void 0:n.canEdit)!=null?m:!1,this.canImport=(_=n==null?void 0:n.canImport)!=null?_:!1,this.canExport=(B=n==null?void 0:n.canExport)!=null?B:!1,this.canClear=(x=n==null?void 0:n.canClear)!=null?x:!0,this.serverPagination=(F=n==null?void 0:n.serverPagination)!=null?F:!1,this.isShowCaptionTip=(ce=n==null?void 0:n.isShowCaptionTip)!=null?ce:!1,this.captionTip=(O=n==null?void 0:n.captionTip)!=null?O:"",this.mobileShowType=(se=n==null?void 0:n.mobileShowType)!=null?se:"list",this.dataStorageDoc=(Tn=n==null?void 0:n.dataStorageDoc)!=null?Tn:new Oy,this.fixedColumn=(Ie=n==null?void 0:n.fixedColumn)!=null?Ie:[]}}An.Rules=sE,An.RuntimeRules=dE;class zi extends pu{constructor(e){var n;super(e),this.props=new An(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}zi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],zi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class fE extends _l{constructor(e){super(e),this.props=new An(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Tt("Method not implemented.")}getChildrenFormControl(){return[]}}var Vc={Designer:zi,Runtime:fE,Property:An};class Ua extends Gn{constructor(e,n){var i,u,a,r;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class hE extends Ce{constructor(e){super(e),this.caption.required=!1}}class Gi extends z{constructor(e){var n,i,u,a,r,l,s,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:ze.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=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Gi.Rules=hE;class ze extends p{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}}ze.controlType="order-column",ze.controlName="\u5E8F\u53F7",ze.controlIcon="order-column",ze.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Wa extends ee{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}}Wa.controlType="order-column",Wa.controlFieldType=v.DECIMAL;var Hc={Designer:ze,Runtime:Wa,Property:Gi};class Ka extends z{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:we.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 we extends p{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===bi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return Bn(Se({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return mr(this,null,function*(){return yield yr(we.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}we.controlType="operation-column",we.controlName="\u64CD\u4F5C",we.controlIcon="operation-column",we.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class za extends ee{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}za.controlType="operation-column",za.controlFieldType=v.FILE;var qc={Designer:we,Runtime:za,Property:Ka};class Xi extends pu{constructor(e){super(e),this.props=new Ua(this,e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new ze,new we])}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 Bn(Se({},e),{children:n})}validate(e,n){return mr(this,null,function*(){return yield yr(Xi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Xi.setting=[{key:"list-fixed-header",visible:!0}];class yE extends _l{constructor(e){super(e),this.props=new Ua(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Tt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var jc={Designer:Xi,Runtime:yE,Property:Ua},mE=Object.freeze({__proto__:null,SubTable:Vc,GridTable:jc});class vE extends Cl{constructor(e){super(e),je.call(this,e)}}class Qi extends z{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new ne(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 $e(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Qi.Rules=vE;class Ge extends p{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Ge.controlType="varchar-column",Ge.controlName="\u77ED\u6587\u672C",Ge.controlIcon="varchar-column",Ge.controlFieldType=v.VARCHAR,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Ga extends ee{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Ga.controlType="varchar-column",Ga.controlFieldType=v.VARCHAR;var Uc={Designer:Ge,Runtime:Ga,Property:Qi};class gE extends Ce{constructor(e){super(e),je.call(this,e)}}class Ji extends z{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:Xe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new $e(e==null?void 0:e.linkOperationOption)}}Ji.Rules=gE;class Xe extends p{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Xe.controlType="text-column",Xe.controlName="\u957F\u6587\u672C",Xe.controlIcon="text-column",Xe.controlFieldType=v.TEXT,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Xa extends ee{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}Xa.controlType="text-column",Xa.controlFieldType=v.TEXT;var Wc={Designer:Xe,Runtime:Xa,Property:Ji};class bE extends Ce{constructor(e){super(e),je.call(this,e)}}class Zi extends z{constructor(e){var n,i,u,a,r,l,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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 ne(e==null?void 0:e.datasourceBind),this.options=Ee((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new $e(e==null?void 0:e.linkOperationOption)}}Zi.Rules=bE;class Qe extends p{constructor(e){super(e),this.props=new Zi(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}}Qe.controlType="decimal-column",Qe.controlName="\u6570\u503C",Qe.controlIcon="decimal-column",Qe.controlFieldType=v.DECIMAL,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Qa extends ee{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Qa.controlType="decimal-column",Qa.controlFieldType=v.DECIMAL;var Kc={Designer:Qe,Runtime:Qa,Property:Zi};class EE extends Ce{constructor(e){super(e),je.call(this,e)}}class Yi extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new $e(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Je.controlName}}Yi.Rules=EE;class Je extends p{constructor(e){super(e),this.props=new Yi(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}}Je.controlType="timescope-column",Je.controlName="\u65E5\u671F\u533A\u95F4",Je.controlIcon="timescope-column",Je.controlFieldType=v.TIMESCOPE,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ja extends ee{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}Ja.controlType="timescope-column",Ja.controlFieldType=v.TIMESCOPE;var zc={Designer:Je,Runtime:Ja,Property:Yi};class _E extends Ce{constructor(e){super(e),je.call(this,e)}}class pi extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new $e(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName}}pi.Rules=_E;class Ze extends p{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ze.controlType="timestamp-column",Ze.controlName="\u65E5\u671F",Ze.controlIcon="timestamp-column",Ze.controlFieldType=v.TIMESTAMP,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Za extends ee{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}Za.controlType="timestamp-column",Za.controlFieldType=v.TIMESTAMP;var Gc={Designer:Ze,Runtime:Za,Property:pi};class CE extends Cl{constructor(e){super(e)}}class eu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}])}}eu.Rules=CE;class Ye extends p{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}Ye.controlType="array-column",Ye.controlName="\u6570\u7EC4",Ye.controlIcon="array-column",Ye.controlFieldType=v.ARRAY,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Ya extends ee{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}Ya.controlType="array-column",Ya.controlFieldType=v.ARRAY;var Xc={Designer:Ye,Runtime:Ya,Property:eu};class pa extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class pe extends p{constructor(e){super(e),this.props=new pa(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}}pe.controlType="department-column",pe.controlName="\u90E8\u95E8",pe.controlIcon="department-column",pe.controlFieldType=v.DEPARTMENTS,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class er extends ee{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}er.controlType="department-column",er.controlFieldType=v.DEPARTMENTS;var Qc={Designer:pe,Runtime:er,Property:pa};class wE extends Ce{constructor(e){super(e),je.call(this,e)}}class tu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new $e(e==null?void 0:e.linkOperationOption)}}tu.Rules=wE;class et extends p{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}et.controlType="auto-number-column",et.controlName="\u81EA\u52A8\u7F16\u53F7",et.controlIcon="auto-number-column",et.controlFieldType=v.AUTO_NUMBER,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class tr extends ee{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}tr.controlType="auto-number-column",tr.controlFieldType=v.AUTO_NUMBER;var Jc={Designer:et,Runtime:tr,Property:tu};class nr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends p{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}tt.controlType="file-column",tt.controlName="\u9644\u4EF6",tt.controlIcon="file-column",tt.controlFieldType=v.FILE,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ir extends ee{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="file-column",ir.controlFieldType=v.FILE;var Zc={Designer:tt,Runtime:ir,Property:nr};class ur extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName}}class nt extends p{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}nt.controlType="image-column",nt.controlName="\u56FE\u7247",nt.controlIcon="image-column",nt.controlFieldType=v.IMAGE,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ar extends ee{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}ar.controlType="image-column",ar.controlFieldType=v.IMAGE;var Yc={Designer:nt,Runtime:ar,Property:ur};class rr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName}}class it extends p{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}it.controlType="people-column",it.controlName="\u4EBA\u5458",it.controlIcon="people-column",it.controlFieldType=v.EMPLOYEES,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class lr extends ee{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}lr.controlType="people-column",lr.controlFieldType=v.EMPLOYEES;var pc={Designer:it,Runtime:lr,Property:rr};class IE extends Ce{constructor(e){super(e),je.call(this,e)}}class nu extends z{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 $e(e==null?void 0:e.linkOperationOption)}}nu.Rules=IE;class ut extends p{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}ut.controlType="location-column",ut.controlName="\u5730\u5740",ut.controlIcon="location-column",ut.controlFieldType=v.ADDRESS,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class or extends ee{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}or.controlType="location-column",or.controlFieldType=v.ADDRESS;var es={Designer:ut,Runtime:or,Property:nu};class cr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const SE=1;class Me extends p{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new cr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),this.excludes=Te(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 Bn(Se({},e),{children:this.children.map(n=>n.toSchema())})}}Me.controlType="custom-column",Me.controlName="\u81EA\u5B9A\u4E49",Me.controlIcon="custom-column",Me.excludes=[],Me.childrenMaxLength=SE,Me.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ts extends ee{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}ts.controlType="custom-column";var ns={Designer:Me,Runtime:ts,Property:cr};class sr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.datasourceBind=new Rt((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ne.controlCustomAttributes})}}class Ne extends p{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ne.controlType="employee-column",Ne.controlName="\u4EBA\u5458",Ne.controlIcon="employee-column",Ne.controlFieldType=v.EMPLOYEES,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class dr extends ee{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}}dr.controlType="employee-column",dr.controlFieldType=v.EMPLOYEES;var is={Designer:Ne,Runtime:dr,Property:sr},AE=Object.freeze({__proto__:null,VarcharColumn:Uc,TextColumn:Wc,DecimalColumn:Kc,TimescopeColumn:zc,TimestampColumn:Gc,ArrayColumn:Xc,DepartmentColumn:Qc,AutoNumberColumn:Jc,FileColumn:Zc,ImageColumn:Yc,PeopleColumn:pc,LocationColumn:es,CustomColumn:ns,OrderColumn:Hc,OperationColumn:qc,EmployeeColumn:is});class TE extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class iu extends da{constructor(e){var n,i,u,a,r,l,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new Be((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Be((a=e==null?void 0:e.cancel)!=null?a:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new Be(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}iu.RuntimeRules=TE;class fr extends Qg{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}fr.controlType="simple-search",fr.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class us extends n0{constructor(e){var n;super(e),this.props=new iu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}us.controlType="simple-search";var as={Designer:fr,Runtime:us,Property:iu},BE=Object.freeze({__proto__:null,SimpleSearch:as});h.Address=Vo,h.AdvancedContainer=Nc,h.Amount=Mo,h.ArrayColumn=Xc,h.AssignType=Fe,h.Attachment=xo,h.AutoNumber=Uo,h.AutoNumberColumn=Jc,h.BatchDeleteButton=lo,h.BatchPrintListButton=uo,h.BatchPrintRecordListButton=ao,h.BatchSubmissionListButton=Ul,h.Button=Dl,h.Calc=Ko,h.CardGroup=Cc,h.Checkbox=fo,h.Col=gc,h.CreateFormListButton=jl,h.CustomColumn=ns,h.DATE_CONFIG_TYPE=xl,h.DATE_LIMIT_TYPE=Ol,h.Dashboard=pl,h.DataView=kc,h.DatePicker=bo,h.DateRange=_o,h.DecimalColumn=Kc,h.Department=qo,h.Department2=fc,h.DepartmentColumn=Qc,h.DepartmentType=ai,h.Divider=Hl,h.ElectronicSignature=oc,h.ElectronicSignatureConfig=Fl,h.Employee=Do,h.Employee2=rc,h.EmployeeColumn=is,h.EncryptTypeEnum=$l,h.Explain=ui,h.ExportListButton=Kl,h.ExportRecordListButton=zl,h.ExportTemplate=wa,h.FileColumn=Zc,h.FlexStyleConfig=Ll,h.FormSelectButton=Xl,h.Grid=vc,h.GridRow=_c,h.GridTable=jc,h.GridTableColumn=Tc,h.Image=Fo,h.ImageColumn=Yc,h.ImportRecordListButton=Gl,h.Input=co,h.InternalType=Aa,h.InvoiceCheckButton=io,h.LINE_STYLE=_a,h.LimitDate=ii,h.Link=Pl,h.ListSelectButton=Ql,h.ListView=Oc,h.ListViewSelect=to,h.LocationColumn=es,h.Number=vo,h.OperationButton=ro,h.OperationColumn=qc,h.OrderColumn=Hc,h.OrganizationSelection=yc,h.OrganizeType=Sa,h.Page=Mc,h.Pagination=Zl,h.PeopleColumn=pc,h.Position=$c,h.PositioningContainer=Lc,h.PrintTemplate=Nl,h.Radio=yo,h.RichText=So,h.Row=Ec,h.SCORE_TYPE=Ea,h.SUBTABLE_DEFAULT_MAX_HEIGHT=Ml,h.Score=Lo,h.SearchDateRange=Qo,h.SearchInput=nc,h.SearchNumberRange=Go,h.Select=To,h.SelectMultiple=Ro,h.SelectRelation=po,h.SimpleSearch=as,h.SubTable=Vc,h.SubTableColumn=Ic,h.SubTableRow=Sc,h.SubmissionRecordListButton=Wl,h.Tab=Rc,h.TabPane=Bc,h.Text=Rl,h.TextColumn=Wc,h.TextOcrButton=no,h.Textarea=wo,h.TimescopeColumn=zc,h.TimestampColumn=Gc,h.Title=ql,h.TitleConfigEnum=Oe,h.Toolbox=xc,h.Tree=uc,h.UndersignedPerson=Ca,h.VarcharColumn=Uc,h.VueFormItem=Zo,h.WPS=sc,h.WPSSetting=kl,h.WpsOperationItem=Ia,h.baseControls=$0,h.columnControls=AE,h.formControls=Ob,h.initExpression=kt,h.layoutControls=cE,h.listControls=mE,h.searchControls=BE,Object.defineProperty(h,"__esModule",{value:!0})});
|
|
1
|
+
var eB=Object.defineProperty,tB=Object.defineProperties;var nB=Object.getOwnPropertyDescriptors;var Rs=Object.getOwnPropertySymbols,iB=Object.getPrototypeOf,uB=Object.prototype.hasOwnProperty,aB=Object.prototype.propertyIsEnumerable,rB=Reflect.get;var Ps=(y,U,j)=>U in y?eB(y,U,{enumerable:!0,configurable:!0,writable:!0,value:j}):y[U]=j,Te=(y,U)=>{for(var j in U||(U={}))uB.call(U,j)&&Ps(y,j,U[j]);if(Rs)for(var j of Rs(U))aB.call(U,j)&&Ps(y,j,U[j]);return y},$n=(y,U)=>tB(y,nB(U));var Dr=(y,U,j)=>rB(iB(y),j,U);var Tr=(y,U,j)=>new Promise((yu,Mn)=>{var mu=_e=>{try{Dt(j.next(_e))}catch(Tt){Mn(Tt)}},vu=_e=>{try{Dt(j.throw(_e))}catch(Tt){Mn(Tt)}},Dt=_e=>_e.done?yu(_e.value):Promise.resolve(_e.value).then(mu,vu);Dt((j=j.apply(y,U)).next())});(function(y,U){typeof exports=="object"&&typeof module!="undefined"?U(exports):typeof define=="function"&&define.amd?define(["exports"],U):(y=typeof globalThis!="undefined"?globalThis:y||self,U(y.modelDrivenControls={}))})(this,function(y){"use strict";var U="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Mn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",vu="{caption}\u5FC5\u586B",Dt="\u8BF7\u8F93\u5165\u6807\u9898",_e="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Tt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",xs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Os="\u8BF7\u7ED1\u5B9A\u8868\u5355",ks="\u8BF7\u7ED1\u5B9A\u5217\u8868",$s="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ms="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ls="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ns="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Vs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Hs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Us="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",qs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",js="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ws="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ks="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",zs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Gs="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Xs="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Qs="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Js="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Zs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ys="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ps="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ed="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",td="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",nd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",id="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ud="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ad="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rd="\u8BF7\u9009\u62E9\u7701",ld="\u8BF7\u9009\u62E9\u5E02",od="\u8BF7\u9009\u62E9\u533A",cd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",sd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",dd="\u8BF7\u8F93\u5165\u5217\u5BBD",fd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",hd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",yd="\u8BF7\u9009\u62E9\u63A7\u4EF6",md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",gd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",bd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ed="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ad="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_d="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Id="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Td="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Rd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Pd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Od="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",kd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$d="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Md={isNotNumber:U,isNotString:j,isNotObject:yu,isNotArray:Mn,isNotBoolean:mu,runtimeRequired:vu,pleaseEnterCaption:Dt,pleaseEnterCaptionTip:_e,pleaseEnterPlaceholder:Tt,pleaseEnterFieldCode:xs,pleaseEnterForm:Os,pleaseEnterList:ks,pleaseEnterProcess:$s,pleaseEnterLabel:Ms,pleaseEnterValue:Ls,bizKeyNotBindFiled:Ns,pleaseSelectOneField:Vs,pleaseEnterNumberRange:Hs,pleaseEnterAValueGreaterThanMin:Us,pleaseEnterAValueLessThanMax:qs,numberRangeSetError:js,stringRangeError:Ws,attachmentMaxSize:Ks,pleaseEnterTotalScoreSetting:zs,theTotalScoreMustNotBeLessThan1:Gs,scoreDefaultValueRange:Xs,attachmentLimitError:Qs,PleaseReselectTheOptionalQuantity:Js,TheMaximumLengthIsGreaterThanTheMinimumLength:Zs,TheMinimumLengthIsGreaterThanTheMaximumLength:Ys,PleaseSelectTheCorrectOptionSettings:ps,optionIdIsRepeat:ed,optionIsRequired:td,pleaseEnterDataCode:nd,pleaseEnterValueFieldCode:id,pleaseEnterSvcCode:ud,pleaseBindAtLeastOneDisplayValue:ad,pleaseSelectProvince:rd,pleaseSelectCity:ld,pleaseSelectDistrict:od,limitRowsCannotBeLessThan0:cd,TheNumberOfRowsCannotBeLessThanMinRows:sd,pleaseEnterColumnWidth:dd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fd,pleaseCompleteAllRulesAndConditions:hd,pleaseSelectControl:yd,pleaseSelectAtLeastOneColumn:md,pleaseSelectFillBackMode:vd,pleaseSelectDashboard:gd,rootNodeIsRequired:bd,theViewNameCannotBeEmpty:Ed,pleaseSelectOcrType:Cd,pleaseSelectAtLeastOneFieldToFillIn:Ad,pleaseChooseAtLeastOne:_d,pleaseEnterButtonContent:Bd,pleaseEnterDataCodeInDataSetting:Id,pleaseEnterValueFieldCodeInDataSetting:wd,pleaseEnterSvcCodeInDataSetting:Sd,pleaseBindAtLeastOneDisplayValueInDataSetting:Fd,rootNodeIsRequiredInDataSetting:Dd,pleaseEnterMaxHeight:Td,pleaseEnter:Rd,pleaseEnterWatermark:Pd,pleaseEnterFileName:xd,pleaseUploadAtLeastOnePrintTemplate:Od,pleaseAssignBusiness:kd,pleaseAssignExternal:$d},Ld="Please enter a number",Nd="Please enter a string",Vd="Please enter an object",Hd="Please enter an array",Ud="Please enter a boolean",qd="{caption} Required",jd="Please enter the title",Wd="Please enter the bubble prompt",Kd="Please enter the prompt text",zd="Please bind data items",Gd="Please bind the form",Xd="Please bind the list",Qd="Please bind the process",Jd="Please enter the displayed value",Zd="Please enter the stored value",Yd="The document number is not bound to the data item",pd="Please select at least one display field",ef="Please enter a value greater than or equal to {min} and less than or equal to {max}",tf="Please enter a value greater than or equal to {min}",nf="Please enter a value less than or equal to {max}",uf="The value range is set incorrectly",af="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",rf="The attachment size must be between 0MB and 1000MB",lf="Please fill in the total score setting",of="The total score cannot be less than 1",cf="The default value must be between {min} and {max}",sf="The number of attachments uploaded must be between {min} and {max}",df="Please re-select the optional quantity",ff="The maximum length of the control must be greater than the minimum length",hf="The minimum length of the control must be less than the maximum length",yf="Please select the correct option setting",mf="Option ID cannot be repeated",vf="Please enter at least one option",gf="Please bind the data source",bf="Please bind the stored value",Ef="Please bind the service",Cf="At least one display value must be bound",Af="Please select a province",_f="Please select a city",Bf="Please select a district",If="The minimum number of lines to fill in cannot be less than 0",wf="The number of rows cannot be less than {min} rows",Sf="Please enter the column width",Ff="Please set the logical relationship of all rule conditions",Df="Please complete all rules and conditions",Tf="please select control",Rf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Of="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",$f="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Mf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Nf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Vf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Uf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",qf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",jf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Wf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Kf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",zf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Gf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Xf={isNotNumber:Ld,isNotString:Nd,isNotObject:Vd,isNotArray:Hd,isNotBoolean:Ud,runtimeRequired:qd,pleaseEnterCaption:jd,pleaseEnterCaptionTip:Wd,pleaseEnterPlaceholder:Kd,pleaseEnterFieldCode:zd,pleaseEnterForm:Gd,pleaseEnterList:Xd,pleaseEnterProcess:Qd,pleaseEnterLabel:Jd,pleaseEnterValue:Zd,bizKeyNotBindFiled:Yd,pleaseSelectOneField:pd,pleaseEnterNumberRange:ef,pleaseEnterAValueGreaterThanMin:tf,pleaseEnterAValueLessThanMax:nf,numberRangeSetError:uf,stringRangeError:af,attachmentMaxSize:rf,pleaseEnterTotalScoreSetting:lf,theTotalScoreMustNotBeLessThan1:of,scoreDefaultValueRange:cf,attachmentLimitError:sf,PleaseReselectTheOptionalQuantity:df,TheMaximumLengthIsGreaterThanTheMinimumLength:ff,TheMinimumLengthIsGreaterThanTheMaximumLength:hf,PleaseSelectTheCorrectOptionSettings:yf,optionIdIsRepeat:mf,optionIsRequired:vf,pleaseEnterDataCode:gf,pleaseEnterValueFieldCode:bf,pleaseEnterSvcCode:Ef,pleaseBindAtLeastOneDisplayValue:Cf,pleaseSelectProvince:Af,pleaseSelectCity:_f,pleaseSelectDistrict:Bf,limitRowsCannotBeLessThan0:If,TheNumberOfRowsCannotBeLessThanMinRows:wf,pleaseEnterColumnWidth:Sf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ff,pleaseCompleteAllRulesAndConditions:Df,pleaseSelectControl:Tf,pleaseSelectDashboard:Rf,theViewNameCannotBeEmpty:Pf,pleaseSelectOcrType:xf,pleaseSelectAtLeastOneFieldToFillIn:Of,pleaseChooseAtLeastOne:kf,pleaseEnterButtonContent:$f,pleaseEnterDataCodeInDataSetting:Mf,pleaseEnterValueFieldCodeInDataSetting:Lf,pleaseEnterSvcCodeInDataSetting:Nf,pleaseBindAtLeastOneDisplayValueInDataSetting:Vf,rootNodeIsRequiredInDataSetting:Hf,pleaseEnterMaxHeight:Uf,pleaseEnter:qf,pleaseEnterWatermark:jf,pleaseEnterFileName:Wf,pleaseUploadAtLeastOnePrintTemplate:Kf,pleaseAssignBusiness:zf,pleaseAssignExternal:Gf},Qf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eh="{caption}\u5FC5\u9808",th="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ih="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ah="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ch="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",dh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",vh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",bh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Eh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ch="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ah="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",_h="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bh="\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",Ih="\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",wh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Sh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Fh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Dh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Th="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ph="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",xh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Oh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$h="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Mh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Lh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Vh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Hh="please select control",Uh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",qh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",jh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Wh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Kh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Xh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Jh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ph="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ey="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ty="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ny="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",iy="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",uy="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ay={isNotNumber:Qf,isNotString:Jf,isNotObject:Zf,isNotArray:Yf,isNotBoolean:pf,runtimeRequired:eh,pleaseEnterCaption:th,pleaseEnterCaptionTip:nh,pleaseEnterPlaceholder:ih,pleaseEnterFieldCode:uh,pleaseEnterForm:ah,pleaseEnterList:rh,pleaseEnterProcess:lh,pleaseEnterLabel:oh,pleaseEnterValue:ch,bizKeyNotBindFiled:sh,pleaseSelectOneField:dh,pleaseEnterNumberRange:fh,pleaseEnterAValueGreaterThanMin:hh,pleaseEnterAValueLessThanMax:yh,numberRangeSetError:mh,stringRangeError:vh,attachmentMaxSize:gh,pleaseEnterTotalScoreSetting:bh,theTotalScoreMustNotBeLessThan1:Eh,scoreDefaultValueRange:Ch,attachmentLimitError:Ah,PleaseReselectTheOptionalQuantity:_h,TheMaximumLengthIsGreaterThanTheMinimumLength:Bh,TheMinimumLengthIsGreaterThanTheMaximumLength:Ih,PleaseSelectTheCorrectOptionSettings:wh,optionIdIsRepeat:Sh,optionIsRequired:Fh,pleaseEnterDataCode:Dh,pleaseEnterValueFieldCode:Th,pleaseEnterSvcCode:Rh,pleaseBindAtLeastOneDisplayValue:Ph,pleaseSelectProvince:xh,pleaseSelectCity:Oh,pleaseSelectDistrict:kh,limitRowsCannotBeLessThan0:$h,TheNumberOfRowsCannotBeLessThanMinRows:Mh,pleaseEnterColumnWidth:Lh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Nh,pleaseCompleteAllRulesAndConditions:Vh,pleaseSelectControl:Hh,pleaseSelectDashboard:Uh,theViewNameCannotBeEmpty:qh,pleaseSelectOcrType:jh,pleaseSelectAtLeastOneFieldToFillIn:Wh,pleaseChooseAtLeastOne:Kh,pleaseEnterButtonContent:zh,pleaseEnterDataCodeInDataSetting:Gh,pleaseEnterValueFieldCodeInDataSetting:Xh,pleaseEnterSvcCodeInDataSetting:Qh,pleaseBindAtLeastOneDisplayValueInDataSetting:Jh,rootNodeIsRequiredInDataSetting:Zh,pleaseEnterMaxHeight:Yh,pleaseEnter:ph,pleaseEnterWatermark:ey,pleaseEnterFileName:ty,pleaseUploadAtLeastOnePrintTemplate:ny,pleaseAssignBusiness:iy,pleaseAssignExternal:uy},ry={zhCN:Md,enUS:Xf,jaJP:ay},Rr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Rr||(Rr={}));var Pr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Pr||(Pr={}));var ly="zh-CN";function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ft;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ft||(ft={}));var ae;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(ae||(ae={}));var J;(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"})(J||(J={}));var re;re={},de(re,J.ARRAY,ae.ARRAY_COLUMN),de(re,J.AUTO_NUMBER,ae.AUTO_NUMBER_COLUMN),de(re,J.DECIMAL,ae.DECIMAL_COLUMN),de(re,J.DEPARTMENTS,ae.DEPARTMENT_COLUMN),de(re,J.FILE,ae.FILE_COLUMN),de(re,J.IMAGE,ae.IMAGE_COLUMN),de(re,J.ADDRESS,ae.LOCATION_COLUMN),de(re,J.EMPLOYEES,ae.EMPLOYEE_COLUMN),de(re,J.TEXT,ae.TEXT_COLUMN),de(re,J.TIMESCOPE,ae.TIMESCOPE_COLUMN),de(re,J.TIMESTAMP,ae.TIMESTAMP_COLUMN),de(re,J.VARCHAR,ae.VARCHAR_COLUMN),de(re,J.RELATION,ae.VARCHAR_COLUMN);var xr;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(xr||(xr={}));var Or="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",oy=Or+"0123456789";function ht(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Or:oy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function gu(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 cy(t){if(Array.isArray(t))return gu(t)}function sy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dy(){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 Ln(t,e,n){return dy()?Ln=Reflect.construct:Ln=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},Ln.apply(null,arguments)}function Rt(t){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rt(t)}function $r(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 fy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function hy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function yy(){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 my(t,e){return e&&(vy(e)==="object"||typeof e=="function")?e:sy(t)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pt(t,e)}function Mr(t){return cy(t)||hy(t)||gy(t)||yy()}var vy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gy(t,e){if(!!t){if(typeof t=="string")return gu(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 gu(t,e)}}function bu(t){var e=typeof Map=="function"?new Map:void 0;return bu=function(i){if(i===null||!fy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Pt(u,i)},bu(t)}function by(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Lr(t){var e=by();return function(){var i=Rt(t),u;if(e){var a=Rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return my(this,u)}}var Eu=console;function Cu(){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=Eu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Mr(u)))}function Nr(){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=Eu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Mr(u)))}function Ey(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Au=function(t){$r(n,t);var e=Lr(n);function n(i){kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Ey(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(bu(Error)),Cy=function(t){$r(n,t);var e=Lr(n);function n(i){kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Au);function _u(t){throw new Au(t)}function Vr(t){throw new Cy(t)}function Ay(t){Eu.error(new Au(t))}var _y=Object.prototype.toString;function Hr(t,e){return _y.call(t)==="[object "+e+"]"}function By(t){return Hr(t,"String")}function Iy(t){return Hr(t,"Promise")}var wy=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();Iy(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&&!By(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 Sy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(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 Fy(t,e,n){return e&&Ur(t.prototype,e),n&&Ur(t,n),t}function Dy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=function(){function t(){Sy(this,t)}return Fy(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]:ly;return new wy({locale:n,messages:ry})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();Dy(w,"$i18n",w.resetI18n());function Ty(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)){Cu("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 qr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ry={exports:{}};(function(t){(function(e){var n=function(d,b,S){if(!o(b)||m(b)||E(b)||A(b)||c(b))return b;var D,P=0,ue=0;if(f(b))for(D=[],ue=b.length;P<ue;P++)D.push(n(d,b[P],S));else{D={};for(var x in b)Object.prototype.hasOwnProperty.call(b,x)&&(D[d(x,S)]=n(d,b[x],S))}return D},i=function(d,b){b=b||{};var S=b.separator||"_",D=b.split||/(?=[A-Z])/;return d.split(D).join(S)},u=function(d){return B(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(b,S){return S?S.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},a=function(d){var b=u(d);return b.substr(0,1).toUpperCase()+b.substr(1)},r=function(d,b){return i(d,b).toLowerCase()},l=Object.prototype.toString,c=function(d){return typeof d=="function"},o=function(d){return d===Object(d)},f=function(d){return l.call(d)=="[object Array]"},m=function(d){return l.call(d)=="[object Date]"},E=function(d){return l.call(d)=="[object RegExp]"},A=function(d){return l.call(d)=="[object Boolean]"},B=function(d){return d=d-0,d===d},C=function(d,b){var S=b&&"process"in b?b.process:b;return typeof S!="function"?d:function(D,P){return S(D,d,P)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(d,b){return n(C(u,b),d)},decamelizeKeys:function(d,b){return n(C(r,b),d,b)},pascalizeKeys:function(d,b){return n(C(a,b),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(qr)})(Ry);var jr={};Object.defineProperty(jr,"__esModule",{value:!0});function Bu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Bu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Bu(i)}return e}}var Py=jr.default=Bu;function Ue(t){if(t!==void 0)return typeof t=="object"?Py(t):t}function xy(t){return Object.prototype.toString.call(t)==="[object Object]"}function Oy(t){return Array.isArray(t)}function ky(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function $y(t){if(Array.isArray(t))return Iu(t)}function Wr(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 My(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Wr(a,i,u,r,l,"next",c)}function l(c){Wr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Ly(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(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 Ny(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function zr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Hy(){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 wu(t){return $y(t)||Vy(t)||Uy(t)||Hy()}function Uy(t,e){if(!!t){if(typeof t=="string")return Iu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iu(t,e)}}var qy=function(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(f){return c([o,f])}}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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},jy=function(){function t(){Ly(this,t),zr(this,"_events",new Map),zr(this,"debug",!1)}return Ny(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 My(function(){var l,c,o,f,m,E,A,B,C,I,d,b;return qy(this,function(S){switch(S.label){case 0:if(l=r._events.get(n),c=[],!l)return[3,10];o=l.slice(),f=!0,m=!1,E=void 0,S.label=1;case 1:S.trys.push([1,8,9,10]),A=o[Symbol.iterator](),S.label=2;case 2:if(f=(B=A.next()).done)return[3,7];if(C=B.value,!l.includes(C))return[3,6];S.label=3;case 3:return S.trys.push([3,5,,6]),r.debug&&Nr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(wu(u))),[4,C.apply(null,wu(u))];case 4:return I=S.sent(),r.debug&&Nr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.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(wu(u),[I])),c.push(I),I===!1?[3,7]:[3,6];case 5:return d=S.sent(),Ay(String(d)+":"+String(d.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return b=S.sent(),m=!0,E=b,[3,10];case 9:try{!f&&A.return!=null&&A.return()}finally{if(m)throw E}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 Wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ky(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function zy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Gy=[{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"}],Xy=function(){function t(){Wy(this,t)}return Ky(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();zy(Xy,"events",Gy);function Qy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(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 Jy(t,e,n){return e&&Xr(t.prototype,e),n&&Xr(t,n),t}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Qr=[],Su=function(){function t(e){Qy(this,t),qe(this,"registeredControlTypes",new Set),qe(this,"controlConfigMap",new Map),qe(this,"_controls",[]),qe(this,"_type",void 0),this._type=e,this._initControls(e)}return Jy(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__||_u("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Cu("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===ft.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ft.FORM}},{key:"isListControl",value:function(n){return n.controlType===ft.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ft.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(o){return u.createControl(o,i)});n.children&&(n.children=n.children.map(function(o){return u.createControl(o,i)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(o){return u.createControl(o,i)}));var a=this.getControlFormType(n.type);if(a){var r=n;if(typeof i=="function"){var l=i(r);l&&(r=l)}var c=new a(r);return c}else _u("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{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])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&_u("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(r){return r.Designer.controlType===i.controlType});return a>-1&&(Cu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();qe(Su,"staticControls",Qr),qe(Su,"staticRegisteredTypes",new Set(Qr.map(function(t){return t.Designer.controlType}))),qe(Su,"staticRegisteredConfigs",new Map);function $(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function F(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 Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function ge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fu(t,e)}function Jr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Zy(t,e){return e&&(Yy(e)==="object"||typeof e=="function")?e:$(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fu(t,e)}var Yy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function py(){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 be(t){var e=py();return function(){var i=Nn(t),u;if(e){var a=Nn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Zy(this,u)}}var Ee=function t(e){F(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",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:""},Zr=function t(e){F(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},Du=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"width",void 0),h($(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}(Zr),em=function t(e){F(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Du(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Du(e==null?void 0:e.mobile):new Du({width:130,minWidth:180})},tm=function t(e){F(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:[]},Tu=function t(e){F(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:""},nm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Tu),Yr=function t(e){F(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Ru=function t(e){F(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 Yr(r)}))!==null&&a!==void 0?a:[]},im=function t(e){F(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:J.VARCHAR},um=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"title",void 0),h($(u),"svcCode",void 0),h($(u),"isOpenFilter",void 0),h($(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}(Tu),am=function t(e){F(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 Tu(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 im(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 um(r)}))!==null&&a!==void 0?a:[]},rm=function t(e){F(this,t),h(this,"type",void 0),h(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},xt=function t(e){F(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:[]},pr=function t(e){var n=this;F(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:ht();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 f,m=new Pu(l);(f=n.children)===null||f===void 0||f.push(m)}}))},Pu=function t(e){F(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:ht();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 rm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new xt(e==null?void 0:e.rightVariableBo)},se=function t(e){F(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:""},xu=function t(e){F(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},lm=function t(e){F(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 Ou(t){var e,n,i;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new pr(l):new Pu(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new pr(l):new Pu(l)}))!==null&&u!==void 0?u:[],Jr(this,p)||Jr(this,$u)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new lm(l)}))!==null&&r!==void 0?r:[]}}var p=function t(e){var n=this;F(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(f){var m;(m=n.displayBoList)===null||m===void 0||m.push(new xu(f))}));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:"",Ou.call(this,e)},ku=function t(e){F(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:[]},je=function t(e){F(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,"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;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 f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},el=function t(e){F(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 xu(r)}))!==null&&a!==void 0?a:[]},Vn=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u,a;u=e.call(this,i),h($(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 el(l)}))!==null&&r!==void 0?r:[],u}return n}(p),om=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u,a;u=e.call(this,i),h($(u),"attributes",void 0),h($(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 el(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),tl=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"rootNode",void 0),h($(u),"filterCode",void 0),u.rootNode=new xt(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),nl=function t(e){F(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 se(r)}))!==null&&a!==void 0?a:[]},$u=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this,i),h($(u),"filters",void 0),h($(u),"viewFilters",void 0),h($(u),"orders",void 0),Ou.call($(u),i),u}return n}(nl),il=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"mode",void 0),h($(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}(nl),ul=function t(e){F(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:""},cm=function t(e){F(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:ht(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 Be(t){var e;return(e=t==null?void 0:t.map(function(n){return new cm(n)}))!==null&&e!==void 0?e:[]}var Mu=function t(){F(this,t)},sm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this),h($(u),"amount",void 0),h($(u),"currency",void 0),u.amount=new Ee(i==null?void 0:i.amount),u.currency=new Ee(i==null?void 0:i.currency),u}return n}(Mu),dm=function t(e){F(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:Hn.CNY},fm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this),h($(u),"min",void 0),h($(u),"max",void 0),u.min=new Ee(i==null?void 0:i.min),u.max=new Ee(i==null?void 0:i.max),u}return n}(Mu),hm=function t(e){F(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:""},ym=function t(e){F(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:""},mm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this),h($(u),"result",void 0),h($(u),"unit",void 0),u.result=new Ee(i==null?void 0:i.result),u.unit=new Ee(i==null?void 0:i.unit),u}return n}(Mu),vm=function t(e){F(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:""},Hn;(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"})(Hn||(Hn={}));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.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var Lu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Lu||(Lu={}));var Re=function t(e){F(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},gm=function t(e){F(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:ht(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 Yr(r)}))!==null&&a!==void 0?a:[],Ou.call(this,e)},bm=function t(e){F(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"};function Em(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cm(){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 Un(t,e,n){return Cm()?Un=Reflect.construct:Un=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&kt(o,r.prototype),o},Un.apply(null,arguments)}function We(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ot(t){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ot(t)}function Am(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&&kt(t,e)}function _m(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Bm(t,e){return e&&(Im(e)==="object"||typeof e=="function")?e:Em(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kt(t,e)}var Im=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vu(t){var e=typeof Map=="function"?new Map:void 0;return Vu=function(i){if(i===null||!_m(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 Un(i,arguments,Ot(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),kt(u,i)},Vu(t)}function wm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sm(t){var e=wm();return function(){var i=Ot(t),u;if(e){var a=Ot(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Bm(this,u)}}var W=function t(e){Nu(this,t),We(this,"isHide",{type:"boolean"})},Ke=function(t){Am(n,t);var e=Sm(n);function n(i){return Nu(this,n),e.call(this)}return n}(Vu(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Nu(this,t),We(this,"isHide",void 0),We(this,"className",void 0),We(this,"style",void 0),We(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new bm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};We(X,"Rules",W),We(X,"RuntimeRules",Ke);function Ae(){return Ae=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},Ae.apply(this,arguments)}function Fm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function qn(t,e){return qn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},qn(t,e)}function Dm(){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 jn(t,e,n){return Dm()?jn=Reflect.construct:jn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&qn(o,r.prototype),o},jn.apply(null,arguments)}function Tm(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||!Tm(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 jn(i,arguments,Hu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),qn(u,i)},Uu(t)}var Rm=/%[sdj%]/g,al=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(al=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function qu(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 fe(){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(Rm,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 Pm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Pm(e)&&typeof t=="string"&&!t)}function xm(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 rl(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 Om(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var ll=function(t){Fm(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 km(t,e,n,i){if(e.first){var u=new Promise(function(m,E){var A=function(I){return i(I),I.length?E(new ll(I,qu(I))):m()},B=Om(t);rl(B,n,A)});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=[],f=new Promise(function(m,E){var A=function(C){if(o.push.apply(o,C),c++,c===l)return i(o),o.length?E(new ll(o,qu(o))):m()};r.length||(i(o),m()),r.forEach(function(B){var C=t[B];a.indexOf(B)!==-1?rl(C,n,A):xm(C,n,A)})});return f.catch(function(m){return m}),f}function ol(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 cl(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]=Ae(Ae({},t[n]),i):t[n]=i}}return t}function sl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(fe(u.messages.required,t.fullField))}function $m(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(fe(u.messages.whitespace,t.fullField))}var ju={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},$t={integer:function(e){return $t.number(e)&&parseInt(e,10)===e},float:function(e){return $t.number(e)&&!$t.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"&&!$t.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ju.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ju.url)},hex:function(e){return typeof e=="string"&&!!e.match(ju.hex)}};function Mm(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?$t[r](e)||i.push(fe(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(fe(u.messages.types[r],t.fullField,t.type))}function Lm(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,f=null,m=typeof e=="number",E=typeof e=="string",A=Array.isArray(e);if(m?f="number":E?f="string":A&&(f="array"),!f)return!1;A&&(o=e.length),E&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(fe(u.messages[f].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(fe(u.messages[f].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(fe(u.messages[f].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(fe(u.messages[f].range,t.fullField,t.min,t.max))}var yt="enum";function Nm(t,e,n,i,u){t[yt]=Array.isArray(t[yt])?t[yt]:[],t[yt].indexOf(e)===-1&&i.push(fe(u.messages[yt],t.fullField,t[yt].join(", ")))}function Vm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(fe(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(fe(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:sl,whitespace:$m,type:Mm,range:Lm,enum:Nm,pattern:Vm};function Hm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),K(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Um(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function qm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function jm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Wm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),K(e)||T.type(t,e,i,a,u)}n(a)}function Km(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function zm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Gm(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();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Xm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var Qm="enum";function Jm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[Qm](t,e,i,a,u)}n(a)}function Zm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),K(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Ym(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!K(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function pm(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function Wu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),K(e,a)||T.type(t,e,i,r,u)}n(r)}function ev(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Mt={string:Hm,method:Um,number:qm,boolean:jm,regexp:Wm,integer:Km,float:zm,array:Gm,object:Xm,enum:Jm,pattern:Zm,date:Ym,url:Wu,hex:Wu,email:Wu,required:pm,any:ev};function Ku(){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 zu=Ku();function Pe(t){this.rules=null,this._messages=zu,this.define(t)}Pe.prototype={messages:function(e){return e&&(this._messages=cl(Ku(),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(C){var I,d=[],b={};function S(D){if(Array.isArray(D)){var P;d=(P=d).concat.apply(P,D)}else d.push(D)}for(I=0;I<C.length;I++)S(C[I]);d.length?b=qu(d):(d=null,b=null),l(d,b)}if(r.messages){var o=this.messages();o===zu&&(o=Ku()),cl(o,r.messages),r.messages=o}else r.messages=this.messages();var f,m,E={},A=r.keys||Object.keys(this.rules);A.forEach(function(C){f=u.rules[C],m=a[C],f.forEach(function(I){var d=I;typeof d.transform=="function"&&(a===e&&(a=Ae({},a)),m=a[C]=d.transform(m)),typeof d=="function"?d={validator:d}:d=Ae({},d),d.validator=u.getValidationMethod(d),d.field=C,d.fullField=d.fullField||C,d.type=u.getType(d),d.validator&&(E[C]=E[C]||[],E[C].push({rule:d,value:m,source:a,field:C}))})});var B={};return km(E,r,function(C,I){var d=C.rule,b=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");b=b&&(d.required||!d.required&&C.value),d.field=C.field;function S(ue,x){return Ae(Ae({},x),{},{fullField:d.fullField+"."+ue})}function D(ue){ue===void 0&&(ue=[]);var x=ue;if(Array.isArray(x)||(x=[x]),!r.suppressWarning&&x.length&&Pe.warning("async-validator:",x),x.length&&d.message!==void 0&&(x=[].concat(d.message)),x=x.map(ol(d)),r.first&&x.length)return B[d.field]=1,I(x);if(!b)I(x);else{if(d.required&&!C.value)return d.message!==void 0?x=[].concat(d.message).map(ol(d)):r.error&&(x=[r.error(d,fe(r.messages.required,d.field))]),I(x);var me={};if(d.defaultField)for(var On in C.value)C.value.hasOwnProperty(On)&&(me[On]=d.defaultField);me=Ae(Ae({},me),C.rule.fields);for(var Fe in me)if(me.hasOwnProperty(Fe)){var hu=Array.isArray(me[Fe])?me[Fe]:[me[Fe]];me[Fe]=hu.map(S.bind(null,Fe))}var kn=new Pe(me);kn.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),kn.validate(C.value,C.rule.options||r,function(Ft){var De=[];x&&x.length&&De.push.apply(De,x),Ft&&Ft.length&&De.push.apply(De,Ft),I(De.length?De:null)})}}var P;d.asyncValidator?P=d.asyncValidator(d,C.value,D,C.source,r):d.validator&&(P=d.validator(d,C.value,D,C.source,r),P===!0?D():P===!1?D(d.message||d.field+" fails"):P instanceof Array?D(P):P instanceof Error&&D(P.message)),P&&P.then&&P.then(function(){return D()},function(ue){return D(ue)})},function(C){c(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Mt.hasOwnProperty(e.type))throw new Error(fe("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"?Mt.required:Mt[this.getType(e)]||!1}},Pe.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Mt[e]=n},Pe.warning=al,Pe.messages=zu,Pe.validators=Mt;var tv={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 Pe(t);return n.messages(Object.assign(tv,e)),n}var iv=new jy;function Gu(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 uv(t){if(Array.isArray(t))return t}function av(t){if(Array.isArray(t))return Gu(t)}function dl(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 fl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){dl(a,i,u,r,l,"next",c)}function l(c){dl(a,i,u,r,l,"throw",c)}r(void 0)})}}function rv(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 lv(t,e,n){return e&&hl(t.prototype,e),n&&hl(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 yl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ml(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ov(){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 cv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vl(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 sv(t){return uv(t)||ml(t)||gl(t)||ov()}function Xu(t){return av(t)||ml(t)||gl(t)||cv()}function gl(t,e){if(!!t){if(typeof t=="string")return Gu(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 Gu(t,e)}}var bl=function(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(f){return c([o,f])}}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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},L=function(){function e(n){var i=this;rv(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",Cl),M(this,"removeSetting",El),this._callControlHooks("preInstance",n);var u=yl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,c=u.controlFieldType,o=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,E=u.setting;a&&r&&l||Vr("The ".concat(m," controlName,controlIcon,controlType is not define"));var A;this.id=(A=n==null?void 0:n.id)!==null&&A!==void 0?A:ht(10),this.name=a,this.icon=r;var B;this.type=(B=n==null?void 0:n.type)!==null&&B!==void 0?B:l,this.props=new X(n==null?void 0:n.props,(yl(this,e)?this.constructor:void 0).controlName);var C;this.controlType=(C=n==null?void 0:n.controlType)!==null&&C!==void 0?C:"base",this.setting=Ue(E);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:c,this.eventKeys=Ue(o),this.customEvents=Ue(f),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return lv(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=sv(u),c=l[0],o=l.slice(1);return(r=iv).emit.apply(r,[c,this].concat(Xu(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),Ty(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return fl(function(){var u,a,r;return bl(this,function(l){switch(l.label){case 0:return u=vl({},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 fl(function(){var r,l,c,o;return bl(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:r=f.sent(),l=r!==void 0?r:vl({},a.rules),Array.isArray(u)&&u.forEach(function(m){l.hasOwnProperty(m)&&delete l[m]}),c=nv(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,c.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw o=f.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,f=l.optionConfig,m=l.caption,E=l.required,A=l.maxLength,B=l.options,C=l.encrypted,I=l.encryptedMode;if(!(!u&&!c&&!o)){var d={parentId:i,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(c&&(d.dataBind=c),f){case"datasource":case void 0:o&&(d.datasourceBind=o);break;case"custom":d.props.options=B;break}return E!==void 0&&(d.required=E),A!==void 0&&(d.maxLength=A),C!==void 0&&(d.encrypted=C),I!==void 0&&(d.encryptedMode=I),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ue(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,Xu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",El),M(L,"updateSettingItem",Cl);function El(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(c){return c.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function Cl(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,Xu(e.showItems))}}}})}function dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Al(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function fv(t,e,n){return e&&Al(t.prototype,e),n&&Al(t,n),t}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Q=function(){function e(n){dv(this,e),ve(this,"id",void 0),ve(this,"type",void 0),ve(this,"controlType",void 0),ve(this,"props",void 0),ve(this,"fieldType",void 0),ve(this,"customEvents",[]),ve(this,"pageStatus",void 0),ve(this,"parent",null);var i=hv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Vr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:ht(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new X(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var E;this.pageStatus=(E=n==null?void 0:n.pageStatus)!==null&&E!==void 0?E:Lu.UNKNOWN}return fv(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}();ve(Q,"controlType","control"),ve(Q,"controlFieldType",void 0),ve(Q,"__is_control__",!0),ve(Q,"controlCustomEvents",[]);function Qu(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:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:w.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:w.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(w.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=ky(a);a.length!==r.length?u(w.getMessage("optionIdIsRepeat")):u()},message:w.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(w.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:w.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}])}function Wn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:w.getMessage("isNotString")},key:{type:"string",required:!0,message:w.getMessage("isNotString")},value:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}]}function N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(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 Gn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ju(t,e)}function yv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function mv(t,e){return e&&(vv(e)==="object"||typeof e=="function")?e:N(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}var vv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gv(){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 Xn(t){var e=gv();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 mv(this,u)}}var ee=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(this,n);var u;u=e.call(this,i),V(N(u),"dataBind",{}),V(N(u),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),V(N(u),"isHideCaption",{type:"boolean"}),V(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),V(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),V(N(u),"required",{type:"boolean"}),V(N(u),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")}};if(yv(i.dataBind,Ee))u.dataBind={type:"object",required:!0,fields:Ue(a),message:w.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:w.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Ue(a),message:w.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(W),H=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:w.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ke),R=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(this,n);var u;u=e.call(this,i),V(N(u),"caption",void 0),V(N(u),"isHideCaption",void 0),V(N(u),"isShowCaptionTip",void 0),V(N(u),"captionTip",void 0),V(N(u),"labelPosition",void 0),V(N(u),"dataBind",void 0),V(N(u),"defaultValue",void 0),V(N(u),"placeholder",void 0),V(N(u),"defaultState",void 0),V(N(u),"required",void 0),V(N(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 f;u.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var E;u.required=(E=i==null?void 0:i.required)!==null&&E!==void 0?E:!1;var A;u.requiredMessage=(A=i==null?void 0:i.requiredMessage)!==null&&A!==void 0?A:"",u.dataBind=new Ee(i==null?void 0:i.dataBind);var B;return u.defaultValue=(B=i==null?void 0:i.defaultValue)!==null&&B!==void 0?B:"",u}return n}(X);V(R,"Rules",ee),V(R,"RuntimeRules",H);var mt=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(this,n);var u;return u=e.call(this,i),V(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(N(u),"options",[{type:"array",message:w.getMessage("isNotArray")}]),V(N(u),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),Qu.call(N(u),i),u}return n}(ee);function Zu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bv(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 Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Ev(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 Cv(t,e){return e&&(Av(e)==="object"||typeof e=="function")?e:Zu(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}var Av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bv(t){var e=_v();return function(){var i=Jn(t),u;if(e){var a=Jn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cv(this,u)}}var O=function(t){Ev(n,t);var e=Bv(n);function n(i){bv(this,n);var u;return u=e.call(this,i),Qn(Zu(u),"controlType","form"),Qn(Zu(u),"props",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(L);Qn(O,"controlEventKeys",["on_change","on_focus","on_blur"]),Qn(O,"controlCustomAttributes",void 0);function Zn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Iv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function wv(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 Sv(t,e){return e&&(Fv(e)==="object"||typeof e=="function")?e:Zn(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}var Fv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tv(t){var e=Dv();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 Sv(this,u)}}var k=function(t){wv(n,t);var e=Tv(n);function n(i){Iv(this,n);var u;return u=e.call(this,i),pu(Zn(u),"controlType","form"),pu(Zn(u),"props",void 0),pu(Zn(u),"value",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(Q);function Rv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function xv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function Ov(t,e){return e&&(kv(e)==="object"||typeof e=="function")?e:Rv(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}var kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Mv(t){var e=$v();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 Ov(this,u)}}var q=function(t){xv(n,t);var e=Mv(n);function n(i){return Pv(this,n),e.call(this,i)}return n}(X);function na(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 Lv(t){if(Array.isArray(t))return na(t)}function Nv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Vv(){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 _l(t){return Lv(t)||Nv(t)||Hv(t)||Vv()}function Hv(t,e){if(!!t){if(typeof t=="string")return na(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 na(t,e)}}function Uv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Bl(t,e){t.parent=e,Uv(t,"parent")}function qv(t,e){t.forEach(function(n){Bl(n,e)})}var Il=Symbol("targetKey");function wl(t){var e;return(e=t[Il])!==null&&e!==void 0?e:t}function Sl(t,e){return qv(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var c;return u===Il?i:(c=Reflect).get.apply(c,[i,u].concat(_l(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(Oy(t)&&u==="length"&&a===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,a].concat(_l(l)));return xy(a)&&Bl(a,e),f}})}function Ie(t,e,n,i){var u=i!=null?i:t,a=Sl(wl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Sl(wl(l),u)},enumerable:!0})}function ia(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function jv(t){if(Array.isArray(t))return ia(t)}function ze(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fl(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 Wv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Fl(a,i,u,r,l,"next",c)}function l(c){Fl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(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 zv(t,e,n){return e&&Dl(t.prototype,e),n&&Dl(t,n),t}function xe(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=t0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},vt(t,e,n||t)}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(t)}function Gv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function Xv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Qv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jv(){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 Zv(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){xe(t,u,n[u])})}return t}function Yv(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 pv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function e0(t,e){return e&&(n0(e)==="object"||typeof e=="function")?e:ze(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function t0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function Tl(t){return jv(t)||Qv(t)||i0(t)||Jv()}var n0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function i0(t,e){if(!!t){if(typeof t=="string")return ia(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ia(t,e)}}function u0(){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 a0(t){var e=u0();return function(){var i=Oe(t),u;if(e){var a=Oe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return e0(this,u)}}var r0=function(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(f){return c([o,f])}}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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},l0=1e4,z=function(e){Gv(i,e);var n=a0(i);function i(u){Kv(this,i);var a;a=n.call(this,u),xe(ze(a),"controlType","layout"),xe(ze(a),"children",void 0),xe(ze(a),"excludes",void 0),xe(ze(a),"childrenMaxLength",void 0),xe(ze(a),"props",void 0);var r=Xv(this,i)?this.constructor:void 0,l=r.excludes,c=r.childrenMaxLength;return a.props=new q(u==null?void 0:u.props),Ie(ze(a),"children",u==null?void 0:u.children),a.excludes=Ue(l),a.childrenMaxLength=c,a}return zv(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 vt(Oe(i.prototype),"validate",l)};return Wv(function(){return r0(this,function(f){switch(f.label){case 0:return[4,o().call(c,a,r)];case 1:return f.sent(),[4,Promise.all(c.children.map(function(m){return m.validate(a,r)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=vt(Oe(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(c,o){var f=o.toDataBindModel(a);if(Array.isArray(f)){var m=f.filter(function(E){return!!E});return Tl(c).concat(Tl(m))}return f&&c.push(f),c},l)}},{key:"toSchema",value:function(){var a=vt(Oe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var c=l.toSchema();return c});return pv(Zv({},a),{children:r})}}]),i}(L);xe(z,"excludes",!1),xe(z,"childrenMaxLength",l0);function Lt(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 aa(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 c0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function s0(t,e){return e&&(d0(e)==="object"||typeof e=="function")?e:Lt(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}var d0=function(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 h0(t){var e=f0();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 s0(this,u)}}var Z=function(t){c0(n,t);var e=h0(n);function n(i){o0(this,n);var u;return u=e.call(this,i),aa(Lt(u),"controlType","layout"),aa(Lt(u),"children",void 0),aa(Lt(u),"props",void 0),u.props=new q(i==null?void 0:i.props),Ie(Lt(u),"children",i==null?void 0:i.children),u}return n}(Q);function la(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y0(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 ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function v0(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 g0(t,e){return e&&(b0(e)==="object"||typeof e=="function")?e:la(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}var b0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function E0(){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=E0();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return g0(this,u)}}var ni=function(t){v0(n,t);var e=C0(n);function n(i,u){y0(this,n);var a;return a=e.call(this,u),m0(la(a),"headers",void 0),Ie(la(a),"headers",u==null?void 0:u.headers,i),a}return n}(X);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 A0(t){if(Array.isArray(t))return ca(t)}function ii(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rl(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 _0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Rl(a,i,u,r,l,"next",c)}function l(c){Rl(a,i,u,r,l,"throw",c)}r(void 0)})}}function B0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pl(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 I0(t,e,n){return e&&Pl(t.prototype,e),n&&Pl(t,n),t}function ui(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?gt=Reflect.get:gt=function(u,a,r){var l=R0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},gt(t,e,n||t)}function ke(t){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(t)}function w0(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 S0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function F0(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){ui(t,u,n[u])})}return t}function D0(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 Ol(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):D0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function T0(t,e){return e&&(P0(e)==="object"||typeof e=="function")?e:ii(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=ke(t),t!==null););return t}function kl(t){return A0(t)||S0(t)||x0(t)||F0()}var P0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function x0(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 k0(t){var e=O0();return function(){var i=ke(t),u;if(e){var a=ke(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return T0(this,u)}}var $0=function(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(f){return c([o,f])}}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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},da=function(t){w0(n,t);var e=k0(n);function n(i){B0(this,n);var u;return u=e.call(this,i),ui(ii(u),"controlType","list"),ui(ii(u),"props",void 0),u.props=new ni(ii(u),i==null?void 0:i.props),u}return I0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return gt(ke(n.prototype),"validate",r)};return _0(function(){return $0(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(f){return f.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=gt(ke(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 f=o.filter(function(m){return!!m});return kl(l).concat(kl(f))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=gt(ke(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Ol(xl({},u),{props:Ol(xl({},this.props),{headers:a})})}}]),n}(L);ui(da,"controlFieldType",J.LIST);function bt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M0(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 L0(t,e,n){return e&&$l(t.prototype,e),n&&$l(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 ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function N0(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 V0(t,e){return e&&(H0(e)==="object"||typeof e=="function")?e:bt(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}var H0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function U0(){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 q0(t){var e=U0();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 V0(this,u)}}var Ml=function(t){N0(n,t);var e=q0(n);function n(i){M0(this,n);var u;return u=e.call(this,i),fa(bt(u),"controlType","list"),fa(bt(u),"children",void 0),fa(bt(u),"props",void 0),u.props=new ni(bt(u),i==null?void 0:i.props),Ie(bt(u),"children",i==null?void 0:i.children),u}return L0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Q);function Y(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(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 j0(t,e){return e&&(W0(e)==="object"||typeof e=="function")?e:Y(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}var W0=function(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 ga(t){var e=K0();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 j0(this,u)}}var we=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(Y(u),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),te(Y(u),"width",{type:"number",required:!1,message:w.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(W),G=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;u=e.call(this,i),te(Y(u),"widthType",void 0),te(Y(u),"width",void 0),te(Y(u),"caption",void 0),te(Y(u),"dataBind",void 0),te(Y(u),"autoWidth",void 0),te(Y(u),"fixed",void 0),te(Y(u),"sort",void 0),te(Y(u),"align",void 0),te(Y(u),"colSpan",void 0),te(Y(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 Zr(i==null?void 0:i.autoWidth),u.dataBind=new Ee(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}(X);te(G,"Rules",we);var Ll=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(Y(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(Y(u),"options",[{type:"array",message:w.getMessage("isNotArray")}]),te(Y(u),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),Qu.call(Y(u),i),u}return n}(we);function ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nl(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 G0(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 X0(t,e){return e&&(Q0(e)==="object"||typeof e=="function")?e:ba(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}var Q0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function J0(){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=J0();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 X0(this,u)}}var ne=function(t){G0(n,t);var e=Z0(n);function n(i){z0(this,n);var u;return u=e.call(this,i),Nl(ba(u),"controlType","column"),Nl(ba(u),"props",void 0),u.props=new G(i==null?void 0:i.props),u}return n}(L);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vl(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 p0(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 eg(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:Ca(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}var tg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ng(){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 ig(t){var e=ng();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 eg(this,u)}}var ie=function(t){p0(n,t);var e=ig(n);function n(i){Y0(this,n);var u;return u=e.call(this,i),Vl(Ca(u),"controlType","column"),Vl(Ca(u),"props",void 0),u.props=new G(i==null?void 0:i.props),u}return n}(Q);function Hl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ag(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 rg(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 lg(t,e){return e&&(og(e)==="object"||typeof e=="function")?e:Hl(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}var og=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function cg(){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 sg(t){var e=cg();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 lg(this,u)}}var Ba=function(t){rg(n,t);var e=sg(n);function n(i){ug(this,n);var u;return u=e.call(this,i),ag(Hl(u),"dataBind",void 0),u.dataBind=new Ee(i==null?void 0:i.dataBind),u}return n}(q);function Ia(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(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 fg(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 hg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:Ia(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}var yg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};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 vg(t){var e=mg();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 hg(this,u)}}var gg=function(t){fg(n,t);var e=vg(n);function n(i){dg(this,n);var u;return u=e.call(this,i),Ul(Ia(u),"controlType","search"),Ul(Ia(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(z);function Sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bg(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 di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function Eg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fa(t,e)}function Cg(t,e){return e&&(Ag(e)==="object"||typeof e=="function")?e:Sa(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}var Ag=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _g(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bg(t){var e=_g();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 Cg(this,u)}}var Ig=function(t){Eg(n,t);var e=Bg(n);function n(i){bg(this,n);var u;return u=e.call(this,i),ql(Sa(u),"controlType","search"),ql(Sa(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(Z);function Ge(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}}}])}class Da extends X{constructor(e){var n,i,u,a,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class jl extends L{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}jl.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 wg extends Q{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"text"}}var Wl={Designer:jl,Runtime:wg,Property:Da};class Ta extends X{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 Ra extends L{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ra.controlEventKeys=["on_click"],Ra.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 Sg extends Q{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"link"}}var Kl={Designer:Ra,Runtime:Sg,Property:Ta};class le extends X{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(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}}class oe extends L{constructor(e){super(e),this.props=new le(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}oe.controlEventKeys=["on_click"],oe.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 he extends Q{constructor(e){super(e),this.props=new le(e==null?void 0:e.props)}static get controlType(){return"button"}}var zl={Designer:oe,Runtime:he,Property:le},Fg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Dg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Tg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Rg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Pg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",xg="{caption}\u5FC5\u586B",Og="\u8BF7\u8F93\u5165\u6807\u9898",kg="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",$g="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Mg="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Lg="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ng="\u8BF7\u7ED1\u5B9A\u5217\u8868",Vg="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Hg="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ug="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",qg="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",jg="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Wg="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Kg="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",zg="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Gg="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Xg="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Qg="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Jg="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Zg="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Yg="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",pg="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",eb="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",tb="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",nb="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ib="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ub="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ab="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",rb="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",lb="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ob="\u8BF7\u7ED1\u5B9A\u670D\u52A1",cb="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",sb="\u8BF7\u9009\u62E9\u7701",db="\u8BF7\u9009\u62E9\u5E02",fb="\u8BF7\u9009\u62E9\u533A",hb="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",yb="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",mb="\u8BF7\u8F93\u5165\u5217\u5BBD",vb="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",gb="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",bb="\u8BF7\u9009\u62E9\u63A7\u4EF6",Eb="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Cb="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ab="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",_b="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Bb="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ib="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wb="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Sb="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fb="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Db="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Tb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Rb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Pb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ob="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",kb="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",$b="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Mb="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Lb="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Nb="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Vb="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Hb={isNotNumber:Fg,isNotString:Dg,isNotObject:Tg,isNotArray:Rg,isNotBoolean:Pg,runtimeRequired:xg,pleaseEnterCaption:Og,pleaseEnterCaptionTip:kg,pleaseEnterPlaceholder:$g,pleaseEnterFieldCode:Mg,pleaseEnterForm:Lg,pleaseEnterList:Ng,pleaseEnterProcess:Vg,pleaseEnterLabel:Hg,pleaseEnterValue:Ug,bizKeyNotBindFiled:qg,pleaseSelectOneField:jg,pleaseEnterNumberRange:Wg,pleaseEnterAValueGreaterThanMin:Kg,pleaseEnterAValueLessThanMax:zg,numberRangeSetError:Gg,stringRangeError:Xg,attachmentMaxSize:Qg,pleaseEnterTotalScoreSetting:Jg,theTotalScoreMustNotBeLessThan1:Zg,scoreDefaultValueRange:Yg,attachmentLimitError:pg,PleaseReselectTheOptionalQuantity:eb,TheMaximumLengthIsGreaterThanTheMinimumLength:tb,TheMinimumLengthIsGreaterThanTheMaximumLength:nb,PleaseSelectTheCorrectOptionSettings:ib,optionIdIsRepeat:ub,optionIsRequired:ab,pleaseEnterDataCode:rb,pleaseEnterValueFieldCode:lb,pleaseEnterSvcCode:ob,pleaseBindAtLeastOneDisplayValue:cb,pleaseSelectProvince:sb,pleaseSelectCity:db,pleaseSelectDistrict:fb,limitRowsCannotBeLessThan0:hb,TheNumberOfRowsCannotBeLessThanMinRows:yb,pleaseEnterColumnWidth:mb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vb,pleaseCompleteAllRulesAndConditions:gb,pleaseSelectControl:bb,pleaseSelectAtLeastOneColumn:Eb,pleaseSelectFillBackMode:Cb,pleaseSelectDashboard:Ab,rootNodeIsRequired:_b,theViewNameCannotBeEmpty:Bb,pleaseSelectOcrType:Ib,pleaseSelectAtLeastOneFieldToFillIn:wb,pleaseChooseAtLeastOne:Sb,pleaseEnterButtonContent:Fb,pleaseEnterDataCodeInDataSetting:Db,pleaseEnterValueFieldCodeInDataSetting:Tb,pleaseEnterSvcCodeInDataSetting:Rb,pleaseBindAtLeastOneDisplayValueInDataSetting:Pb,rootNodeIsRequiredInDataSetting:xb,pleaseEnterMaxHeight:Ob,pleaseEnter:kb,pleaseEnterWatermark:$b,pleaseEnterFileName:Mb,pleaseUploadAtLeastOnePrintTemplate:Lb,pleaseAssignBusiness:Nb,pleaseAssignExternal:Vb},Ub="Please enter a number",qb="Please enter a string",jb="Please enter an object",Wb="Please enter an array",Kb="Please enter a boolean",zb="{caption} Required",Gb="Please enter the title",Xb="Please enter the bubble prompt",Qb="Please enter the prompt text",Jb="Please bind data items",Zb="Please bind the form",Yb="Please bind the list",pb="Please bind the process",eE="Please enter the displayed value",tE="Please enter the stored value",nE="The document number is not bound to the data item",iE="Please select at least one display field",uE="Please enter a value greater than or equal to {min} and less than or equal to {max}",aE="Please enter a value greater than or equal to {min}",rE="Please enter a value less than or equal to {max}",lE="The value range is set incorrectly",oE="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",cE="The attachment size must be between 0MB and 1000MB",sE="Please fill in the total score setting",dE="The total score cannot be less than 1",fE="The default value must be between {min} and {max}",hE="The number of attachments uploaded must be between {min} and {max}",yE="Please re-select the optional quantity",mE="The maximum length of the control must be greater than the minimum length",vE="The minimum length of the control must be less than the maximum length",gE="Please select the correct option setting",bE="Option ID cannot be repeated",EE="Please enter at least one option",CE="Please bind the data source",AE="Please bind the stored value",_E="Please bind the service",BE="At least one display value must be bound",IE="Please select a province",wE="Please select a city",SE="Please select a district",FE="The minimum number of lines to fill in cannot be less than 0",DE="The number of rows cannot be less than {min} rows",TE="Please enter the column width",RE="Please set the logical relationship of all rule conditions",PE="Please complete all rules and conditions",xE="please select control",OE="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",kE="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$E="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ME="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",LE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",NE="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",VE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",HE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",UE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",qE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",jE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",WE="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",KE="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",zE="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",GE="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",XE="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",QE="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",JE="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ZE={isNotNumber:Ub,isNotString:qb,isNotObject:jb,isNotArray:Wb,isNotBoolean:Kb,runtimeRequired:zb,pleaseEnterCaption:Gb,pleaseEnterCaptionTip:Xb,pleaseEnterPlaceholder:Qb,pleaseEnterFieldCode:Jb,pleaseEnterForm:Zb,pleaseEnterList:Yb,pleaseEnterProcess:pb,pleaseEnterLabel:eE,pleaseEnterValue:tE,bizKeyNotBindFiled:nE,pleaseSelectOneField:iE,pleaseEnterNumberRange:uE,pleaseEnterAValueGreaterThanMin:aE,pleaseEnterAValueLessThanMax:rE,numberRangeSetError:lE,stringRangeError:oE,attachmentMaxSize:cE,pleaseEnterTotalScoreSetting:sE,theTotalScoreMustNotBeLessThan1:dE,scoreDefaultValueRange:fE,attachmentLimitError:hE,PleaseReselectTheOptionalQuantity:yE,TheMaximumLengthIsGreaterThanTheMinimumLength:mE,TheMinimumLengthIsGreaterThanTheMaximumLength:vE,PleaseSelectTheCorrectOptionSettings:gE,optionIdIsRepeat:bE,optionIsRequired:EE,pleaseEnterDataCode:CE,pleaseEnterValueFieldCode:AE,pleaseEnterSvcCode:_E,pleaseBindAtLeastOneDisplayValue:BE,pleaseSelectProvince:IE,pleaseSelectCity:wE,pleaseSelectDistrict:SE,limitRowsCannotBeLessThan0:FE,TheNumberOfRowsCannotBeLessThanMinRows:DE,pleaseEnterColumnWidth:TE,pleaseSetTheLogicalRelationshipOfAllRuleConditions:RE,pleaseCompleteAllRulesAndConditions:PE,pleaseSelectControl:xE,pleaseSelectDashboard:OE,theViewNameCannotBeEmpty:kE,pleaseSelectOcrType:$E,pleaseSelectAtLeastOneFieldToFillIn:ME,pleaseChooseAtLeastOne:LE,pleaseEnterButtonContent:NE,pleaseEnterDataCodeInDataSetting:VE,pleaseEnterValueFieldCodeInDataSetting:HE,pleaseEnterSvcCodeInDataSetting:UE,pleaseBindAtLeastOneDisplayValueInDataSetting:qE,rootNodeIsRequiredInDataSetting:jE,pleaseEnterMaxHeight:WE,pleaseEnter:KE,pleaseEnterWatermark:zE,pleaseEnterFileName:GE,pleaseUploadAtLeastOnePrintTemplate:XE,pleaseAssignBusiness:QE,pleaseAssignExternal:JE},YE="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pE="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eC="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tC="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nC="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iC="{caption}\u5FC5\u9808",uC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",yC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",EC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",AC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_C="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",BC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",IC="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SC="\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",FC="\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",DC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",TC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",RC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",PC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",OC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",$C="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",MC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",LC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",VC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",HC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",jC="please select control",WC="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",KC="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zC="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",GC="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",XC="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",QC="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",JC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ZC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",YC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",pC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",e5="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",t5="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",n5="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",i5="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",u5="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",a5="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",r5="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",l5="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",o5={isNotNumber:YE,isNotString:pE,isNotObject:eC,isNotArray:tC,isNotBoolean:nC,runtimeRequired:iC,pleaseEnterCaption:uC,pleaseEnterCaptionTip:aC,pleaseEnterPlaceholder:rC,pleaseEnterFieldCode:lC,pleaseEnterForm:oC,pleaseEnterList:cC,pleaseEnterProcess:sC,pleaseEnterLabel:dC,pleaseEnterValue:fC,bizKeyNotBindFiled:hC,pleaseSelectOneField:yC,pleaseEnterNumberRange:mC,pleaseEnterAValueGreaterThanMin:vC,pleaseEnterAValueLessThanMax:gC,numberRangeSetError:bC,stringRangeError:EC,attachmentMaxSize:CC,pleaseEnterTotalScoreSetting:AC,theTotalScoreMustNotBeLessThan1:_C,scoreDefaultValueRange:BC,attachmentLimitError:IC,PleaseReselectTheOptionalQuantity:wC,TheMaximumLengthIsGreaterThanTheMinimumLength:SC,TheMinimumLengthIsGreaterThanTheMaximumLength:FC,PleaseSelectTheCorrectOptionSettings:DC,optionIdIsRepeat:TC,optionIsRequired:RC,pleaseEnterDataCode:PC,pleaseEnterValueFieldCode:xC,pleaseEnterSvcCode:OC,pleaseBindAtLeastOneDisplayValue:kC,pleaseSelectProvince:$C,pleaseSelectCity:MC,pleaseSelectDistrict:LC,limitRowsCannotBeLessThan0:NC,TheNumberOfRowsCannotBeLessThanMinRows:VC,pleaseEnterColumnWidth:HC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:UC,pleaseCompleteAllRulesAndConditions:qC,pleaseSelectControl:jC,pleaseSelectDashboard:WC,theViewNameCannotBeEmpty:KC,pleaseSelectOcrType:zC,pleaseSelectAtLeastOneFieldToFillIn:GC,pleaseChooseAtLeastOne:XC,pleaseEnterButtonContent:QC,pleaseEnterDataCodeInDataSetting:JC,pleaseEnterValueFieldCodeInDataSetting:ZC,pleaseEnterSvcCodeInDataSetting:YC,pleaseBindAtLeastOneDisplayValueInDataSetting:pC,rootNodeIsRequiredInDataSetting:e5,pleaseEnterMaxHeight:t5,pleaseEnter:n5,pleaseEnterWatermark:i5,pleaseEnterFileName:u5,pleaseUploadAtLeastOnePrintTemplate:a5,pleaseAssignBusiness:r5,pleaseAssignExternal:l5},c5={zhCN:Hb,enUS:ZE,jaJP:o5},Gl;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Gl||(Gl={}));var Xl;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Xl||(Xl={}));var s5="zh-CN";function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ql;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Ql||(Ql={}));var _;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(_||(_={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(v||(v={}));var ce;ce={},ye(ce,v.ARRAY,_.ARRAY_COLUMN),ye(ce,v.AUTO_NUMBER,_.AUTO_NUMBER_COLUMN),ye(ce,v.DECIMAL,_.DECIMAL_COLUMN),ye(ce,v.DEPARTMENTS,_.DEPARTMENT_COLUMN),ye(ce,v.FILE,_.FILE_COLUMN),ye(ce,v.IMAGE,_.IMAGE_COLUMN),ye(ce,v.ADDRESS,_.LOCATION_COLUMN),ye(ce,v.EMPLOYEES,_.EMPLOYEE_COLUMN),ye(ce,v.TEXT,_.TEXT_COLUMN),ye(ce,v.TIMESCOPE,_.TIMESCOPE_COLUMN),ye(ce,v.TIMESTAMP,_.TIMESTAMP_COLUMN),ye(ce,v.VARCHAR,_.VARCHAR_COLUMN),ye(ce,v.RELATION,_.VARCHAR_COLUMN);var $e;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})($e||($e={}));var Jl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",d5=Jl+"0123456789";function Pa(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Jl:d5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function f5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y5(){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 fi(t,e,n){return y5()?fi=Reflect.construct:fi=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Vt(o,r.prototype),o},fi.apply(null,arguments)}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nt(t)}function m5(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&&Vt(t,e)}function v5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function g5(t,e){return e&&(b5(e)==="object"||typeof e=="function")?e:f5(t)}function Vt(t,e){return Vt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vt(t,e)}var b5=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function xa(t){var e=typeof Map=="function"?new Map:void 0;return xa=function(i){if(i===null||!v5(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 fi(i,arguments,Nt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vt(u,i)},xa(t)}function E5(){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 C5(t){var e=E5();return function(){var i=Nt(t),u;if(e){var a=Nt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return g5(this,u)}}function A5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _5=function(t){m5(n,t);var e=C5(n);function n(i){h5(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?A5(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(xa(Error));function Zl(t){throw new _5(t)}var B5=Object.prototype.toString;function Yl(t,e){return B5.call(t)==="[object "+e+"]"}function I5(t){return Yl(t,"String")}function w5(t){return Yl(t,"Promise")}var S5=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();w5(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&&!I5(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 F5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var g=function(){function t(){F5(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s5;return new S5({locale:n,messages:c5})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();g.$i18n=g.resetI18n();var D5={exports:{}};(function(t){(function(e){var n=function(d,b,S){if(!o(b)||m(b)||E(b)||A(b)||c(b))return b;var D,P=0,ue=0;if(f(b))for(D=[],ue=b.length;P<ue;P++)D.push(n(d,b[P],S));else{D={};for(var x in b)Object.prototype.hasOwnProperty.call(b,x)&&(D[d(x,S)]=n(d,b[x],S))}return D},i=function(d,b){b=b||{};var S=b.separator||"_",D=b.split||/(?=[A-Z])/;return d.split(D).join(S)},u=function(d){return B(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(b,S){return S?S.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},a=function(d){var b=u(d);return b.substr(0,1).toUpperCase()+b.substr(1)},r=function(d,b){return i(d,b).toLowerCase()},l=Object.prototype.toString,c=function(d){return typeof d=="function"},o=function(d){return d===Object(d)},f=function(d){return l.call(d)=="[object Array]"},m=function(d){return l.call(d)=="[object Date]"},E=function(d){return l.call(d)=="[object RegExp]"},A=function(d){return l.call(d)=="[object Boolean]"},B=function(d){return d=d-0,d===d},C=function(d,b){var S=b&&"process"in b?b.process:b;return typeof S!="function"?d:function(D,P){return S(D,d,P)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(d,b){return n(C(u,b),d)},decamelizeKeys:function(d,b){return n(C(r,b),d,b)},pascalizeKeys:function(d,b){return n(C(a,b),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(qr)})(D5);var pl={};Object.defineProperty(pl,"__esModule",{value:!0});function Oa(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Oa(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Oa(i)}return e}}var T5=pl.default=Oa;function R5(t){if(t!==void 0)return typeof t=="object"?T5(t):t}function eo(t){return Array.isArray(t)}var Me=(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))(Me||{}),to=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(to||{}),no=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(no||{});class hi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Pa(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var ka=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ka||{});class yi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:Pa(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var $a=(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))($a||{});class Ma{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 xt((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 xt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new xt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class io{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 Ma(c)))!=null?u:[new Ma],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 La{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:Pa(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 Na{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 uo{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 Na(e==null?void 0:e.watermark),this.autoRename=new Na(e==null?void 0:e.autoRename)}}const ao=480;function Ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ro{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 lo{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 oo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(oo||{}),Va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Va||{}),mi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(mi||{}),Le=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Le||{}),Ha=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ha||{});class Ua extends X{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:$a.SOLID}}class co extends L{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}co.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class P5 extends Q{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"divider"}}var so={Designer:co,Runtime:P5,Property:Ua};class x5 extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Me.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:g.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:g.getMessage("bizKeyNotBindFiled")}},message:g.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:g.getMessage("pleaseSelectOneField")})}}class vi extends X{constructor(e){var n,i,u,a;super(e),this.dataBind=new Ee(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Me.ShowSubmitUser,Me.ShowSubmitDept,Me.ShowSubmitTime,Me.ShowCurrentApprovar,Me.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Et==null?void 0:Et.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}vi.Rules=x5;class Et extends L{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Et.controlFieldType=v.AUTO_NUMBER,Et.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 O5 extends Q{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"title"}}var fo={Designer:Et,Runtime:O5,Property:vi};class k5 extends W{constructor(e){super(e),this.formKey={type:"string",required:!0,message:g.getMessage("pleaseEnterForm")}}}class gi extends le{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ut.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ut.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}gi.Rules=k5;class Ut extends oe{constructor(e){super(e),this.props=new gi(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"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.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 $5 extends he{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var ho={Designer:Ut,Runtime:$5,Property:gi};class M5 extends W{constructor(e){super(e),this.processKey=[{type:"string",message:g.getMessage("isNotString")},{type:"string",required:!0,message:g.getMessage("pleaseEnterProcess")}]}}class bi extends le{constructor(e){var n,i,u,a,r,l;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.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:""}}bi.Rules=M5;class qt extends oe{constructor(e){super(e),this.props=new bi(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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 L5 extends he{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var yo={Designer:qt,Runtime:L5,Property:bi};class qa extends le{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 oe{constructor(e){super(e),this.props=new qa(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 N5 extends he{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var mo={Designer:jt,Runtime:N5,Property:qa};class ja extends le{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Wt.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new La(r)))!=null?a:[new La({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Wt extends oe{constructor(e){super(e),this.props=new ja(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"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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 V5 extends he{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var vo={Designer:Wt,Runtime:V5,Property:ja};class Wa extends le{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Kt.controlIcon}}class Kt extends oe{constructor(e){super(e),this.props=new Wa(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"}}Kt.controlEventKeys=["on_click"],Kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class H5 extends he{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var go={Designer:Kt,Runtime:H5,Property:Wa};class U5{constructor(e){this.dataCode=e.dataCode}}class Ka extends le{constructor(e){var n,i,u,a;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.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new U5(r)))!=null?a:[]}}class zt extends oe{constructor(e){super(e),this.props=new Ka(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"}}zt.controlEventKeys=["on_click","on_click_finish"],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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class q5 extends he{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var bo={Designer:zt,Runtime:q5,Property:Ka};function Ei(){return{dataCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:g.getMessage("pleaseSelectControl")}}}}}}class j5 extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},Ei())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:g.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:g.getMessage("pleaseSelectFillBackMode")}},Ei())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:g.getMessage("pleaseSelectControl")})}}class Ci extends le{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Gt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new $u(e==null?void 0:e.fillPayload),this.formBind=new nm(e==null?void 0:e.formBind),this.fillBack=new il(e==null?void 0:e.fillBack)}}Ci.Rules=j5;class Gt extends oe{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"}}Gt.controlEventKeys=["on_click","on_click_finish"],Gt.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 W5 extends he{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Eo={Designer:Gt,Runtime:W5,Property:Ci};class K5 extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},Ei())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:g.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:g.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:g.getMessage("pleaseSelectFillBackMode")}},Ei())}}}class Ai extends le{constructor(e){var n,i,u;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,this.fillPayload=new $u(e==null?void 0:e.fillPayload),this.listPageBind=new Ru(e==null?void 0:e.listPageBind),this.fillBack=new il(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig)}}Ai.Rules=K5;class Xt extends oe{constructor(e){super(e),this.props=new Ai(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"}}Xt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class z5 extends he{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Co={Designer:Xt,Runtime:z5,Property:Ai};class G5 extends W{constructor(e){super(e)}}class X5 extends Ke{constructor(e){super(e)}}class Qt extends X{constructor(e){super(e)}}Qt.Rules=G5,Qt.RuntimeRules=X5;class Ao extends L{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Ao.setting=[];class Q5 extends Q{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var _o={Designer:Ao,Runtime:Q5,Property:Qt};class J5 extends W{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:g.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends X{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"}}_i.Rules=J5;class Bo extends L{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Bo.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 Z5 extends Q{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Io={Designer:Bo,Runtime:Z5,Property:_i};class Y5 extends W{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:g.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:g.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Bi extends X{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 gm(a)))!=null?u:[]}}Bi.Rules=Y5;class wo extends L{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}wo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class p5 extends Q{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var So={Designer:wo,Runtime:p5,Property:Bi};class eA extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:g.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(g.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ii extends le{constructor(e){var n,i,u,a,r,l,c,o,f,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.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(E=>new se(E)))!=null?m:[]}}Ii.Rules=eA;class Ct extends oe{constructor(e){super(e),this.props=new Ii(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"}}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 tA extends he{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Fo={Designer:Ct,Runtime:tA,Property:Ii};class nA extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.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(g.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends le{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:At.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:At.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:At.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(E=>new se(E)))!=null?m:[]}}wi.Rules=nA;class At extends oe{constructor(e){super(e),this.props=new wi(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"}}At.controlEventKeys=["on_click","on_click_finish"],At.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 iA extends he{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Do={Designer:At,Runtime:iA,Property:wi};class uA extends W{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:g.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Si extends le{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Jt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Jt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new ro(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Si.Rules=uA;class Jt extends oe{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Jt.controlEventKeys=["on_click","on_click_finish"],Jt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class aA extends he{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var To={Designer:Jt,Runtime:aA,Property:Si};class za extends le{constructor(e){var n,i;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}}class Zt extends oe{constructor(e){super(e),this.props=new za(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"}}Zt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class rA extends he{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Ro={Designer:Zt,Runtime:rA,Property:za};class lA extends W{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:g.getMessage("pleaseEnterForm")})}}class Fi extends X{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}}Fi.Rules=lA;class Di extends L{constructor(e){super(e),this.props=new Fi(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 oA extends Q{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Po={Designer:Di,Runtime:oA,Property:Fi};class Ga extends X{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Yt.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=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Yt extends L{constructor(e){super(e),this.props=new Ga(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"}}Yt.controlEventKeys=["on_click"],Yt.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 cA extends Q{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var xo={Designer:Yt,Runtime:cA,Property:Ga},sA=Object.freeze({__proto__:null,Text:Wl,Link:Kl,Button:zl,Divider:so,Title:fo,CreateFormListButton:ho,BatchSubmissionListButton:yo,SubmissionRecordListButton:mo,ExportListButton:vo,ExportRecordListButton:go,ImportRecordListButton:bo,FormSelectButton:Eo,ListSelectButton:Co,Pagination:_o,Dashboard:Io,ListViewSelect:So,TextOcrButton:Fo,InvoiceCheckButton:Do,BatchPrintListButton:To,BatchPrintRecordListButton:Ro,OperationButton:Po,BatchDeleteButton:xo});class dA extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class fA extends H{constructor(e){super(e),this.push({type:"string",message:g.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class _t extends R{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 ul(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:Bt.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:""}}_t.Rules=dA,_t.RuntimeRules=fA;class Bt extends O{constructor(e){super(e),this.props=new _t(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"}}Bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Bt.controlFieldType=v.VARCHAR,Bt.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 Oo extends k{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"input"}}Oo.controlFieldType=v.VARCHAR;var ko={Designer:Bt,Runtime:Oo,Property:_t};class hA extends mt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:g.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class yA extends H{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class pt extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B;super(e),this.options=Be((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=(f=e==null?void 0:e.caption)!=null?f:en.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(E=e==null?void 0:e.optionsFormat)!=null?E:"horizontal",this.defaultShowOptions=(A=e==null?void 0:e.defaultShowOptions)!=null?A:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new se(C))}))}}pt.Rules=hA,pt.RuntimeRules=yA;class en extends O{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}en.controlEventKeys=["on_change","on_click"],en.controlFieldType=v.ARRAY,en.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 $o extends k{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}$o.controlFieldType=v.ARRAY;var Mo={Designer:en,Runtime:$o,Property:pt};class mA extends mt{constructor(e){super(e)}}class Ti extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E;super(e),this.options=Be((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=(f=e==null?void 0:e.caption)!=null?f:tn.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",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(A=>{var B;(B=this.multistageFilling)==null||B.push(new se(A))}))}}Ti.Rules=mA;class tn extends O{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}tn.controlEventKeys=["on_change","on_click"],tn.controlFieldType=v.VARCHAR,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:"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 Lo extends k{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"radio"}}Lo.controlFieldType=v.VARCHAR;var No={Designer:tn,Runtime:Lo,Property:Ti};class vA extends ee{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:g.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=g.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:g.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class gA extends H{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:g.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class nn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B;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=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(E=e==null?void 0:e.caption)!=null?E:un.controlName,this.placeholder=(A=e==null?void 0:e.placeholder)!=null?A:"\u8BF7\u8F93\u5165",this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new ul(e==null?void 0:e.regularRules)}}nn.Rules=vA,nn.RuntimeRules=gA;class un extends O{constructor(e){super(e),this.props=new nn(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}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=v.DECIMAL,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:"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 Vo extends k{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"number"}}Vo.controlFieldType=v.DECIMAL;var Ho={Designer:un,Runtime:Vo,Property:nn};class Xa extends R{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ri.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitDateList=(c=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new hi(m)))!=null?c:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(f=e==null?void 0:e.filterWeekend)!=null?f:!1}}class Ri extends O{constructor(e){super(e),this.props=new Xa(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}}Ri.controlFieldType=v.TIMESTAMP,Ri.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:"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 k{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Uo.controlFieldType=v.TIMESTAMP;var qo={Designer:Ri,Runtime:Uo,Property:Xa};class bA extends H{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Pi extends R{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dataBind=new fm(e==null?void 0:e.dataBind),this.defaultValue=new hm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(c=e==null?void 0:e.caption)!=null?c:xi.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new hi(m)))!=null?f:[]}}Pi.RuntimeRules=bA;class xi extends O{constructor(e){super(e),this.props=new Pi(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}}xi.controlFieldType=v.TIMESCOPE,xi.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:"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 jo extends k{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}jo.controlFieldType=v.TIMESCOPE;var Wo={Designer:xi,Runtime:jo,Property:Pi};class EA extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class CA extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class an extends R{constructor(e){var n,i,u,a,r,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:rn.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}}an.Rules=EA,an.RuntimeRules=CA;class rn extends O{constructor(e){super(e),this.props=new an(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"}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=v.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:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Ko extends k{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Ko.controlFieldType=v.TEXT;var zo={Designer:rn,Runtime:Ko,Property:an};class AA extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class _A extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class ln extends R{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:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}ln.Rules=AA,ln.RuntimeRules=_A;class on extends O{constructor(e){super(e),this.props=new ln(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"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=v.TEXT,on.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 Go extends k{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Go.controlFieldType=v.TEXT;var Xo={Designer:on,Runtime:Go,Property:ln};class BA extends mt{constructor(e){super(e)}}class Oi extends R{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.options=Be((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:ki.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(f=>{var m;(m=this.multistageFilling)==null||m.push(new se(f))}))}}Oi.Rules=BA;class ki extends O{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"}}ki.controlFieldType=v.VARCHAR,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:"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},{key:"super-setting",visible:!0}];class Qo extends k{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"select"}}Qo.controlFieldType=v.VARCHAR;var Jo={Designer:ki,Runtime:Qo,Property:Oi};class IA extends mt{constructor(e){super(e)}}class wA extends H{constructor(e){super(e),this[0].type="array"}}class cn extends R{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=Be((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(o=>{var f;(f=this.multistageFilling)==null||f.push(new se(o))}))}}cn.Rules=IA,cn.RuntimeRules=wA;class $i extends O{constructor(e){super(e),this.props=new cn(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=v.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},{key:"super-setting",visible:!0}];class Zo extends k{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Zo.controlFieldType=v.ARRAY;var Yo={Designer:$i,Runtime:Zo,Property:cn};class SA extends H{constructor(e){super(e),this[0].type="array"}}class Mi extends R{constructor(e){var n,i,u,a,r,l,c,o,f;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:Li.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var E;(E=this.multistageFilling)==null||E.push(new se(m))}))}}Mi.RuntimeRules=SA;class Li extends O{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Li.controlFieldType=v.EMPLOYEES,Li.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 po extends k{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}po.controlFieldType=v.EMPLOYEES;var ec={Designer:Li,Runtime:po,Property:Mi};const FA=10485760,DA=104857600,TA=1048576e3;class RA extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:TA,message:g.getMessage("attachmentMaxSize")}}}class PA extends H{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:g.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class It extends R{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:DA,this.caption=(c=e==null?void 0:e.caption)!=null?c:wt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}It.Rules=RA,It.RuntimeRules=PA;class wt extends O{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"}}wt.controlEventKeys=["on_change"],wt.controlFieldType=v.FILE,wt.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 Qa extends k{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Qa.controlFieldType=v.FILE;var tc={Designer:wt,Runtime:Qa,Property:It};const nc=class extends wt{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:nc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ja=nc;Ja.controlFieldType=v.IMAGE,Ja.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-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class xA extends Qa{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 OA extends It{constructor(e){super(e)}}var ic={Designer:Ja,Runtime:xA,Property:OA};class kA extends mt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:g.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=g.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:g.getMessage("numberRangeSetError")})}}class $A extends H{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[$n(Te({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:g.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class sn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,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.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 sm(e==null?void 0:e.dataBind),this.datasourceBind=new p((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new xu({value:"name"})]}),this.defaultValue=new dm((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:Hn.CNY}),this.options=Be(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:dn.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}sn.Rules=kA,sn.RuntimeRules=$A;class dn extends O{constructor(e){super(e),this.props=new sn(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}}dn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],dn.controlFieldType=v.MONEY,dn.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 uc extends k{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"amount"}}uc.controlFieldType=v.MONEY;var ac={Designer:dn,Runtime:uc,Property:sn};class MA extends ee{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:g.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:g.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:g.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=g.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class LA extends H{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:g.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class fn extends R{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:ka.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 yi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new yi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:hn.controlName}}fn.Rules=MA,fn.RuntimeRules=LA;class hn extends O{constructor(e){super(e),this.props=new fn(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 yi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}hn.controlEventKeys=["on_change","on_click"],hn.controlFieldType=v.DECIMAL,hn.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 rc extends k{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"score"}}rc.controlFieldType=v.DECIMAL;var lc={Designer:hn,Runtime:rc,Property:fn};class NA extends H{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:g.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:g.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:g.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Ni extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vi.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 ym((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"}}Ni.RuntimeRules=NA;class Vi extends O{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Vi.controlFieldType=v.ADDRESS,Vi.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 oc extends k{constructor(e){super(e),this.props=new Ni(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"}}oc.controlFieldType=v.ADDRESS;var cc={Designer:Vi,Runtime:oc,Property:Ni};class VA extends H{constructor(e){super(e),this[0].type="array"}}class Hi extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(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=(f=e==null?void 0:e.caption)!=null?f:yn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",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(A=>{var B;(B=this.multistageFilling)==null||B.push(new se(A))}))}}Hi.RuntimeRules=VA;class yn extends O{constructor(e){super(e),this.props=new Hi(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}}yn.controlName="\u90E8\u95E8",yn.controlFieldType=v.DEPARTMENTS,yn.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-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 sc extends k{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"department"}}sc.controlFieldType=v.DEPARTMENTS;var dc={Designer:yn,Runtime:sc,Property:Hi};class Za extends R{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:mn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class mn extends O{constructor(e){super(e),this.props=new Za(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"}}mn.controlEventKeys=["on_change"],mn.controlFieldType=v.AUTO_NUMBER,mn.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 fc extends k{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}fc.controlFieldType=v.AUTO_NUMBER;var hc={Designer:mn,Runtime:fc,Property:Za};class HA 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 UA extends H{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:g.getMessage("isNotObject"),fields:{result:[{type:"number",message:g.getMessage("isNotNumber")}],unit:{type:"string",message:g.getMessage("isNotString")}}})}}class vn extends R{constructor(e){var n,i,u,a,r,l,c;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new mm(e==null?void 0:e.dataBind),this.defaultValue=new vm(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:gn.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:""}}vn.Rules=HA,vn.RuntimeRules=UA;class gn extends O{constructor(e){super(e),this.props=new vn(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}}gn.controlEventKeys=["on_change"],gn.controlFieldType=v.CALC,gn.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:"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 yc extends k{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"calc"}}yc.controlFieldType=v.CALC;var mc={Designer:gn,Runtime:yc,Property:vn};class qA extends H{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(g.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Ui extends R{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:qi.controlName}}Ui.RuntimeRules=qA;class qi extends O{constructor(e){super(e),this.props=new Ui(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"}}qi.controlFieldType=v.DECIMAL_RANGE,qi.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 vc extends k{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}vc.controlFieldType=v.DECIMAL_RANGE;var gc={Designer:qi,Runtime:vc,Property:Ui};class jA extends H{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class ji extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:$e.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:Wi.controlName,this.limitDateList=(m=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(E=>new hi(E)))!=null?m:[]}}ji.RuntimeRules=jA;class Wi extends O{constructor(e){super(e),this.props=new ji(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"}}Wi.controlFieldType=v.ARRAY,Wi.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:"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 bc extends k{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}bc.controlFieldType=v.ARRAY;var Ec={Designer:Wi,Runtime:bc,Property:ji};class WA extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class KA extends H{constructor(e){super(e),this[0].type="any"}}class bn extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.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}}bn.Rules=WA,bn.RuntimeRules=KA;class En extends O{constructor(e){super(e),this.props=new bn(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"}}En.controlFieldType=v.ANY,En.controlEventKeys=[],En.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 Cc extends k{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Cc.controlFieldType=v.ANY;var Ac={Designer:En,Runtime:Cc,Property:bn};class zA extends mt{constructor(e){super(e),this.listPageBind=[{type:"object",message:g.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:g.getMessage("isNotString")},{type:"string",required:!0,message:g.getMessage("pleaseEnterList")}]}}]}}class Ki extends R{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.options=Be((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ru(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:Cn.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 ku(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var E;(E=this.multistageFilling)==null||E.push(new se(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window"}}Ki.Rules=zA;class Cn extends O{constructor(e){super(e),this.props=new Ki(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"}}Cn.controlFieldType=v.VARCHAR,Cn.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.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Cn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class _c extends k{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}_c.controlFieldType=v.VARCHAR;var Bc={Designer:Cn,Runtime:_c,Property:Ki};class Ya extends _t{constructor(e){super(e)}}class Ic extends Bt{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Ic.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 wc extends k{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"search-input"}}wc.controlFieldType=v.VARCHAR;var Sc={Designer:Ic,Runtime:wc,Property:Ya};class GA extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],Wn.call(this,e,Ne.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:g.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:g.getMessage("rootNodeIsRequired")}}}])}}class XA extends H{constructor(e){super(e),this[0].type="array"}}class An extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C,I,d,b,S;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.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=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.defaultCollapse=(m=e==null?void 0:e.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new tl((A=e==null?void 0:e.datasourceBind)!=null?A:{attributes:Ne.controlCustomAttributes}),this.filterItemDatasourceBind=new tl((B=e==null?void 0:e.filterItemDatasourceBind)!=null?B:{attributes:Ne.controlCustomAttributes}),this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.defaultDisplay=(I=e==null?void 0:e.defaultDisplay)!=null?I:!1,this.multistageFilling=(b=(d=e==null?void 0:e.multistageFilling)==null?void 0:d.map(D=>new se(D)))!=null?b:[],this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:[]}}An.Rules=GA,An.RuntimeRules=XA;class Ne extends O{constructor(e){super(e),this.props=new An(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}]}}Ne.controlEventKeys=["on_change","on_click"],Ne.controlFieldType=v.ARRAY,Ne.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 Fc extends k{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"tree"}}Fc.controlFieldType=v.ARRAY;var Dc={Designer:Ne,Runtime:Fc,Property:An};class QA extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],this.externalScope={type:"any"},Wn.call(this,e,St.controlCustomAttributes),e.externalType===Le.ASSIGN&&(this.externalScope={type:"array",required:!0,message:g.getMessage("pleaseAssignExternal")})}}class JA extends H{constructor(e){super(e),this[0].type="array"}}class _n extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C;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:St.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((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:St.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Va.INTERNAL,this.insideType=(E=e==null?void 0:e.insideType)!=null?E:Ha.ADMIN,this.externalType=(A=e==null?void 0:e.externalType)!=null?A:Le.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],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(I=>{var d;(d=this.multistageFilling)==null||d.push(new se(I))}))}}_n.Rules=QA,_n.RuntimeRules=JA;class St extends O{constructor(e){super(e),this.props=new _n(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}]}}St.controlFieldType=v.EMPLOYEES,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:!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 Tc extends k{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Tc.controlFieldType=v.EMPLOYEES;var Rc={Designer:St,Runtime:Tc,Property:_n};class ZA 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"&&eo(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")&&eo(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class zi extends R{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:Bn.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 io(e==null?void 0:e.signatureConfig)}}zi.Rules=ZA;class Bn extends O{constructor(e){super(e),this.props=new zi(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"}}Bn.controlEventKeys=["on_click","on_click_finish"],Bn.controlFieldType=v.VARCHAR,Bn.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 Pc extends k{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Pc.controlFieldType=v.VARCHAR;var xc={Designer:Bn,Runtime:Pc,Property:zi};class YA extends ee{constructor(e){super(e),this.content={type:"string",required:!0,message:g.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(g.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(g.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(g.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class pA extends H{constructor(e){super(e),this[0].type="array"}}class In extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.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=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:FA,this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.wpsSetting=new uo(e==null?void 0:e.wpsSetting),this.revisionsMode=(A=e==null?void 0:e.revisionsMode)!=null?A:!1}}In.Rules=YA,In.RuntimeRules=pA;class wn extends O{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}wn.controlEventKeys=["on_change","on_wps_open"],wn.controlFieldType=v.FILE,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.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 Oc extends k{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"wps"}}Oc.controlFieldType=v.FILE;var kc={Designer:wn,Runtime:Oc,Property:In};class e_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],this.businessScope={type:"any"},Wn.call(this,e,Xe.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:g.getMessage("pleaseAssignBusiness")})}}class t_ extends H{constructor(e){super(e),this[0].type="array"}}class Sn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C,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=(f=e==null?void 0:e.caption)!=null?f:Xe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Vn((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Xe.controlCustomAttributes}),this.datasourceType=(A=e==null?void 0:e.datasourceType)!=null?A:mi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Le.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(d=>{var b;(b=this.multistageFilling)==null||b.push(new se(d))}))}}Sn.Rules=e_,Sn.RuntimeRules=t_;class Xe extends O{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}}Xe.controlName="\u90E8\u95E8",Xe.controlFieldType=v.DEPARTMENTS,Xe.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 $c extends k{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"department2"}}$c.controlFieldType=v.DEPARTMENTS;var Mc={Designer:Xe,Runtime:$c,Property:Sn};class n_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],this.businessScope={type:"any"},Wn.call(this,e,Qe.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:g.getMessage("pleaseAssignBusiness")})}}class i_ extends H{constructor(e){super(e),this[0].type="array"}}class Fn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C,I,d,b,S;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 Ru(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=(f=e==null?void 0:e.caption)!=null?f:Qe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new om((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Qe.controlCustomAttributes}),this.datasourceType=(A=e==null?void 0:e.datasourceType)!=null?A:mi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Le.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(d=e==null?void 0:e.organizationView)!=null?d:void 0,this.showSelectedDetail=(b=e==null?void 0:e.showSelectedDetail)!=null?b:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var P;(P=this.multistageFilling)==null||P.push(new se(D))}))}}Fn.Rules=n_,Fn.RuntimeRules=i_;class Qe extends O{constructor(e){super(e),this.props=new Fn(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}}Qe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Qe.controlFieldType=v.DEPARTMENTS,Qe.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 Lc extends k{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Lc.controlFieldType=v.DEPARTMENTS;var Nc={Designer:Qe,Runtime:Lc,Property:Fn},u_=Object.freeze({__proto__:null,Input:ko,Checkbox:Mo,Radio:No,Number:Ho,DatePicker:qo,DateRange:Wo,Textarea:zo,RichText:Xo,Select:Jo,SelectMultiple:Yo,Employee:ec,Image:ic,Attachment:tc,Amount:ac,Score:lc,Address:cc,Department:dc,AutoNumber:hc,Calc:mc,SearchNumberRange:gc,SearchDateRange:Ec,VueFormItem:Ac,SelectRelation:Bc,SearchInput:Sc,Tree:Dc,Employee2:Rc,ElectronicSignature:xc,WPS:kc,Department2:Mc,OrganizationSelection:Nc});class Vc extends z{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Vc.excludes=[_.GRID];class a_ extends Z{static get controlType(){return"grid"}constructor(e){super(e)}}var Hc={Designer:Vc,Runtime:a_,Property:q};const r_=24;class Je extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:r_,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Dn extends z{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Dn.excludes=[_.COL,_.CARD_GROUP,_.SUBTABLE,_.SUBTABLE_COLUMN,_.DIVIDER],Dn.childrenMaxLength=1;class pa extends Z{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"col"}}var Uc={Designer:Dn,Runtime:pa,Property:Je};class Gi extends q{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 z{constructor(e){super(e),this.props=new Gi(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=[_.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class qc extends Z{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"row"}}var jc={Designer:Xi,Runtime:qc,Property:Gi};const l_=4;class Qi 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)}}Qi.excludes=[_.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=l_;class o_ extends qc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class c_ extends Gi{constructor(e){super(e)}}var Wc={Designer:Qi,Runtime:o_,Property:c_};class s_ extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")}}}class Ji extends q{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"}}Ji.Rules=s_;class er extends z{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}er.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}],er.excludes=[_.CARD_GROUP];class d_ extends Z{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Kc={Designer:er,Runtime:d_,Property:Ji};class f_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:g.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zi extends q{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 em(e==null?void 0:e.metaAutoWidth)}}Zi.Rules=f_;class Ce extends z{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Ce.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Ce.controlType="subtable-column",Ce.controlIcon="subtable-column",Ce.childrenMaxLength=1,Ce.excludes=[_.SUBTABLE,_.SUBTABLE_COLUMN,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],Ce.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 zc extends Z{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}zc.controlType="subtable-column";var Gc={Designer:Ce,Runtime:zc,Property:Zi};class tr extends q{constructor(e){super(e)}}class Ze extends z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}Ze.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ze.controlType="subtable-row",Ze.controlIcon="subtable-row",Ze.childrenMaxLength=1,Ze.excludes=[_.SUBTABLE,_.SUBTABLE_COLUMN,_.SUBTABLE_ROW,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],Ze.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class h_ extends Z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Xc={Designer:Ze,Runtime:h_,Property:tr};class nr extends q{constructor(e){var n,i,u,a,r,l,c,o,f,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:v.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=(f=e==null?void 0:e.timestampDateType)!=null?f:$e.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Ye extends z{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}Ye.controlName="\u5217\u8868\u5355\u5143\u683C",Ye.controlType="gridtable-column",Ye.controlIcon="gridtable-column",Ye.childrenMaxLength=1,Ye.excludes=[_.GRID_TABLE,_.GRID_TABLE_COLUMN,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],Ye.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Qc extends Z{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}Qc.controlType="gridtable-column";var Jc={Designer:Ye,Runtime:Qc,Property:nr};class ir extends q{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class y_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")}}}class Yi extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rn.controlName}}Yi.Rules=y_;class Tn extends z{constructor(e){super(e),this.props=new Yi(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"}}Tn.excludes=[_.TAB],Tn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class m_ extends Z{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Zc={Designer:Tn,Runtime:m_,Property:Yi};class Rn extends z{constructor(e){var n;super(e),this.props=new ir(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tn,new Tn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Rn.excludes=[_.TAB],Rn.controlEventKeys=["on_change_tab"],Rn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class v_ extends Z{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Yc={Designer:Rn,Runtime:v_,Property:ir};class pc extends q{constructor(e){super(e)}}class es extends z{constructor(e){super(e),this.props=new pc({}),this.children=(e==null?void 0:e.children)||[new Dn({props:new Je({span:12})}),new Dn({props:new Je({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}es.excludes=[_.GRID_ROW,_.ROW,_.GRID,_.SUBTABLE,_.TAB,_.TOOLBOX];class g_ extends Z{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new pa({props:new Je({span:12})}),new pa({props:new Je({span:12})})]}}var ts={Designer:es,Runtime:g_,Property:pc};class b_ extends Ke{constructor(e){super(e),this.push({type:"object",fields:{}})}}class E_ extends W{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")}),Qu.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 Pn extends q{constructor(e){var n,i,u,a,r,l,c,o,f,m;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 am(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(m=e==null?void 0:e.isAllLoaded)!=null?m:!0,this.countType=e==null?void 0:e.countType}}Pn.Rules=E_,Pn.RuntimeRules=b_;class pi extends z{constructor(e){super(e),this.props=new Pn(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"}}pi.excludes=[_.ROW],pi.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"],pi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class C_ extends Z{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ns={Designer:pi,Runtime:C_,Property:Pn};class A_ extends Ke{constructor(e){super(e),this.push({type:"object",fields:{}})}}class eu extends q{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Re((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Re((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Re((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Re((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 Re(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind)}}eu.RuntimeRules=A_;class is extends z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}is.excludes=[];class __ extends Z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var us={Designer:is,Runtime:__,Property:eu};class B_ extends z{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class I_ extends Z{static get controlType(){return"page"}constructor(e){super(e)}}class w_ extends q{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 as={Designer:B_,Runtime:I_,Property:w_};class S_ extends z{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class F_ extends Z{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class D_ extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new lo(e==null?void 0:e.flexConfig)}}var rs={Designer:S_,Runtime:F_,Property:D_};class T_ extends z{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class R_ extends Z{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class P_ extends q{constructor(e){super(e)}}var ls={Designer:T_,Runtime:R_,Property:P_};class x_ extends z{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class O_ extends Z{static get controlType(){return"position"}constructor(e){super(e)}}class k_ extends q{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 os={Designer:x_,Runtime:O_,Property:k_},$_=Object.freeze({__proto__:null,Grid:Hc,Col:Uc,Row:jc,GridRow:Wc,CardGroup:Kc,SubTableColumn:Gc,SubTableRow:Xc,GridTableColumn:Jc,Tab:Yc,TabPane:Zc,Toolbox:ts,ListView:ns,DataView:us,Page:as,AdvancedContainer:rs,PositioningContainer:ls,Position:os});class M_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:g.getMessage("isNotNumber")},{type:"number",min:0,message:g.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:g.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:g.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class L_ extends Ke{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:g.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(g.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:g.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class xn extends ni{constructor(e,n){var i,u,a,r,l,c,o,f,m,E,A,B,C,I,d,b,S,D,P,ue,x,me,On,Fe,hu,kn,Ft,De;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:tu.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(f=n==null?void 0:n.maxHeight)!=null?f:ao,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(E=n==null?void 0:n.limitRows)!=null?E:1,this.maxRows=(A=n==null?void 0:n.maxRows)!=null?A:null,this.defaultRows=(B=n==null?void 0:n.defaultRows)!=null?B:1,this.datasourceBind=new p(n==null?void 0:n.datasourceBind),this.canAdd=(C=n==null?void 0:n.canAdd)!=null?C:!0,this.canDelete=(I=n==null?void 0:n.canDelete)!=null?I:!0,this.canCheck=(d=n==null?void 0:n.canCheck)!=null?d:!1,this.canEdit=(b=n==null?void 0:n.canEdit)!=null?b:!1,this.canImport=(S=n==null?void 0:n.canImport)!=null?S:!1,this.canExport=(D=n==null?void 0:n.canExport)!=null?D:!1,this.canClear=(P=n==null?void 0:n.canClear)!=null?P:!0,this.serverPagination=(ue=n==null?void 0:n.serverPagination)!=null?ue:!1,this.isShowCaptionTip=(x=n==null?void 0:n.isShowCaptionTip)!=null?x:!1,this.captionTip=(me=n==null?void 0:n.captionTip)!=null?me:"",this.mobileShowType=(On=n==null?void 0:n.mobileShowType)!=null?On:"list",this.mobileDefaultNum=((Fe=n==null?void 0:n.mobileDefaultNum)!=null?Fe:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(hu=n==null?void 0:n.dataStorageDoc)!=null?hu:new tm,this.fixedColumn=(kn=n==null?void 0:n.fixedColumn)!=null?kn:[],this.mobileRowCaption=(Ft=n==null?void 0:n.mobileRowCaption)!=null?Ft:"\u660E\u7EC6",this.mobileIsTile=(De=n==null?void 0:n.mobileIsTile)!=null?De:!1}}xn.Rules=M_,xn.RuntimeRules=L_;class tu extends da{constructor(e){var n;super(e),this.props=new xn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new Ce,new Ce,new Ce])}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 Ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}tu.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],tu.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]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class N_ extends Ml{constructor(e){super(e),this.props=new xn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Zl("Method not implemented.")}getChildrenFormControl(){return[]}}var cs={Designer:tu,Runtime:N_,Property:xn};class ur extends ni{constructor(e,n){var i,u,a,r;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class V_ extends we{constructor(e){super(e),this.caption.required=!1}}class nu extends G{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:pe.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"}}nu.Rules=V_;class pe extends ne{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}pe.controlType="order-column",pe.controlName="\u5E8F\u53F7",pe.controlIcon="order-column",pe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ar extends ie{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}ar.controlType="order-column",ar.controlFieldType=v.DECIMAL;var ss={Designer:pe,Runtime:ar,Property:nu};class rr extends G{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 ne{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}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 $n(Te({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Tr(this,null,function*(){return yield Dr(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 lr extends ie{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}}lr.controlType="operation-column",lr.controlFieldType=v.FILE;var ds={Designer:Se,Runtime:lr,Property:rr};class iu extends da{constructor(e){super(e),this.props=new ur(this,e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new pe,new Se])}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 $n(Te({},e),{children:n})}validate(e,n){return Tr(this,null,function*(){return yield Dr(iu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}iu.setting=[{key:"list-fixed-header",visible:!0}];class H_ extends Ml{constructor(e){super(e),this.props=new ur(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Zl("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var fs={Designer:iu,Runtime:H_,Property:ur},U_=Object.freeze({__proto__:null,SubTable:cs,GridTable:fs});class q_ extends Ll{constructor(e){super(e),Ge.call(this,e)}}class uu extends G{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.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=Be((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}uu.Rules=q_;class et extends ne{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}et.controlType="varchar-column",et.controlName="\u77ED\u6587\u672C",et.controlIcon="varchar-column",et.controlFieldType=v.VARCHAR,et.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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class or extends ie{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}or.controlType="varchar-column",or.controlFieldType=v.VARCHAR;var hs={Designer:et,Runtime:or,Property:uu};class j_ extends we{constructor(e){super(e),Ge.call(this,e)}}class au extends G{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:tt.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 je(e==null?void 0:e.linkOperationOption)}}au.Rules=j_;class tt extends ne{constructor(e){super(e),this.props=new au(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}}tt.controlType="text-column",tt.controlName="\u957F\u6587\u672C",tt.controlIcon="text-column",tt.controlFieldType=v.TEXT,tt.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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class cr extends ie{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}cr.controlType="text-column",cr.controlFieldType=v.TEXT;var ys={Designer:tt,Runtime:cr,Property:au};class W_ extends we{constructor(e){super(e),Ge.call(this,e)}}class ru extends G{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.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=Be((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption)}}ru.Rules=W_;class nt extends ne{constructor(e){super(e),this.props=new ru(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}}nt.controlType="decimal-column",nt.controlName="\u6570\u503C",nt.controlIcon="decimal-column",nt.controlFieldType=v.DECIMAL,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class sr extends ie{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}sr.controlType="decimal-column",sr.controlFieldType=v.DECIMAL;var ms={Designer:nt,Runtime:sr,Property:ru};class K_ extends we{constructor(e){super(e),Ge.call(this,e)}}class lu extends G{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:it.controlName}}lu.Rules=K_;class it extends ne{constructor(e){super(e),this.props=new lu(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}}it.controlType="timescope-column",it.controlName="\u65E5\u671F\u533A\u95F4",it.controlIcon="timescope-column",it.controlFieldType=v.TIMESCOPE,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class dr extends ie{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}dr.controlType="timescope-column",dr.controlFieldType=v.TIMESCOPE;var vs={Designer:it,Runtime:dr,Property:lu};class z_ extends we{constructor(e){super(e),Ge.call(this,e)}}class ou extends G{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:ut.controlName}}ou.Rules=z_;class ut extends ne{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}}ut.controlType="timestamp-column",ut.controlName="\u65E5\u671F",ut.controlIcon="timestamp-column",ut.controlFieldType=v.TIMESTAMP,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class fr extends ie{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}fr.controlType="timestamp-column",fr.controlFieldType=v.TIMESTAMP;var gs={Designer:ut,Runtime:fr,Property:ou};class G_ extends Ll{constructor(e){super(e)}}class cu extends G{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.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=Be((u=e==null?void 0:e.options)!=null?u:[{}])}}cu.Rules=G_;class at extends ne{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}at.controlType="array-column",at.controlName="\u6570\u7EC4",at.controlIcon="array-column",at.controlFieldType=v.ARRAY,at.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-sort",visible:!0}];class hr extends ie{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}hr.controlType="array-column",hr.controlFieldType=v.ARRAY;var bs={Designer:at,Runtime:hr,Property:cu};class yr extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class rt extends ne{constructor(e){super(e),this.props=new yr(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}}rt.controlType="department-column",rt.controlName="\u90E8\u95E8",rt.controlIcon="department-column",rt.controlFieldType=v.DEPARTMENTS,rt.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:"department-level",visible:!0},{key:"column-sort",visible:!0}];class mr extends ie{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}mr.controlType="department-column",mr.controlFieldType=v.DEPARTMENTS;var Es={Designer:rt,Runtime:mr,Property:yr};class X_ extends we{constructor(e){super(e),Ge.call(this,e)}}class su extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption)}}su.Rules=X_;class lt extends ne{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}lt.controlType="auto-number-column",lt.controlName="\u81EA\u52A8\u7F16\u53F7",lt.controlIcon="auto-number-column",lt.controlFieldType=v.AUTO_NUMBER,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vr extends ie{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}vr.controlType="auto-number-column",vr.controlFieldType=v.AUTO_NUMBER;var Cs={Designer:lt,Runtime:vr,Property:su};class gr extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName}}class ot extends ne{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}ot.controlType="file-column",ot.controlName="\u9644\u4EF6",ot.controlIcon="file-column",ot.controlFieldType=v.FILE,ot.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-sort",visible:!0}];class br extends ie{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="file-column",br.controlFieldType=v.FILE;var As={Designer:ot,Runtime:br,Property:gr};class Er extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName}}class ct extends ne{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}ct.controlType="image-column",ct.controlName="\u56FE\u7247",ct.controlIcon="image-column",ct.controlFieldType=v.IMAGE,ct.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-sort",visible:!0}];class Cr extends ie{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Cr.controlType="image-column",Cr.controlFieldType=v.IMAGE;var _s={Designer:ct,Runtime:Cr,Property:Er};class Ar extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:st.controlName}}class st extends ne{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}st.controlType="people-column",st.controlName="\u4EBA\u5458",st.controlIcon="people-column",st.controlFieldType=v.EMPLOYEES,st.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-sort",visible:!0}];class _r extends ie{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}_r.controlType="people-column",_r.controlFieldType=v.EMPLOYEES;var Bs={Designer:st,Runtime:_r,Property:Ar};class Q_ extends we{constructor(e){super(e),Ge.call(this,e)}}class du extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:dt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption)}}du.Rules=Q_;class dt extends ne{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}dt.controlType="location-column",dt.controlName="\u5730\u5740",dt.controlIcon="location-column",dt.controlFieldType=v.ADDRESS,dt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Br extends ie{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Br.controlType="location-column",Br.controlFieldType=v.ADDRESS;var Is={Designer:dt,Runtime:Br,Property:du};class Ir extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const J_=1;class Ve extends ne{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ir(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children),this.excludes=R5(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 $n(Te({},e),{children:this.children.map(n=>n.toSchema())})}}Ve.controlType="custom-column",Ve.controlName="\u81EA\u5B9A\u4E49",Ve.controlIcon="custom-column",Ve.excludes=[],Ve.childrenMaxLength=J_,Ve.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}];class ws extends ie{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}}ws.controlType="custom-column";var Ss={Designer:Ve,Runtime:ws,Property:Ir};class wr extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:He.controlCustomAttributes})}}class He extends ne{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}He.controlType="employee-column",He.controlName="\u4EBA\u5458",He.controlIcon="employee-column",He.controlFieldType=v.EMPLOYEES,He.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-sort",visible:!0}];class Sr extends ie{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Sr.controlType="employee-column",Sr.controlFieldType=v.EMPLOYEES;var Fs={Designer:He,Runtime:Sr,Property:wr},Z_=Object.freeze({__proto__:null,VarcharColumn:hs,TextColumn:ys,DecimalColumn:ms,TimescopeColumn:vs,TimestampColumn:gs,ArrayColumn:bs,DepartmentColumn:Es,AutoNumberColumn:Cs,FileColumn:As,ImageColumn:_s,PeopleColumn:Bs,LocationColumn:Is,CustomColumn:Ss,OrderColumn:ss,OperationColumn:ds,EmployeeColumn:Fs});class Y_ extends Ke{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fu extends Ba{constructor(e){var n,i,u,a,r,l,c,o;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 Re((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Re((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(f=>new Re(f)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}fu.RuntimeRules=Y_;class Fr extends gg{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Fr.controlType="simple-search",Fr.setting=[{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 Ds extends Ig{constructor(e){var n;super(e),this.props=new fu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ds.controlType="simple-search";var Ts={Designer:Fr,Runtime:Ds,Property:fu},p_=Object.freeze({__proto__:null,SimpleSearch:Ts});y.Address=cc,y.AdvancedContainer=rs,y.Amount=ac,y.ArrayColumn=bs,y.AssignType=Le,y.Attachment=tc,y.AutoNumber=hc,y.AutoNumberColumn=Cs,y.BatchDeleteButton=xo,y.BatchPrintListButton=To,y.BatchPrintRecordListButton=Ro,y.BatchSubmissionListButton=yo,y.Button=zl,y.Calc=mc,y.CardGroup=Kc,y.Checkbox=Mo,y.Col=Uc,y.CreateFormListButton=ho,y.CustomColumn=Ss,y.DATE_CONFIG_TYPE=to,y.DATE_LIMIT_TYPE=no,y.Dashboard=Io,y.DataView=us,y.DatePicker=qo,y.DateRange=Wo,y.DecimalColumn=ms,y.Department=dc,y.Department2=Mc,y.DepartmentColumn=Es,y.DepartmentType=mi,y.Divider=so,y.ElectronicSignature=xc,y.ElectronicSignatureConfig=io,y.Employee=ec,y.Employee2=Rc,y.EmployeeColumn=Fs,y.EncryptTypeEnum=oo,y.Explain=yi,y.ExportListButton=vo,y.ExportRecordListButton=go,y.ExportTemplate=La,y.FileColumn=As,y.FlexStyleConfig=lo,y.FormSelectButton=Eo,y.Grid=Hc,y.GridRow=Wc,y.GridTable=fs,y.GridTableColumn=Jc,y.Image=ic,y.ImageColumn=_s,y.ImportRecordListButton=bo,y.Input=ko,y.InternalType=Ha,y.InvoiceCheckButton=Do,y.LINE_STYLE=$a,y.LimitDate=hi,y.Link=Kl,y.ListSelectButton=Co,y.ListView=ns,y.ListViewSelect=So,y.LocationColumn=Is,y.Number=Ho,y.OperationButton=Po,y.OperationColumn=ds,y.OrderColumn=ss,y.OrganizationSelection=Nc,y.OrganizeType=Va,y.Page=as,y.Pagination=_o,y.PeopleColumn=Bs,y.Position=os,y.PositioningContainer=ls,y.PrintTemplate=ro,y.Radio=No,y.RichText=Xo,y.Row=jc,y.SCORE_TYPE=ka,y.SUBTABLE_DEFAULT_MAX_HEIGHT=ao,y.Score=lc,y.SearchDateRange=Ec,y.SearchInput=Sc,y.SearchNumberRange=gc,y.Select=Jo,y.SelectMultiple=Yo,y.SelectRelation=Bc,y.SimpleSearch=Ts,y.SubTable=cs,y.SubTableColumn=Gc,y.SubTableRow=Xc,y.SubmissionRecordListButton=mo,y.Tab=Yc,y.TabPane=Zc,y.Text=Wl,y.TextColumn=ys,y.TextOcrButton=Fo,y.Textarea=zo,y.TimescopeColumn=vs,y.TimestampColumn=gs,y.Title=fo,y.TitleConfigEnum=Me,y.Toolbox=ts,y.Tree=Dc,y.UndersignedPerson=Ma,y.VarcharColumn=hs,y.VueFormItem=Ac,y.WPS=kc,y.WPSSetting=uo,y.WpsOperationItem=Na,y.baseControls=sA,y.columnControls=Z_,y.formControls=u_,y.initExpression=Ht,y.layoutControls=$_,y.listControls=U_,y.searchControls=p_,Object.defineProperty(y,"__esModule",{value:!0})});
|