@byteluck-fe/model-driven-controls 2.5.0-alpha.2 → 2.5.0-alpha.4
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/columnControls/ArrayColumn/designer.js +4 -0
- package/dist/esm/columnControls/ArrayColumn/property.js +12 -1
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +4 -0
- package/dist/esm/columnControls/AutoNumberColumn/property.js +25 -1
- package/dist/esm/columnControls/DecimalColumn/designer.js +4 -0
- package/dist/esm/columnControls/DecimalColumn/property.js +12 -1
- package/dist/esm/columnControls/LocationColumn/designer.js +4 -0
- package/dist/esm/columnControls/LocationColumn/property.js +25 -1
- package/dist/esm/columnControls/TextColumn/designer.js +4 -0
- package/dist/esm/columnControls/TextColumn/property.js +13 -2
- package/dist/esm/columnControls/TimescopeColumn/designer.js +4 -0
- package/dist/esm/columnControls/TimescopeColumn/property.js +12 -1
- package/dist/esm/columnControls/TimestampColumn/designer.js +4 -0
- package/dist/esm/columnControls/TimestampColumn/property.js +12 -1
- package/dist/esm/columnControls/VarcharColumn/designer.js +4 -0
- package/dist/esm/columnControls/VarcharColumn/property.js +12 -1
- package/dist/esm/formControls/Tree/property.js +0 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/columnControls/ArrayColumn/property.d.ts +11 -1
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +11 -1
- package/dist/types/columnControls/DecimalColumn/property.d.ts +11 -1
- package/dist/types/columnControls/LocationColumn/property.d.ts +11 -1
- package/dist/types/columnControls/TextColumn/property.d.ts +11 -1
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +11 -1
- package/dist/types/columnControls/TimestampColumn/property.d.ts +11 -1
- package/dist/types/columnControls/VarcharColumn/property.d.ts +11 -1
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var f_=Object.defineProperty,h_=Object.defineProperties;var y_=Object.getOwnPropertyDescriptors;var ts=Object.getOwnPropertySymbols,m_=Object.getPrototypeOf,v_=Object.prototype.hasOwnProperty,g_=Object.prototype.propertyIsEnumerable,b_=Reflect.get;var ns=(h,L,j)=>L in h?f_(h,L,{enumerable:!0,configurable:!0,writable:!0,value:j}):h[L]=j,Ie=(h,L)=>{for(var j in L||(L={}))v_.call(L,j)&&ns(h,j,L[j]);if(ts)for(var j of ts(L))g_.call(L,j)&&ns(h,j,L[j]);return h},Cn=(h,L)=>h_(h,y_(L));var ca=(h,L,j)=>b_(m_(h),j,L);var sa=(h,L,j)=>new Promise((Ki,wn)=>{var zi=ge=>{try{bt(j.next(ge))}catch(_t){wn(_t)}},Gi=ge=>{try{bt(j.throw(ge))}catch(_t){wn(_t)}},bt=ge=>ge.done?Ki(ge.value):Promise.resolve(ge.value).then(zi,Gi);bt((j=j.apply(h,L)).next())});(function(h,L){typeof exports=="object"&&typeof module!="undefined"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(h=typeof globalThis!="undefined"?globalThis:h||self,L(h.modelDrivenControls={}))})(this,function(h){"use strict";var L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ki="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",wn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",zi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Gi="{caption}\u5FC5\u586B",bt="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",_t="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",is="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",us="\u8BF7\u7ED1\u5B9A\u8868\u5355",rs="\u8BF7\u7ED1\u5B9A\u5217\u8868",as="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ls="\u8BF7\u8F93\u5165\u663E\u793A\u503C",os="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",cs="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ss="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ds="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",hs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ys="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ms="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",vs="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",gs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",bs="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",_s="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Es="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Cs="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ws="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Is="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",As="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ss="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Bs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ts="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Rs="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ds="\u8BF7\u7ED1\u5B9A\u670D\u52A1",xs="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ps="\u8BF7\u9009\u62E9\u7701",Fs="\u8BF7\u9009\u62E9\u5E02",ks="\u8BF7\u9009\u62E9\u533A",Os="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ms="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",$s="\u8BF7\u8F93\u5165\u5217\u5BBD",Ns="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ls="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Vs="\u8BF7\u9009\u62E9\u63A7\u4EF6",Hs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",qs="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",js="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Us="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ws="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ks="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",zs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Gs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Xs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Qs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Js="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Zs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ys="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ps="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ed="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",td="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",nd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",id="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ud="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",rd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ad="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ld={isNotNumber:L,isNotString:j,isNotObject:Ki,isNotArray:wn,isNotBoolean:zi,runtimeRequired:Gi,pleaseEnterCaption:bt,pleaseEnterCaptionTip:ge,pleaseEnterPlaceholder:_t,pleaseEnterFieldCode:is,pleaseEnterForm:us,pleaseEnterList:rs,pleaseEnterProcess:as,pleaseEnterLabel:ls,pleaseEnterValue:os,bizKeyNotBindFiled:cs,pleaseSelectOneField:ss,pleaseEnterNumberRange:ds,pleaseEnterAValueGreaterThanMin:fs,pleaseEnterAValueLessThanMax:hs,numberRangeSetError:ys,stringRangeError:ms,attachmentMaxSize:vs,pleaseEnterTotalScoreSetting:gs,theTotalScoreMustNotBeLessThan1:bs,scoreDefaultValueRange:_s,attachmentLimitError:Es,PleaseReselectTheOptionalQuantity:Cs,TheMaximumLengthIsGreaterThanTheMinimumLength:ws,TheMinimumLengthIsGreaterThanTheMaximumLength:Is,PleaseSelectTheCorrectOptionSettings:As,optionIdIsRepeat:Ss,optionIsRequired:Bs,pleaseEnterDataCode:Ts,pleaseEnterValueFieldCode:Rs,pleaseEnterSvcCode:Ds,pleaseBindAtLeastOneDisplayValue:xs,pleaseSelectProvince:Ps,pleaseSelectCity:Fs,pleaseSelectDistrict:ks,limitRowsCannotBeLessThan0:Os,TheNumberOfRowsCannotBeLessThanMinRows:Ms,pleaseEnterColumnWidth:$s,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ns,pleaseCompleteAllRulesAndConditions:Ls,pleaseSelectControl:Vs,pleaseSelectAtLeastOneColumn:Hs,pleaseSelectFillBackMode:qs,pleaseSelectDashboard:js,rootNodeIsRequired:Us,theViewNameCannotBeEmpty:Ws,pleaseSelectOcrType:Ks,pleaseSelectAtLeastOneFieldToFillIn:zs,pleaseChooseAtLeastOne:Gs,pleaseEnterButtonContent:Xs,pleaseEnterDataCodeInDataSetting:Qs,pleaseEnterValueFieldCodeInDataSetting:Js,pleaseEnterSvcCodeInDataSetting:Zs,pleaseBindAtLeastOneDisplayValueInDataSetting:Ys,rootNodeIsRequiredInDataSetting:ps,pleaseEnterMaxHeight:ed,pleaseEnter:td,pleaseEnterWatermark:nd,pleaseEnterFileName:id,pleaseUploadAtLeastOnePrintTemplate:ud,pleaseAssignBusiness:rd,pleaseAssignExternal:ad},od="Please enter a number",cd="Please enter a string",sd="Please enter an object",dd="Please enter an array",fd="Please enter a boolean",hd="{caption} Required",yd="Please enter the title",md="Please enter the bubble prompt",vd="Please enter the prompt text",gd="Please bind data items",bd="Please bind the form",_d="Please bind the list",Ed="Please bind the process",Cd="Please enter the displayed value",wd="Please enter the stored value",Id="The document number is not bound to the data item",Ad="Please select at least one display field",Sd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Bd="Please enter a value greater than or equal to {min}",Td="Please enter a value less than or equal to {max}",Rd="The value range is set incorrectly",Dd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",xd="The attachment size must be between 0MB and 1000MB",Pd="Please fill in the total score setting",Fd="The total score cannot be less than 1",kd="The default value must be between {min} and {max}",Od="The number of attachments uploaded must be between {min} and {max}",Md="Please re-select the optional quantity",$d="The maximum length of the control must be greater than the minimum length",Nd="The minimum length of the control must be less than the maximum length",Ld="Please select the correct option setting",Vd="Option ID cannot be repeated",Hd="Please enter at least one option",qd="Please bind the data source",jd="Please bind the stored value",Ud="Please bind the service",Wd="At least one display value must be bound",Kd="Please select a province",zd="Please select a city",Gd="Please select a district",Xd="The minimum number of lines to fill in cannot be less than 0",Qd="The number of rows cannot be less than {min} rows",Jd="Please enter the column width",Zd="Please set the logical relationship of all rule conditions",Yd="Please complete all rules and conditions",pd="please select control",ef="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",tf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",uf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",rf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",af="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",of="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",cf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",df="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ff="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",hf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",yf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",mf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",vf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",gf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",bf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_f={isNotNumber:od,isNotString:cd,isNotObject:sd,isNotArray:dd,isNotBoolean:fd,runtimeRequired:hd,pleaseEnterCaption:yd,pleaseEnterCaptionTip:md,pleaseEnterPlaceholder:vd,pleaseEnterFieldCode:gd,pleaseEnterForm:bd,pleaseEnterList:_d,pleaseEnterProcess:Ed,pleaseEnterLabel:Cd,pleaseEnterValue:wd,bizKeyNotBindFiled:Id,pleaseSelectOneField:Ad,pleaseEnterNumberRange:Sd,pleaseEnterAValueGreaterThanMin:Bd,pleaseEnterAValueLessThanMax:Td,numberRangeSetError:Rd,stringRangeError:Dd,attachmentMaxSize:xd,pleaseEnterTotalScoreSetting:Pd,theTotalScoreMustNotBeLessThan1:Fd,scoreDefaultValueRange:kd,attachmentLimitError:Od,PleaseReselectTheOptionalQuantity:Md,TheMaximumLengthIsGreaterThanTheMinimumLength:$d,TheMinimumLengthIsGreaterThanTheMaximumLength:Nd,PleaseSelectTheCorrectOptionSettings:Ld,optionIdIsRepeat:Vd,optionIsRequired:Hd,pleaseEnterDataCode:qd,pleaseEnterValueFieldCode:jd,pleaseEnterSvcCode:Ud,pleaseBindAtLeastOneDisplayValue:Wd,pleaseSelectProvince:Kd,pleaseSelectCity:zd,pleaseSelectDistrict:Gd,limitRowsCannotBeLessThan0:Xd,TheNumberOfRowsCannotBeLessThanMinRows:Qd,pleaseEnterColumnWidth:Jd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Zd,pleaseCompleteAllRulesAndConditions:Yd,pleaseSelectControl:pd,pleaseSelectDashboard:ef,theViewNameCannotBeEmpty:tf,pleaseSelectOcrType:nf,pleaseSelectAtLeastOneFieldToFillIn:uf,pleaseChooseAtLeastOne:rf,pleaseEnterButtonContent:af,pleaseEnterDataCodeInDataSetting:lf,pleaseEnterValueFieldCodeInDataSetting:of,pleaseEnterSvcCodeInDataSetting:cf,pleaseBindAtLeastOneDisplayValueInDataSetting:sf,rootNodeIsRequiredInDataSetting:df,pleaseEnterMaxHeight:ff,pleaseEnter:hf,pleaseEnterWatermark:yf,pleaseEnterFileName:mf,pleaseUploadAtLeastOnePrintTemplate:vf,pleaseAssignBusiness:gf,pleaseAssignExternal:bf},Ef="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",If="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Af="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="{caption}\u5FC5\u9808",Bf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Of="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$f="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",qf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Uf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Wf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Kf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",zf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Gf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xf="\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",Qf="\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",Jf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Yf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",th="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ih="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",uh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ah="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",lh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",oh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ch="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",sh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",dh="please select control",fh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",hh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",yh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",mh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",vh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",gh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",_h="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ch="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",wh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ih="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ah="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Sh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Bh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Th="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Rh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Dh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",xh={isNotNumber:Ef,isNotString:Cf,isNotObject:wf,isNotArray:If,isNotBoolean:Af,runtimeRequired:Sf,pleaseEnterCaption:Bf,pleaseEnterCaptionTip:Tf,pleaseEnterPlaceholder:Rf,pleaseEnterFieldCode:Df,pleaseEnterForm:xf,pleaseEnterList:Pf,pleaseEnterProcess:Ff,pleaseEnterLabel:kf,pleaseEnterValue:Of,bizKeyNotBindFiled:Mf,pleaseSelectOneField:$f,pleaseEnterNumberRange:Nf,pleaseEnterAValueGreaterThanMin:Lf,pleaseEnterAValueLessThanMax:Vf,numberRangeSetError:Hf,stringRangeError:qf,attachmentMaxSize:jf,pleaseEnterTotalScoreSetting:Uf,theTotalScoreMustNotBeLessThan1:Wf,scoreDefaultValueRange:Kf,attachmentLimitError:zf,PleaseReselectTheOptionalQuantity:Gf,TheMaximumLengthIsGreaterThanTheMinimumLength:Xf,TheMinimumLengthIsGreaterThanTheMaximumLength:Qf,PleaseSelectTheCorrectOptionSettings:Jf,optionIdIsRepeat:Zf,optionIsRequired:Yf,pleaseEnterDataCode:pf,pleaseEnterValueFieldCode:eh,pleaseEnterSvcCode:th,pleaseBindAtLeastOneDisplayValue:nh,pleaseSelectProvince:ih,pleaseSelectCity:uh,pleaseSelectDistrict:rh,limitRowsCannotBeLessThan0:ah,TheNumberOfRowsCannotBeLessThanMinRows:lh,pleaseEnterColumnWidth:oh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ch,pleaseCompleteAllRulesAndConditions:sh,pleaseSelectControl:dh,pleaseSelectDashboard:fh,theViewNameCannotBeEmpty:hh,pleaseSelectOcrType:yh,pleaseSelectAtLeastOneFieldToFillIn:mh,pleaseChooseAtLeastOne:vh,pleaseEnterButtonContent:gh,pleaseEnterDataCodeInDataSetting:bh,pleaseEnterValueFieldCodeInDataSetting:_h,pleaseEnterSvcCodeInDataSetting:Eh,pleaseBindAtLeastOneDisplayValueInDataSetting:Ch,rootNodeIsRequiredInDataSetting:wh,pleaseEnterMaxHeight:Ih,pleaseEnter:Ah,pleaseEnterWatermark:Sh,pleaseEnterFileName:Bh,pleaseUploadAtLeastOnePrintTemplate:Th,pleaseAssignBusiness:Rh,pleaseAssignExternal:Dh},Ph={zhCN:ld,enUS:_f,jaJP:xh},da;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(da||(da={}));var fa;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(fa||(fa={}));var Fh="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 tt;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(tt||(tt={}));var E;(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"})(E||(E={}));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 ee;ee={},re(ee,v.ARRAY,E.ARRAY_COLUMN),re(ee,v.AUTO_NUMBER,E.AUTO_NUMBER_COLUMN),re(ee,v.DECIMAL,E.DECIMAL_COLUMN),re(ee,v.DEPARTMENTS,E.DEPARTMENT_COLUMN),re(ee,v.FILE,E.FILE_COLUMN),re(ee,v.IMAGE,E.IMAGE_COLUMN),re(ee,v.ADDRESS,E.LOCATION_COLUMN),re(ee,v.EMPLOYEES,E.EMPLOYEE_COLUMN),re(ee,v.TEXT,E.TEXT_COLUMN),re(ee,v.TIMESCOPE,E.TIMESCOPE_COLUMN),re(ee,v.TIMESTAMP,E.TIMESTAMP_COLUMN),re(ee,v.VARCHAR,E.VARCHAR_COLUMN),re(ee,v.RELATION,E.VARCHAR_COLUMN);var Ae;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(Ae||(Ae={}));var ha="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",kh=ha+"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?ha:kh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Xi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Oh(t){if(Array.isArray(t))return Xi(t)}function Mh(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 In(t,e,n){return ga()?In=Reflect.construct:In=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&Ct(o,a.prototype),o},In.apply(null,arguments)}function Et(t){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Et(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&&Ct(t,e)}function $h(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Nh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Lh(){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 Vh(t,e){return e&&(Hh(e)==="object"||typeof e=="function")?e:Mh(t)}function Ct(t,e){return Ct=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ct(t,e)}function va(t){return Oh(t)||Nh(t)||qh(t)||Lh()}function Hh(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qh(t,e){if(!!t){if(typeof t=="string")return Xi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xi(t,e)}}function Qi(t){var e=typeof Map=="function"?new Map:void 0;return Qi=function(i){if(i===null||!$h(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 In(i,arguments,Et(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ct(u,i)},Qi(t)}function ga(){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 ba(t){var e=ga();return function(){var i=Et(t),u;if(e){var r=Et(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Vh(this,u)}}var Ji=console;function Zi(){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=Ji).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(va(u)))}function _a(){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=Ji).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(va(u)))}function jh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Yi=function(t){ma(n,t);var e=ba(n);function n(i){ya(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}(Qi(Error)),Uh=function(t){ma(n,t);var e=ba(n);function n(i){ya(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Yi);function wt(t){throw new Yi(t)}function Ea(t){throw new Uh(t)}function Wh(t){Ji.error(new Yi(t))}var Kh=Object.prototype.toString;function Ca(t,e){return Kh.call(t)==="[object "+e+"]"}function zh(t){return Ca(t,"String")}function Gh(t){return Ca(t,"Promise")}var Xh=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();Gh(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,r,a,l){if(u!==void 0){var s=u[r];if(!(a===l.length-1&&!zh(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var r=n[u];return r!==void 0?String(r):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Qh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wa(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 Jh(t,e,n){return e&&wa(t.prototype,e),n&&wa(t,n),t}function Zh(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(){Qh(this,t)}return Jh(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]:Fh;return new Xh({locale:n,messages:Ph})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();Zh(d,"$i18n",d.resetI18n());function Yh(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,a){return"."+a}).split("."),u=!1;return i.reduce(function(r,a,l,s){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,a)){Zi("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),r,r);return}return l===s.length-1&&!Object.is(o[a],n)&&(o[a]=n,u=!0),o[a]}},t),u}var ph=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ey={exports:{}};(function(t){(function(e){var n=function(y,w,x){if(!o(w)||g(w)||b(w)||C(w)||s(w))return w;var F,N=0,ce=0;if(f(w))for(F=[],ce=w.length;N<ce;N++)F.push(n(y,w[N],x));else{F={};for(var P in w)Object.prototype.hasOwnProperty.call(w,P)&&(F[y(P,x)]=n(y,w[P],x))}return F},i=function(y,w){w=w||{};var x=w.separator||"_",F=w.split||/(?=[A-Z])/;return y.split(F).join(x)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(w,x){return x?x.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var w=u(y);return w.substr(0,1).toUpperCase()+w.substr(1)},a=function(y,w){return i(y,w).toLowerCase()},l=Object.prototype.toString,s=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},g=function(y){return l.call(y)=="[object Date]"},b=function(y){return l.call(y)=="[object RegExp]"},C=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},_=function(y,w){var x=w&&"process"in w?w.process:w;return typeof x!="function"?y:function(F,N){return x(F,y,N)}},A={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(y,w){return n(_(u,w),y)},decamelizeKeys:function(y,w){return n(_(a,w),y,w)},pascalizeKeys:function(y,w){return n(_(r,w),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=A:e.humps=A})(ph)})(ey);var Ia={};Object.defineProperty(Ia,"__esModule",{value:!0});function pi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:pi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:pi(i)}return e}}var ty=Ia.default=pi;function Se(t){if(t!==void 0)return typeof t=="object"?ty(t):t}function ny(t){return Object.prototype.toString.call(t)==="[object Object]"}function eu(t){return Array.isArray(t)}function iy(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function uy(t){if(Array.isArray(t))return tu(t)}function Aa(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ry(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Aa(r,i,u,a,l,"next",s)}function l(s){Aa(r,i,u,a,l,"throw",s)}a(void 0)})}}function ay(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sa(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 ly(t,e,n){return e&&Sa(t.prototype,e),n&&Sa(t,n),t}function Ba(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cy(){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 nu(t){return uy(t)||oy(t)||sy(t)||cy()}function sy(t,e){if(!!t){if(typeof t=="string")return tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tu(t,e)}}var dy=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(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}}},fy=function(){function t(){ay(this,t),Ba(this,"_events",new Map),Ba(this,"debug",!1)}return ly(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),r=1;r<i;r++)u[r-1]=arguments[r];var a=this;return ry(function(){var l,s,o,f,g,b,C,I,_,A,y,w;return dy(this,function(x){switch(x.label){case 0:if(l=a._events.get(n),s=[],!l)return[3,10];o=l.slice(),f=!0,g=!1,b=void 0,x.label=1;case 1:x.trys.push([1,8,9,10]),C=o[Symbol.iterator](),x.label=2;case 2:if(f=(I=C.next()).done)return[3,7];if(_=I.value,!l.includes(_))return[3,6];x.label=3;case 3:return x.trys.push([3,5,,6]),a.debug&&_a.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(nu(u))),[4,_.apply(null,nu(u))];case 4:return A=x.sent(),a.debug&&_a.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(nu(u),[A])),s.push(A),A===!1?[3,7]:[3,6];case 5:return y=x.sent(),Wh(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return w=x.sent(),g=!0,b=w,[3,10];case 9:try{!f&&C.return!=null&&C.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),r=u==null?void 0:u.indexOf(i);u==null||u.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function hy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ta(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function yy(t,e,n){return e&&Ta(t.prototype,e),n&&Ta(t,n),t}function my(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vy=[{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"}],gy=function(){function t(){hy(this,t)}return yy(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}();my(gy,"events",vy);function by(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ra(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _y(t,e,n){return e&&Ra(t.prototype,e),n&&Ra(t,n),t}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Da=[],iu=function(){function t(e){by(this,t),Oe(this,"registeredControlTypes",new Set),Oe(this,"controlConfigMap",new Map),Oe(this,"_controls",[]),Oe(this,"_type",void 0),this._type=e,this._initControls(e)}return _y(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__||wt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Zi("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===tt.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===tt.FORM}},{key:"isListControl",value:function(n){return n.controlType===tt.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===tt.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 r=this.getControlFormType(n.type);if(r){var a=n;if(typeof i=="function"){var l=i(a);l&&(a=l)}var s=new r(a);return s}else wt("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__)&&wt("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(a){return a.Designer.controlType===i.controlType});return r>-1&&(Zi("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();Oe(iu,"staticControls",Da),Oe(iu,"staticRegisteredTypes",new Set(Da.map(function(t){return t.Designer.controlType}))),Oe(iu,"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 S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(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&&uu(t,e)}function xa(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ey(t,e){return e&&(Cy(e)==="object"||typeof e=="function")?e:H(t)}function uu(t,e){return uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},uu(t,e)}function Cy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wy(){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=wy();return function(){var i=An(t),u;if(e){var r=An(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ey(this,u)}}var fe=function t(e){S(this,t),m(this,"dataCode",void 0),m(this,"fieldCode",void 0),m(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:""},Pa=function t(e){S(this,t),m(this,"minWidth",void 0),m(this,"maxWidth",void 0),m(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},ru=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;u=e.call(this,i),m(H(u),"width",void 0),m(H(u),"widthType",void 0);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:240;var a;return u.widthType=(a=i==null?void 0:i.widthType)!==null&&a!==void 0?a:"auto",u}return n}(Pa),Iy=function t(e){S(this,t),m(this,"pc",void 0),m(this,"mobile",void 0),this.pc=new ru(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ru(e==null?void 0:e.mobile):new ru({width:130,minWidth:180})},Ay=function t(e){S(this,t),m(this,"type",void 0),m(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:[]},au=function t(e){S(this,t),m(this,"dataCode",void 0),m(this,"formKey",void 0),m(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:""},Sy=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;u=e.call(this,i),m(H(u),"primaryControlId",void 0);var r;return u.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",u}return n}(au),Fa=function t(e){S(this,t),m(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},ka=function t(e){S(this,t);var n;m(this,"appId",void 0),m(this,"formKey",void 0),m(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 r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Fa(a)}))!==null&&r!==void 0?r:[]},By=function t(e){S(this,t),m(this,"fieldName",void 0),m(this,"fieldCode",void 0),m(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},Ty=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;u=e.call(this,i),m(H(u),"title",void 0),m(H(u),"svcCode",void 0),m(H(u),"isOpenFilter",void 0),m(H(u),"filters",void 0);var r;u.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var a;u.svcCode=(a=i==null?void 0:i.svcCode)!==null&&a!==void 0?a:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(au),Ry=function t(e){S(this,t);var n,i;m(this,"type","sublist-page"),m(this,"formBind",void 0),m(this,"displayFields",void 0),m(this,"sublists",void 0),this.formBind=new au(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(a){return new By(a)}))!==null&&u!==void 0?u:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(a){return new Ty(a)}))!==null&&r!==void 0?r:[]},Dy=function t(e){S(this,t),m(this,"type",void 0),m(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},It=function t(e){S(this,t),m(this,"type",void 0),m(this,"value",void 0),m(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:[]},xy=function t(e){var n=this;S(this,t),m(this,"id",void 0),m(this,"ruleId",void 0),m(this,"type","conditions"),m(this,"level",void 0),m(this,"value",void 0),m(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 r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var f,g=new Oa(l);(f=n.children)===null||f===void 0||f.push(g)}}))},Oa=function t(e){S(this,t),m(this,"id",void 0),m(this,"ruleId",void 0),m(this,"type","condition"),m(this,"symbol",void 0),m(this,"checked",void 0),m(this,"describe",void 0),m(this,"leftVariableBo",void 0),m(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 r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var a;this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Dy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new It(e==null?void 0:e.rightVariableBo)},ae=function t(e){S(this,t),m(this,"controlId",void 0),m(this,"fieldCode",void 0),m(this,"fieldType",void 0),m(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 r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},lu=function t(e){S(this,t),m(this,"type",void 0),m(this,"value",void 0),m(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},Py=function t(e){S(this,t),m(this,"columnName",void 0),m(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;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new xy(r):new Oa(r)}))!==null&&n!==void 0?n:[],xa(this,te)||xa(this,cu)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Py(r)}))!==null&&u!==void 0?u:[]}}var te=function t(e){var n=this;S(this,t),m(this,"dataCode",void 0),m(this,"valueFieldCode",void 0),m(this,"displayBoList",void 0),m(this,"svcCode",void 0),m(this,"appId",void 0),m(this,"filters",void 0),m(this,"orders",void 0),m(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 r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var o;(o=n.displayBoList)===null||o===void 0||o.push(new lu(s))}));var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",ou.call(this,e)},Fy=function t(e){S(this,t);var n;m(this,"name",void 0),m(this,"key",void 0),m(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 r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(a){return new lu(a)}))!==null&&r!==void 0?r:[]},Sn=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u,r;u=e.call(this,i),m(H(u),"attributes",void 0);var a;return u.attributes=(a=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new Fy(l)}))!==null&&a!==void 0?a:[],u}return n}(te),ky=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this,i),m(H(u),"rootNode",void 0),u.rootNode=new It(i==null?void 0:i.rootNode),u}return n}(Sn),Ma=function t(e){S(this,t);var n;m(this,"dataCode",void 0),m(this,"appId",void 0),m(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 r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(a){return new ae(a)}))!==null&&r!==void 0?r:[]},cu=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this,i),m(H(u),"filters",void 0),m(H(u),"orders",void 0),ou.call(H(u),i),u}return n}(Ma),$a=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;u=e.call(this,i),m(H(u),"mode",void 0),m(H(u),"multiple",void 0);var r;u.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var a;return u.multiple=(a=i==null?void 0:i.multiple)!==null&&a!==void 0?a:!1,u}return n}(Ma),Na=function t(e){S(this,t),m(this,"stencilName",void 0),m(this,"expression",void 0),m(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:""},Oy=function t(e){S(this,t),m(this,"id",void 0),m(this,"label",void 0),m(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 _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new Oy(n)}))!==null&&e!==void 0?e:[]}var su=function t(){S(this,t)},My=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this),m(H(u),"amount",void 0),m(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),$y=function t(e){S(this,t),m(this,"amount",void 0),m(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:Bn.CNY},Ny=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this),m(H(u),"min",void 0),m(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),Ly=function t(e){S(this,t),m(this,"min",void 0),m(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:""},Vy=function t(e){S(this,t),m(this,"city",void 0),m(this,"cityDisplay",void 0),m(this,"district",void 0),m(this,"districtDisplay",void 0),m(this,"province",void 0),m(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 r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var a;this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Hy=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this),m(H(u),"result",void 0),m(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),qy=function t(e){S(this,t),m(this,"result",void 0),m(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:""},Bn;(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"})(Bn||(Bn={}));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 du;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(du||(du={}));var Be=function t(e){S(this,t),m(this,"isShow",void 0),m(this,"priorityProcess",void 0),m(this,"formKey",void 0),m(this,"content",void 0),m(this,"openType",void 0),m(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 r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var a;this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},jy=function t(e){S(this,t);var n;m(this,"id",void 0),m(this,"title",void 0),m(this,"filters",void 0),m(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 r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Fa(a)}))!==null&&r!==void 0?r:[],ou.call(this,e)},Uy=function t(e){S(this,t),m(this,"width",void 0),m(this,"height",void 0),m(this,"widthConfig",void 0),m(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 r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function Wy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t,e,n){return La()?Tn=Reflect.construct:Tn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&St(o,a.prototype),o},Tn.apply(null,arguments)}function Me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function At(t){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},At(t)}function Ky(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&St(t,e)}function zy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gy(t,e){return e&&(Xy(e)==="object"||typeof e=="function")?e:Wy(t)}function St(t,e){return St=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},St(t,e)}function Xy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hu(t){var e=typeof Map=="function"?new Map:void 0;return hu=function(i){if(i===null||!zy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Tn(i,arguments,At(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),St(u,i)},hu(t)}function La(){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 Qy(t){var e=La();return function(){var i=At(t),u;if(e){var r=At(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Gy(this,u)}}var U=function t(e){fu(this,t),Me(this,"isHide",{type:"boolean"})},$e=function(t){Ky(n,t);var e=Qy(n);function n(i){return fu(this,n),e.call(this)}return n}(hu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";fu(this,t),Me(this,"isHide",void 0),Me(this,"className",void 0),Me(this,"style",void 0),Me(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Uy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Me(G,"Rules",U),Me(G,"RuntimeRules",$e);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 Jy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function yu(t){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(t)}function Rn(t,e){return Rn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Rn(t,e)}function Zy(){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 Dn(t,e,n){return Zy()?Dn=Reflect.construct:Dn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&Rn(o,a.prototype),o},Dn.apply(null,arguments)}function Yy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function mu(t){var e=typeof Map=="function"?new Map:void 0;return mu=function(i){if(i===null||!Yy(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 Dn(i,arguments,yu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Rn(u,i)},mu(t)}var py=/%[sdj%]/g,Va=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Va=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function vu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function 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],r=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(py,function(l){if(l==="%%")return"%";if(i>=r)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return a}return u}function em(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||em(e)&&typeof t=="string"&&!t)}function tm(t,e,n){var i=[],u=0,r=t.length;function a(l){i.push.apply(i,l),u++,u===r&&n(i)}t.forEach(function(l){e(l,a)})}function Ha(t,e,n){var i=0,u=t.length;function r(a){if(a&&a.length){n(a);return}var l=i;i=i+1,l<u?e(t[l],r):n([])}r([])}function nm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var qa=function(t){Jy(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}(mu(Error));function im(t,e,n,i){if(e.first){var u=new Promise(function(g,b){var C=function(A){return i(A),A.length?b(new qa(A,vu(A))):g()},I=nm(t);Ha(I,n,C)});return u.catch(function(g){return g}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,s=0,o=[],f=new Promise(function(g,b){var C=function(_){if(o.push.apply(o,_),s++,s===l)return i(o),o.length?b(new qa(o,vu(o))):g()};a.length||(i(o),g()),a.forEach(function(I){var _=t[I];r.indexOf(I)!==-1?Ha(_,n,C):tm(_,n,C)})});return f.catch(function(g){return g}),f}function ja(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 Ua(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 Wa(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||W(e,r||t.type))&&i.push(le(u.messages.required,t.fullField))}function um(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var gu={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},Bt={integer:function(e){return Bt.number(e)&&parseInt(e,10)===e},float:function(e){return Bt.number(e)&&!Bt.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"&&!Bt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(gu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(gu.url)},hex:function(e){return typeof e=="string"&&!!e.match(gu.hex)}};function rm(t,e,n,i,u){if(t.required&&e===void 0){Wa(t,e,n,i,u);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;r.indexOf(a)>-1?Bt[a](e)||i.push(le(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(le(u.messages.types[a],t.fullField,t.type))}function am(t,e,n,i,u){var r=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,f=null,g=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(g?f="number":b?f="string":C&&(f="array"),!f)return!1;C&&(o=e.length),b&&(o=e.replace(s,"_").length),r?o!==t.len&&i.push(le(u.messages[f].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(le(u.messages[f].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(le(u.messages[f].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[f].range,t.fullField,t.min,t.max))}var nt="enum";function lm(t,e,n,i,u){t[nt]=Array.isArray(t[nt])?t[nt]:[],t[nt].indexOf(e)===-1&&i.push(le(u.messages[nt],t.fullField,t[nt].join(", ")))}function om(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 r=new RegExp(t.pattern);r.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var B={required:Wa,whitespace:um,type:rm,range:am,enum:lm,pattern:om};function cm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"string")&&!t.required)return n();B.required(t,e,i,r,u,"string"),W(e,"string")||(B.type(t,e,i,r,u),B.range(t,e,i,r,u),B.pattern(t,e,i,r,u),t.whitespace===!0&&B.whitespace(t,e,i,r,u))}n(r)}function sm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();B.required(t,e,i,r,u),e!==void 0&&B.type(t,e,i,r,u)}n(r)}function dm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),W(e)&&!t.required)return n();B.required(t,e,i,r,u),e!==void 0&&(B.type(t,e,i,r,u),B.range(t,e,i,r,u))}n(r)}function fm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();B.required(t,e,i,r,u),e!==void 0&&B.type(t,e,i,r,u)}n(r)}function hm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();B.required(t,e,i,r,u),W(e)||B.type(t,e,i,r,u)}n(r)}function ym(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();B.required(t,e,i,r,u),e!==void 0&&(B.type(t,e,i,r,u),B.range(t,e,i,r,u))}n(r)}function mm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();B.required(t,e,i,r,u),e!==void 0&&(B.type(t,e,i,r,u),B.range(t,e,i,r,u))}n(r)}function vm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();B.required(t,e,i,r,u,"array"),e!=null&&(B.type(t,e,i,r,u),B.range(t,e,i,r,u))}n(r)}function gm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();B.required(t,e,i,r,u),e!==void 0&&B.type(t,e,i,r,u)}n(r)}var bm="enum";function _m(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();B.required(t,e,i,r,u),e!==void 0&&B[bm](t,e,i,r,u)}n(r)}function Em(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"string")&&!t.required)return n();B.required(t,e,i,r,u),W(e,"string")||B.pattern(t,e,i,r,u)}n(r)}function Cm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"date")&&!t.required)return n();if(B.required(t,e,i,r,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),B.type(t,l,i,r,u),l&&B.range(t,l.getTime(),i,r,u)}}n(r)}function wm(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;B.required(t,e,i,r,u,a),n(r)}function bu(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(W(e,r)&&!t.required)return n();B.required(t,e,i,a,u,r),W(e,r)||B.type(t,e,i,a,u)}n(a)}function Im(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();B.required(t,e,i,r,u)}n(r)}var Tt={string:cm,method:sm,number:dm,boolean:fm,regexp:hm,integer:ym,float:mm,array:vm,object:gm,enum:_m,pattern:Em,date:Cm,url:bu,hex:bu,email:bu,required:wm,any:Im};function _u(){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 Eu=_u();function Te(t){this.rules=null,this._messages=Eu,this.define(t)}Te.prototype={messages:function(e){return e&&(this._messages=Ua(_u(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,a=n,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(_){var A,y=[],w={};function x(F){if(Array.isArray(F)){var N;y=(N=y).concat.apply(N,F)}else y.push(F)}for(A=0;A<_.length;A++)x(_[A]);y.length?w=vu(y):(y=null,w=null),l(y,w)}if(a.messages){var o=this.messages();o===Eu&&(o=_u()),Ua(o,a.messages),a.messages=o}else a.messages=this.messages();var f,g,b={},C=a.keys||Object.keys(this.rules);C.forEach(function(_){f=u.rules[_],g=r[_],f.forEach(function(A){var y=A;typeof y.transform=="function"&&(r===e&&(r=ve({},r)),g=r[_]=y.transform(g)),typeof y=="function"?y={validator:y}:y=ve({},y),y.validator=u.getValidationMethod(y),y.field=_,y.fullField=y.fullField||_,y.type=u.getType(y),y.validator&&(b[_]=b[_]||[],b[_].push({rule:y,value:g,source:r,field:_}))})});var I={};return im(b,a,function(_,A){var y=_.rule,w=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");w=w&&(y.required||!y.required&&_.value),y.field=_.field;function x(ce,P){return ve(ve({},P),{},{fullField:y.fullField+"."+ce})}function F(ce){ce===void 0&&(ce=[]);var P=ce;if(Array.isArray(P)||(P=[P]),!a.suppressWarning&&P.length&&Te.warning("async-validator:",P),P.length&&y.message!==void 0&&(P=[].concat(y.message)),P=P.map(ja(y)),a.first&&P.length)return I[y.field]=1,A(P);if(!w)A(P);else{if(y.required&&!_.value)return y.message!==void 0?P=[].concat(y.message).map(ja(y)):a.error&&(P=[a.error(y,le(a.messages.required,y.field))]),A(P);var se={};if(y.defaultField)for(var En in _.value)_.value.hasOwnProperty(En)&&(se[En]=y.defaultField);se=ve(ve({},se),_.rule.fields);for(var we in se)if(se.hasOwnProperty(we)){var d_=Array.isArray(se[we])?se[we]:[se[we]];se[we]=d_.map(x.bind(null,we))}var es=new Te(se);es.messages(a.messages),_.rule.options&&(_.rule.options.messages=a.messages,_.rule.options.error=a.error),es.validate(_.value,_.rule.options||a,function(oa){var gt=[];P&&P.length&>.push.apply(gt,P),oa&&oa.length&>.push.apply(gt,oa),A(gt.length?gt:null)})}}var N;y.asyncValidator?N=y.asyncValidator(y,_.value,F,_.source,a):y.validator&&(N=y.validator(y,_.value,F,_.source,a),N===!0?F():N===!1?F(y.message||y.field+" fails"):N instanceof Array?F(N):N instanceof Error&&F(N.message)),N&&N.then&&N.then(function(){return F()},function(ce){return F(ce)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Tt.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"?Tt.required:Tt[this.getType(e)]||!1}},Te.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Tt[e]=n},Te.warning=Va,Te.messages=Eu,Te.validators=Tt;var Am={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Sm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Te(t);return n.messages(Object.assign(Am,e)),n}var Bm=new fy;function Cu(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 Tm(t){if(Array.isArray(t))return t}function Rm(t){if(Array.isArray(t))return Cu(t)}function Ka(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function za(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Ka(r,i,u,a,l,"next",s)}function l(s){Ka(r,i,u,a,l,"throw",s)}a(void 0)})}}function Dm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ga(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function xm(t,e,n){return e&&Ga(t.prototype,e),n&&Ga(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 Xa(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Qa(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Pm(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ja(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 km(t){return Tm(t)||Qa(t)||Za(t)||Pm()}function wu(t){return Rm(t)||Qa(t)||Za(t)||Fm()}function Za(t,e){if(!!t){if(typeof t=="string")return Cu(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 Cu(t,e)}}var Ya=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(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}}},O=function(){function e(n){var i=this;Dm(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",el),k(this,"removeSetting",pa),this._callControlHooks("preInstance",n);var u=Xa(this,e)?this.constructor:void 0,r=u.controlName,a=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,f=u.controlCustomEvents,g=u.name,b=u.setting;r&&a&&l||Ea("The ".concat(g," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:be(10),this.name=r,this.icon=a;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,(Xa(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Se(b);var A;this.fieldType=(A=n==null?void 0:n.fieldType)!==null&&A!==void 0?A:s,this.eventKeys=Se(o),this.customEvents=Se(f),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return xm(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),r=0;r<i;r++)u[r]=arguments[r];var a,l=km(u),s=l[0],o=l.slice(1);return(a=Bm).emit.apply(a,[s,this].concat(wu(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),Yh(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return za(function(){var u,r,a;return Ya(this,function(l){switch(l.label){case 0:return u=Ja({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return r=l.sent(),a=r[r.length-1],[2,a===!1?void 0:a]}})})()}},{key:"validate",value:function(i,u){var r=this;return za(function(){var a,l,s,o;return Ya(this,function(f){switch(f.label){case 0:return[4,r.preValidate()];case 1:a=f.sent(),l=a!==void 0?a:Ja({},r.rules),Array.isArray(u)&&u.forEach(function(g){l.hasOwnProperty(g)&&delete l[g]}),s=Sm(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(r.props)];case 3:return f.sent(),[2,!0];case 4:throw o=f.sent(),o.control||(o.control=r),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,r=this.id,a=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,f=l.optionConfig,g=l.caption,b=l.required,C=l.maxLength,I=l.options,_=l.encrypted,A=l.encryptedMode;if(!(!u&&!s&&!o)){var y={parentId:i,fieldType:u,controlId:r,caption:g,type:a,props:{}};switch(s&&(y.dataBind=s),f){case"datasource":case void 0:o&&(y.datasourceBind=o);break;case"custom":y.props.options=I;break}return b!==void 0&&(y.required=b),C!==void 0&&(y.maxLength=C),_!==void 0&&(y.encrypted=_),A!==void 0&&(y.encryptedMode=A),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Se(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var r;(r=this.setting).push.apply(r,wu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();k(O,"controlName","\u63A7\u4EF6"),k(O,"controlIcon","icon"),k(O,"controlType","control"),k(O,"controlFieldType",void 0),k(O,"controlEventKeys",[]),k(O,"controlCustomEvents",[]),k(O,"setting",[]),k(O,"__is_control__",!0),k(O,"removeSettingItem",pa),k(O,"updateSettingItem",el);function pa(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",r=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(r!==-1){var a,l;u?e.setting[r].showItems=(a=e.setting[r].showItems)===null||a===void 0?void 0:a.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(r,1),u&&!(!((l=e.setting[r].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(r,1)}})}function el(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var r=n.setting.find(function(o){return o.key===u});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var a,l=(a=e.type)!==null&&a!==void 0?a:"replace";if(l==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,wu(e.showItems))}}}})}function Om(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Mm(t,e,n){return e&&tl(t.prototype,e),n&&tl(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 $m(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Om(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=$m(this,e)?this.constructor:void 0,u=i.controlType,r=i.controlFieldType,a=i.name,l=i.controlCustomEvents;u||Ea("The ".concat(a," 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:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:du.UNKNOWN}return Mm(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 Iu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var r=i.map(function(l){return l.value}),a=iy(r);r.length!==a.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Au(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,r,a){r.length===0&&a(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function M(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $(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 Fn(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&&Su(t,e)}function Nm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Lm(t,e){return e&&(Vm(e)==="object"||typeof e=="function")?e:M(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Su(t,e)}function Vm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hm(){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 kn(t){var e=Hm();return function(){var i=Pn(t),u;if(e){var r=Pn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Lm(this,u)}}var ne=function(t){Fn(n,t);var e=kn(n);function n(i){xn(this,n);var u;u=e.call(this,i),$(M(u),"dataBind",{}),$(M(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),$(M(u),"isHideCaption",{type:"boolean"}),$(M(u),"labelPosition",{type:"enum",enum:["top","left"]}),$(M(u),"defaultState",{type:"enum",enum:["default","readonly"]}),$(M(u),"required",{type:"boolean"}),$(M(u),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(Nm(i.dataBind,fe))u.dataBind={type:"object",required:!0,fields:Se(r),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:Se(r),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),V=function(t){Fn(n,t);var e=kn(n);function n(i){xn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}($e),T=function(t){Fn(n,t);var e=kn(n);function n(i){xn(this,n);var u;u=e.call(this,i),$(M(u),"caption",void 0),$(M(u),"isHideCaption",void 0),$(M(u),"isShowCaptionTip",void 0),$(M(u),"captionTip",void 0),$(M(u),"labelPosition",void 0),$(M(u),"dataBind",void 0),$(M(u),"defaultValue",void 0),$(M(u),"placeholder",void 0),$(M(u),"defaultState",void 0),$(M(u),"required",void 0),$(M(u),"requiredMessage",void 0);var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var a;u.isHideCaption=(a=i==null?void 0:i.isHideCaption)!==null&&a!==void 0?a:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var 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 C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",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);$(T,"Rules",ne),$(T,"RuntimeRules",V);var it=function(t){Fn(n,t);var e=kn(n);function n(i){xn(this,n);var u;return u=e.call(this,i),$(M(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),$(M(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),$(M(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Iu.call(M(u),i),u}return n}(ne);function Bu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function jm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tu(t,e)}function Um(t,e){return e&&(Wm(e)==="object"||typeof e=="function")?e:Bu(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tu(t,e)}function Wm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Km(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zm(t){var e=Km();return function(){var i=Mn(t),u;if(e){var r=Mn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Um(this,u)}}var R=function(t){jm(n,t);var e=zm(n);function n(i){qm(this,n);var u;return u=e.call(this,i),On(Bu(u),"controlType","form"),On(Bu(u),"props",void 0),u.props=new T(i==null?void 0:i.props),u}return n}(O);On(R,"controlEventKeys",["on_change","on_focus","on_blur"]),On(R,"controlCustomAttributes",void 0);function $n(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ru(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 Xm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Du(t,e)}function Qm(t,e){return e&&(Jm(e)==="object"||typeof e=="function")?e:$n(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Du(t,e)}function Jm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ym(t){var e=Zm();return function(){var i=Nn(t),u;if(e){var r=Nn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Qm(this,u)}}var D=function(t){Xm(n,t);var e=Ym(n);function n(i){Gm(this,n);var u;return u=e.call(this,i),Ru($n(u),"controlType","form"),Ru($n(u),"props",void 0),Ru($n(u),"value",void 0),u.props=new T(i==null?void 0:i.props),u}return n}(X);function pm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ev(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function tv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xu(t,e)}function nv(t,e){return e&&(iv(e)==="object"||typeof e=="function")?e:pm(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function iv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rv(t){var e=uv();return function(){var i=Ln(t),u;if(e){var r=Ln(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return nv(this,u)}}var q=function(t){tv(n,t);var e=rv(n);function n(i){return ev(this,n),e.call(this,i)}return n}(G);function Pu(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 av(t){if(Array.isArray(t))return Pu(t)}function lv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ov(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nl(t){return av(t)||lv(t)||cv(t)||ov()}function cv(t,e){if(!!t){if(typeof t=="string")return Pu(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 Pu(t,e)}}function sv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function il(t,e){t.parent=e,sv(t,"parent")}function dv(t,e){t.forEach(function(n){il(n,e)})}var ul=Symbol("targetKey");function rl(t){var e;return(e=t[ul])!==null&&e!==void 0?e:t}function al(t,e){return dv(t,e),new Proxy(t,{get:function(i,u){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l<r;l++)a[l-2]=arguments[l];var s;return u===ul?i:(s=Reflect).get.apply(s,[i,u].concat(nl(a)))},set:function(i,u,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];var o;if(eu(t)&&u==="length"&&r===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,r].concat(nl(l)));return ny(r)&&il(r,e),f}})}function Ee(t,e,n,i){var u=i!=null?i:t,r=al(rl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=al(rl(l),u)},enumerable:!0})}function Fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function fv(t){if(Array.isArray(t))return Fu(t)}function Ne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ll(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function hv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){ll(r,i,u,a,l,"next",s)}function l(s){ll(r,i,u,a,l,"throw",s)}a(void 0)})}}function yv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ol(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function mv(t,e,n){return e&&ol(t.prototype,e),n&&ol(t,n),t}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}function ut(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ut=Reflect.get:ut=function(u,r,a){var l=Av(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a||u):s.value}},ut(t,e,n||t)}function De(t){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(t)}function vv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ku(t,e)}function gv(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 _v(){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 Ev(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){Re(t,u,n[u])})}return t}function Cv(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 wv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Cv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Iv(t,e){return e&&(Sv(e)==="object"||typeof e=="function")?e:Ne(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ku(t,e)}function Av(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=De(t),t!==null););return t}function cl(t){return fv(t)||bv(t)||Bv(t)||_v()}function Sv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bv(t,e){if(!!t){if(typeof t=="string")return Fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fu(t,e)}}function Tv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Rv(t){var e=Tv();return function(){var i=De(t),u;if(e){var r=De(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Iv(this,u)}}var Dv=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(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}}},xv=1e4,K=function(e){vv(i,e);var n=Rv(i);function i(u){yv(this,i);var r;r=n.call(this,u),Re(Ne(r),"controlType","layout"),Re(Ne(r),"children",void 0),Re(Ne(r),"excludes",void 0),Re(Ne(r),"childrenMaxLength",void 0),Re(Ne(r),"props",void 0);var a=gv(this,i)?this.constructor:void 0,l=a.excludes,s=a.childrenMaxLength;return r.props=new q(u==null?void 0:u.props),Ee(Ne(r),"children",u==null?void 0:u.children),r.excludes=Se(l),r.childrenMaxLength=s,r}return mv(i,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var a=this.judgeExcludesChildren(r);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,a){var l=this,s=this,o=function(){return ut(De(i.prototype),"validate",l)};return hv(function(){return Dv(this,function(f){switch(f.label){case 0:return[4,o().call(s,r,a)];case 1:return f.sent(),[4,Promise.all(s.children.map(function(g){return g.validate(r,a)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=ut(De(i.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(s,o){var f=o.toDataBindModel(r);if(Array.isArray(f)){var g=f.filter(function(b){return!!b});return cl(s).concat(cl(g))}return f&&s.push(f),s},l)}},{key:"toSchema",value:function(){var r=ut(De(i.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var s=l.toSchema();return s});return wv(Ev({},r),{children:a})}}]),i}(O);Re(K,"excludes",!1),Re(K,"childrenMaxLength",xv);function Rt(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 Ou(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function Fv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mu(t,e)}function kv(t,e){return e&&(Ov(e)==="object"||typeof e=="function")?e:Rt(t)}function Mu(t,e){return Mu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mu(t,e)}function Ov(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $v(t){var e=Mv();return function(){var i=Vn(t),u;if(e){var r=Vn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return kv(this,u)}}var Q=function(t){Fv(n,t);var e=$v(n);function n(i){Pv(this,n);var u;return u=e.call(this,i),Ou(Rt(u),"controlType","layout"),Ou(Rt(u),"children",void 0),Ou(Rt(u),"props",void 0),u.props=new q(i==null?void 0:i.props),Ee(Rt(u),"children",i==null?void 0:i.children),u}return n}(X);function $u(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 Lv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function Vv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nu(t,e)}function Hv(t,e){return e&&(qv(e)==="object"||typeof e=="function")?e:$u(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nu(t,e)}function qv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Uv(t){var e=jv();return function(){var i=Hn(t),u;if(e){var r=Hn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Hv(this,u)}}var qn=function(t){Vv(n,t);var e=Uv(n);function n(i,u){Nv(this,n);var r;return r=e.call(this,u),Lv($u(r),"headers",void 0),Ee($u(r),"headers",u==null?void 0:u.headers,i),r}return n}(G);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 Wv(t){if(Array.isArray(t))return Lu(t)}function jn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sl(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Kv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){sl(r,i,u,a,l,"next",s)}function l(s){sl(r,i,u,a,l,"throw",s)}a(void 0)})}}function zv(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 Gv(t,e,n){return e&&dl(t.prototype,e),n&&dl(t,n),t}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,r,a){var l=pv(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a||u):s.value}},rt(t,e,n||t)}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(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&&Vu(t,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 fl(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){Un(t,u,n[u])})}return t}function Zv(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 hl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Zv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Yv(t,e){return e&&(eg(e)==="object"||typeof e=="function")?e:jn(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vu(t,e)}function pv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xe(t),t!==null););return t}function yl(t){return Wv(t)||Qv(t)||tg(t)||Jv()}function eg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tg(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 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=xe(t),u;if(e){var r=xe(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Yv(this,u)}}var ug=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(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}}},Hu=function(t){Xv(n,t);var e=ig(n);function n(i){zv(this,n);var u;return u=e.call(this,i),Un(jn(u),"controlType","list"),Un(jn(u),"props",void 0),u.props=new qn(jn(u),i==null?void 0:i.props),u}return Gv(n,[{key:"validate",value:function(u,r){var a=this,l=this,s=function(){return rt(xe(n.prototype),"validate",a)};return Kv(function(){return ug(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,r)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=rt(xe(n.prototype),"toDataBindModel",this).call(this),r=u?[u]:[],a=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(a);if(Array.isArray(o)){var f=o.filter(function(g){return!!g});return yl(l).concat(yl(f))}return o&&l.push(o),l},r)}},{key:"toSchema",value:function(){var u=rt(xe(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(a){return a.toSchema()});return hl(fl({},u),{props:hl(fl({},this.props),{headers:r})})}}]),n}(O);Un(Hu,"controlFieldType",v.LIST);function at(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 ag(t,e,n){return e&&ml(t.prototype,e),n&&ml(t,n),t}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 Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function lg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ju(t,e)}function og(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:at(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ju(t,e)}function cg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function dg(t){var e=sg();return function(){var i=Wn(t),u;if(e){var r=Wn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return og(this,u)}}var vl=function(t){lg(n,t);var e=dg(n);function n(i){rg(this,n);var u;return u=e.call(this,i),qu(at(u),"controlType","list"),qu(at(u),"children",void 0),qu(at(u),"props",void 0),u.props=new qn(at(u),i==null?void 0:i.props),Ee(at(u),"children",i==null?void 0:i.children),u}return ag(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 Uu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z(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 Wu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ku(t,e)}function fg(t,e){return e&&(hg(e)==="object"||typeof e=="function")?e:J(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}function hg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yg(){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 zu(t){var e=yg();return function(){var i=Kn(t),u;if(e){var r=Kn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return fg(this,u)}}var Gu=function(t){Wu(n,t);var e=zu(n);function n(i){Uu(this,n);var u;return u=e.call(this,i),Z(J(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Z(J(u),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){Wu(n,t);var e=zu(n);function n(i){Uu(this,n);var u;u=e.call(this,i),Z(J(u),"widthType",void 0),Z(J(u),"width",void 0),Z(J(u),"caption",void 0),Z(J(u),"dataBind",void 0),Z(J(u),"autoWidth",void 0),Z(J(u),"fixed",void 0),Z(J(u),"sort",void 0),Z(J(u),"align",void 0),Z(J(u),"colSpan",void 0),Z(J(u),"autoHeight",void 0);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new Pa(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);Z(z,"Rules",Gu);var gl=function(t){Wu(n,t);var e=zu(n);function n(i){Uu(this,n);var u;return u=e.call(this,i),Z(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Z(J(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),Z(J(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Iu.call(J(u),i),u}return n}(Gu);function Xu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bl(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 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&&Qu(t,e)}function gg(t,e){return e&&(bg(e)==="object"||typeof e=="function")?e:Xu(t)}function Qu(t,e){return Qu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Qu(t,e)}function bg(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 Eg(t){var e=_g();return function(){var i=zn(t),u;if(e){var r=zn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return gg(this,u)}}var Y=function(t){vg(n,t);var e=Eg(n);function n(i){mg(this,n);var u;return u=e.call(this,i),bl(Xu(u),"controlType","column"),bl(Xu(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(O);function Ju(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _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 Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(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&&Zu(t,e)}function Ig(t,e){return e&&(Ag(e)==="object"||typeof e=="function")?e:Ju(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function Ag(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bg(t){var e=Sg();return function(){var i=Gn(t),u;if(e){var r=Gn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ig(this,u)}}var p=function(t){wg(n,t);var e=Bg(n);function n(i){Cg(this,n);var u;return u=e.call(this,i),_l(Ju(u),"controlType","column"),_l(Ju(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(X);function El(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function Dg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yu(t,e)}function xg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:El(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}function Pg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function kg(t){var e=Fg();return function(){var i=Xn(t),u;if(e){var r=Xn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return xg(this,u)}}var pu=function(t){Dg(n,t);var e=kg(n);function n(i){Tg(this,n);var u;return u=e.call(this,i),Rg(El(u),"dataBind",void 0),u.dataBind=new fe(i==null?void 0:i.dataBind),u}return n}(q);function er(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cl(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 Mg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tr(t,e)}function $g(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:er(t)}function tr(t,e){return tr=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tr(t,e)}function Ng(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Vg(t){var e=Lg();return function(){var i=Qn(t),u;if(e){var r=Qn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return $g(this,u)}}var Hg=function(t){Mg(n,t);var e=Vg(n);function n(i){Og(this,n);var u;return u=e.call(this,i),Cl(er(u),"controlType","search"),Cl(er(u),"props",void 0),u.props=new pu(i==null?void 0:i.props),u}return n}(K);function nr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function jg(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&&ir(t,e)}function Ug(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:nr(t)}function ir(t,e){return ir=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ir(t,e)}function Wg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zg(t){var e=Kg();return function(){var i=Jn(t),u;if(e){var r=Jn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ug(this,u)}}var Gg=function(t){jg(n,t);var e=zg(n);function n(i){qg(this,n);var u;return u=e.call(this,i),wl(nr(u),"controlType","search"),wl(nr(u),"props",void 0),u.props=new pu(i==null?void 0:i.props),u}return n}(Q);class ur extends G{constructor(e){var n,i,u,r,a;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(a=e==null?void 0:e.content)!=null?a:"\u8BF4\u660E\u6587\u5B57"}}class Il extends O{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Il.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Xg extends X{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"text"}}var Al={Designer:Il,Runtime:Xg,Property:ur};class rr 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 ar extends O{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}ar.controlEventKeys=["on_click"],ar.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Qg extends X{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"link"}}var Sl={Designer:ar,Runtime:Qg,Property:rr};class ie extends G{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class ue extends O{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 Bl={Designer:ue,Runtime:oe,Property:ie},Pe=(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))(Pe||{}),Tl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Tl||{}),Rl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Rl||{});class Zn{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 lr=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(lr||{});class Yn{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 or=(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))(or||{});class cr{constructor(e){var n,i,u,r,a,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new It((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new It((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new It((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Dl{constructor(e){var n,i,u,r,a,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new cr(s)))!=null?u:[new cr],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class sr{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class dr{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 xl{constructor(e){var n,i,u,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new dr(e==null?void 0:e.watermark),this.autoRename=new dr(e==null?void 0:e.autoRename)}}const Pl=480;function Dt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Fl{constructor(e){var n,i,u,r,a;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(a=e.rules)!=null?a:[]}}class kl{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 Ol=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ol||{}),fr=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(fr||{}),hr=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(hr||{}),lt=(t=>(t.ALL="all",t.ASSIGN="assign",t))(lt||{}),yr=(t=>(t.ALL="all",t.ADMIN="admin",t))(yr||{});class mr 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:or.SOLID}}class Ml extends O{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Ml.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Jg extends X{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}static get controlType(){return"divider"}}var $l={Designer:Ml,Runtime:Jg,Property:mr};class Zg 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(Pe.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 pn extends G{constructor(e){var n,i,u,r;super(e),this.dataBind=new fe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ot==null?void 0:ot.controlName)!=null?u:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}pn.Rules=Zg;class ot extends O{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}ot.controlFieldType=v.AUTO_NUMBER,ot.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Yg extends X{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Nl={Designer:ot,Runtime:Yg,Property:pn};class pg extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class ei extends ie{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:xt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:xt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}ei.Rules=pg;class xt extends ue{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}xt.controlEventKeys=["on_click","on_click_finish"],xt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class e0 extends oe{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ll={Designer:xt,Runtime:e0,Property:ei};class t0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class ti extends ie{constructor(e){var n,i,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Pt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Pt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}ti.Rules=t0;class Pt extends ue{constructor(e){super(e),this.props=new ti(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"}}Pt.controlEventKeys=["on_click","on_click_finish"],Pt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class n0 extends oe{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Vl={Designer:Pt,Runtime:n0,Property:ti};class vr extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ft.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ft.controlIcon}}class Ft extends ue{constructor(e){super(e),this.props=new vr(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"}}Ft.controlEventKeys=["on_click"],Ft.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class i0 extends oe{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Hl={Designer:Ft,Runtime:i0,Property:vr};class gr extends ie{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:kt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:kt.controlName,this.templateList=(r=(u=e==null?void 0:e.templateList)==null?void 0:u.map(a=>new sr(a)))!=null?r:[new sr({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class kt extends ue{constructor(e){super(e),this.props=new gr(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"}}kt.controlEventKeys=["on_click","on_click_finish"],kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class u0 extends oe{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ql={Designer:kt,Runtime:u0,Property:gr};class br extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ot.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ot.controlIcon}}class Ot extends ue{constructor(e){super(e),this.props=new br(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"}}Ot.controlEventKeys=["on_click"],Ot.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class r0 extends oe{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var jl={Designer:Ot,Runtime:r0,Property:br};class a0{constructor(e){this.dataCode=e.dataCode}}class _r extends ie{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Mt.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new a0(a)))!=null?r:[]}}class Mt extends ue{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Mt.controlEventKeys=["on_click","on_click_finish"],Mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class l0 extends oe{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ul={Designer:Mt,Runtime:l0,Property:_r};function ni(){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 o0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ie({},ni())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ie({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ni())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class ii extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:$t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:$t.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new cu(e==null?void 0:e.fillPayload),this.formBind=new Sy(e==null?void 0:e.formBind),this.fillBack=new $a(e==null?void 0:e.fillBack)}}ii.Rules=o0;class $t extends ue{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class c0 extends oe{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Wl={Designer:$t,Runtime:c0,Property:ii};class s0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ie({},ni())},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:Ie({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ni())}}}class ui extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Nt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Nt.controlIcon,this.fillPayload=new cu(e==null?void 0:e.fillPayload),this.listPageBind=new ka(e==null?void 0:e.listPageBind),this.fillBack=new $a(e==null?void 0:e.fillBack)}}ui.Rules=s0;class Nt extends ue{constructor(e){super(e),this.props=new ui(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"}}Nt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Nt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class d0 extends oe{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Kl={Designer:Nt,Runtime:d0,Property:ui};class f0 extends U{constructor(e){super(e)}}class h0 extends $e{constructor(e){super(e)}}class Lt extends G{constructor(e){super(e)}}Lt.Rules=f0,Lt.RuntimeRules=h0;class zl extends O{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}zl.setting=[];class y0 extends X{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Gl={Designer:zl,Runtime:y0,Property:Lt};class m0 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 ri extends G{constructor(e){var n,i,u,r,a,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}ri.Rules=m0;class Xl extends O{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Xl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class v0 extends X{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Ql={Designer:Xl,Runtime:v0,Property:ri};class g0 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 ai 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(r=>new jy(r)))!=null?u:[]}}ai.Rules=g0;class Jl extends O{constructor(e){super(e),this.props=new ai(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"}}Jl.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 ai(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Zl={Designer:Jl,Runtime:b0,Property:ai};class _0 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(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class li extends ie{constructor(e){var n,i,u,r,a,l,s,o,f,g;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=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ct.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:[]}}li.Rules=_0;class ct extends ue{constructor(e){super(e),this.props=new li(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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class E0 extends oe{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Yl={Designer:ct,Runtime:E0,Property:li};class C0 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(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class oi extends ie{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:st.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:st.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:st.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:[]}}oi.Rules=C0;class st extends ue{constructor(e){super(e),this.props=new oi(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"}}st.controlEventKeys=["on_click","on_click_finish"],st.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class w0 extends oe{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var pl={Designer:st,Runtime:w0,Property:oi};class I0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class ci extends ie{constructor(e){var n,i,u,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Vt.controlName,this.printTemplates=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Fl(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}ci.Rules=I0;class Vt extends ue{constructor(e){super(e),this.props=new ci(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"}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class A0 extends oe{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var eo={Designer:Vt,Runtime:A0,Property:ci};class Er extends ie{constructor(e){var n,i;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}}class Ht extends ue{constructor(e){super(e),this.props=new Er(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"}}Ht.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class S0 extends oe{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var to={Designer:Ht,Runtime:S0,Property:Er};class B0 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 si extends G{constructor(e){var n,i,u,r,a;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=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1}}si.Rules=B0;class di extends O{constructor(e){super(e),this.props=new si(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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class T0 extends X{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var no={Designer:di,Runtime:T0,Property:si};class Cr extends G{constructor(e){var n,i,u,r,a,l,s,o,f;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.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"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 qt extends O{constructor(e){super(e),this.props=new Cr(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"}}qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class R0 extends X{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var io={Designer:qt,Runtime:R0,Property:Cr},D0=Object.freeze({__proto__:null,Text:Al,Link:Sl,Button:Bl,Divider:$l,Title:Nl,CreateFormListButton:Ll,BatchSubmissionListButton:Vl,SubmissionRecordListButton:Hl,ExportListButton:ql,ExportRecordListButton:jl,ImportRecordListButton:Ul,FormSelectButton:Wl,ListSelectButton:Kl,Pagination:Gl,Dashboard:Ql,ListViewSelect:Zl,TextOcrButton:Yl,InvoiceCheckButton:pl,BatchPrintListButton:eo,BatchPrintRecordListButton:to,OperationButton:no,BatchDeleteButton:io});class x0 extends ne{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=Dt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class P0 extends V{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:Dt(e.regularRules.expression),message:e.regularRules.errMessage})}}class dt extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Na(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:ft.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}dt.Rules=x0,dt.RuntimeRules=P0;class ft extends R{constructor(e){super(e),this.props=new dt(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"}}ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ft.controlFieldType=v.VARCHAR,ft.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 uo extends D{constructor(e){super(e),this.props=new dt(e==null?void 0:e.props)}static get controlType(){return"input"}}uo.controlFieldType=v.VARCHAR;var ro={Designer:ft,Runtime:uo,Property:dt};class F0 extends it{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 k0 extends V{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 jt extends T{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new te(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:Ut.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=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var A;(A=this.multistageFilling)==null||A.push(new ae(_))}))}}jt.Rules=F0,jt.RuntimeRules=k0;class Ut extends R{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Ut.controlEventKeys=["on_change","on_click"],Ut.controlFieldType=v.ARRAY,Ut.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 ao extends D{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}ao.controlFieldType=v.ARRAY;var lo={Designer:Ut,Runtime:ao,Property:jt};class O0 extends it{constructor(e){super(e)}}class fi extends T{constructor(e){var n,i,u,r,a,l,s,o,f,g,b;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new te(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:Wt.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(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}fi.Rules=O0;class Wt extends R{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Wt.controlEventKeys=["on_change","on_click"],Wt.controlFieldType=v.VARCHAR,Wt.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 oo extends D{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"radio"}}oo.controlFieldType=v.VARCHAR;var co={Designer:Wt,Runtime:oo,Property:fi};class M0 extends ne{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=Dt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class $0 extends V{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:Dt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Kt extends T{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(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=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new Na(e==null?void 0:e.regularRules)}}Kt.Rules=M0,Kt.RuntimeRules=$0;class zt extends R{constructor(e){super(e),this.props=new Kt(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 so extends D{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"number"}}so.controlFieldType=v.DECIMAL;var fo={Designer:zt,Runtime:so,Property:Kt};class wr extends T{constructor(e){var n,i,u,r,a,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:hi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(g=>new Zn(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 hi extends R{constructor(e){super(e),this.props=new wr(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}}hi.controlFieldType=v.TIMESTAMP,hi.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 ho extends D{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}ho.controlFieldType=v.TIMESTAMP;var yo={Designer:hi,Runtime:ho,Property:wr};class N0 extends V{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 yi extends T{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.dataBind=new Ny(e==null?void 0:e.dataBind),this.defaultValue=new Ly(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=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:mi.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(g=>new Zn(g)))!=null?f:[]}}yi.RuntimeRules=N0;class mi extends R{constructor(e){super(e),this.props=new yi(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}}mi.controlFieldType=v.TIMESCOPE,mi.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 mo extends D{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}mo.controlFieldType=v.TIMESCOPE;var vo={Designer:mi,Runtime:mo,Property:yi};class L0 extends ne{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 V0 extends V{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 Gt extends T{constructor(e){var n,i,u,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Xt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Gt.Rules=L0,Gt.RuntimeRules=V0;class Xt extends R{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=v.TEXT,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class go extends D{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}go.controlFieldType=v.TEXT;var bo={Designer:Xt,Runtime:go,Property:Gt};class H0 extends ne{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 q0 extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Qt extends T{constructor(e){var n,i,u,r,a;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Jt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}Qt.Rules=H0,Qt.RuntimeRules=q0;class Jt extends R{constructor(e){super(e),this.props=new Qt(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"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=v.TEXT,Jt.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 _o extends D{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}_o.controlFieldType=v.TEXT;var Eo={Designer:Jt,Runtime:_o,Property:Qt};class j0 extends it{constructor(e){super(e)}}class vi extends T{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:gi.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.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))}))}}vi.Rules=j0;class gi extends R{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}gi.controlFieldType=v.VARCHAR,gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Co extends D{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"select"}}Co.controlFieldType=v.VARCHAR;var wo={Designer:gi,Runtime:Co,Property:vi};class U0 extends it{constructor(e){super(e)}}class W0 extends V{constructor(e){super(e),this[0].type="array"}}class Zt extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:bi.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(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))}))}}Zt.Rules=U0,Zt.RuntimeRules=W0;class bi extends R{constructor(e){super(e),this.props=new Zt(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"}}bi.controlFieldType=v.ARRAY,bi.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 Io extends D{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Io.controlFieldType=v.ARRAY;var Ao={Designer:bi,Runtime:Io,Property:Zt};class K0 extends V{constructor(e){super(e),this[0].type="array"}}class _i extends T{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ei.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))}))}}_i.RuntimeRules=K0;class Ei extends R{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ei.controlFieldType=v.EMPLOYEES,Ei.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 So extends D{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"employee"}}So.controlFieldType=v.EMPLOYEES;var Bo={Designer:Ei,Runtime:So,Property:_i};const z0=10485760,G0=104857600,X0=1048576e3;class Q0 extends ne{constructor(e){super(e),this.maxSize={type:"number",min:0,max:X0,message:d.getMessage("attachmentMaxSize")}}}class J0 extends V{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 ht extends T{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(a=e==null?void 0:e.minLimit)!=null?a:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:G0,this.caption=(s=e==null?void 0:e.caption)!=null?s:yt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}ht.Rules=Q0,ht.RuntimeRules=J0;class yt extends R{constructor(e){super(e),this.props=new ht(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}yt.controlEventKeys=["on_change"],yt.controlFieldType=v.FILE,yt.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 Ir extends D{constructor(e){super(e),this.props=new ht(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ir.controlFieldType=v.FILE;var To={Designer:yt,Runtime:Ir,Property:ht};const Ro=class extends yt{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:Ro.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ar=Ro;Ar.controlFieldType=v.IMAGE,Ar.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Z0 extends Ir{static get controlType(){return"image"}constructor(e){var n,i,u,r,a,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(r=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(l=(a=e==null?void 0:e.props)==null?void 0:a.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class Y0 extends ht{constructor(e){super(e)}}var Do={Designer:Ar,Runtime:Z0,Property:Y0};class p0 extends it{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 eb extends V{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:[Cn(Ie({},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 Yt extends T{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new My(e==null?void 0:e.dataBind),this.datasourceBind=new te((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new lu({value:"name"})]}),this.defaultValue=new $y((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Bn.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:pt.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}}Yt.Rules=p0,Yt.RuntimeRules=eb;class pt extends R{constructor(e){super(e),this.props=new Yt(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}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=v.MONEY,pt.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 xo extends D{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"amount"}}xo.controlFieldType=v.MONEY;var Po={Designer:pt,Runtime:xo,Property:Yt};class tb extends ne{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 nb extends V{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 en extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:lr.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(r=e==null?void 0:e.explain)==null?void 0:r.map(o=>new Yn(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Yn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:tn.controlName}}en.Rules=tb,en.RuntimeRules=nb;class tn extends R{constructor(e){super(e),this.props=new en(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 Yn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}tn.controlEventKeys=["on_change","on_click"],tn.controlFieldType=v.DECIMAL,tn.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 Fo extends D{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"score"}}Fo.controlFieldType=v.DECIMAL;var ko={Designer:tn,Runtime:Fo,Property:en};class ib extends V{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 Ci extends T{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wi.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 Vy((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9\u5730\u5740"}}Ci.RuntimeRules=ib;class wi extends R{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}wi.controlFieldType=v.ADDRESS,wi.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 Oo extends D{constructor(e){super(e),this.props=new Ci(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"}}Oo.controlFieldType=v.ADDRESS;var Mo={Designer:wi,Runtime:Oo,Property:Ci};class ub extends V{constructor(e){super(e),this[0].type="array"}}class Ii extends T{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Ai.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(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}Ii.RuntimeRules=ub;class Ai extends R{constructor(e){super(e),this.props=new Ii(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}}Ai.controlFieldType=v.DEPARTMENTS,Ai.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 $o extends D{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"department"}}$o.controlFieldType=v.DEPARTMENTS;var No={Designer:Ai,Runtime:$o,Property:Ii};class Sr extends T{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:nn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class nn extends R{constructor(e){super(e),this.props=new Sr(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"}}nn.controlEventKeys=["on_change"],nn.controlFieldType=v.AUTO_NUMBER,nn.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 Lo extends D{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Lo.controlFieldType=v.AUTO_NUMBER;var Vo={Designer:nn,Runtime:Lo,Property:Sr};class rb extends ne{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 ab extends V{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 un extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Hy(e==null?void 0:e.dataBind),this.defaultValue=new qy(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:rn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}un.Rules=rb,un.RuntimeRules=ab;class rn extends R{constructor(e){super(e),this.props=new un(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}}rn.controlEventKeys=["on_change"],rn.controlFieldType=v.CALC,rn.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 Ho extends D{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ho.controlFieldType=v.CALC;var qo={Designer:rn,Runtime:Ho,Property:un};class lb extends V{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Si extends T{constructor(e){var n,i,u,r,a,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Bi.controlName}}Si.RuntimeRules=lb;class Bi extends R{constructor(e){super(e),this.props=new Si(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"}}Bi.controlFieldType=v.DECIMAL_RANGE,Bi.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 jo extends D{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}jo.controlFieldType=v.DECIMAL_RANGE;var Uo={Designer:Bi,Runtime:jo,Property:Si};class ob extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Ti extends T{constructor(e){var n,i,u,r,a,l,s,o,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=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:Ri.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(b=>new Zn(b)))!=null?g:[]}}Ti.RuntimeRules=ob;class Ri extends R{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ri.controlFieldType=v.ARRAY,Ri.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 Wo extends D{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Wo.controlFieldType=v.ARRAY;var Ko={Designer:Ri,Runtime:Wo,Property:Ti};class cb extends ne{constructor(e){super(e),this.dataBind={type:"any"}}}class sb extends V{constructor(e){super(e),this[0].type="any"}}class an extends T{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ln.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}an.Rules=cb,an.RuntimeRules=sb;class ln extends R{constructor(e){super(e),this.props=new an(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"}}ln.controlFieldType=v.ANY,ln.controlEventKeys=[],ln.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 zo extends D{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}zo.controlFieldType=v.ANY;var Go={Designer:ln,Runtime:zo,Property:an};class db extends it{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 Di extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new ka(e==null?void 0:e.listPageBind),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!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))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1}}Di.Rules=db;class on extends R{constructor(e){super(e),this.props=new Di(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"}}on.controlFieldType=v.VARCHAR,on.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}],on.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Xo extends D{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Xo.controlFieldType=v.VARCHAR;var Qo={Designer:on,Runtime:Xo,Property:Di};class Br extends dt{constructor(e){super(e)}}class Jo extends ft{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Jo.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 Zo extends D{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Zo.controlFieldType=v.VARCHAR;var Yo={Designer:Jo,Runtime:Zo,Property:Br};class fb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Au.call(this,e,Le.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 hb extends V{constructor(e){super(e),this[0].type="array"}}class cn extends T{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,_,A;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(f=e==null?void 0:e.defaultCollapseLevel)!=null?f:1,this.datasourceBind=new ky((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.defaultDisplay=(C=e==null?void 0:e.defaultDisplay)!=null?C:!0,this.multistageFilling=(_=(I=e==null?void 0:e.multistageFilling)==null?void 0:I.map(y=>new ae(y)))!=null?_:[],this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:[]}}cn.Rules=fb,cn.RuntimeRules=hb;class Le extends R{constructor(e){super(e),this.props=new cn(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}]}}Le.controlEventKeys=["on_change","on_click"],Le.controlFieldType=v.ARRAY,Le.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class po extends D{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"tree"}}po.controlFieldType=v.ARRAY;var ec={Designer:Le,Runtime:po,Property:cn};class yb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},Au.call(this,e,mt.controlCustomAttributes),e.externalType===lt.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class mb extends V{constructor(e){super(e),this[0].type="array"}}class sn extends T{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:mt.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 Sn((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:mt.controlCustomAttributes}),this.datasourceType=(g=e==null?void 0:e.datasourceType)!=null?g:fr.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:yr.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:lt.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var y;(y=this.multistageFilling)==null||y.push(new ae(A))}))}}sn.Rules=yb,sn.RuntimeRules=mb;class mt extends R{constructor(e){super(e),this.props=new sn(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}]}}mt.controlFieldType=v.EMPLOYEES,mt.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 tc extends D{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}tc.controlFieldType=v.EMPLOYEES;var nc={Designer:mt,Runtime:tc,Property:sn};class vb extends ne{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&eu(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&i.signatureType.includes("company")&&eu(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class xi extends T{constructor(e){var n,i,u,r,a,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:dn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Dl(e==null?void 0:e.signatureConfig)}}xi.Rules=vb;class dn extends R{constructor(e){super(e),this.props=new xi(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"}}dn.controlEventKeys=["on_click","on_click_finish"],dn.controlFieldType=v.VARCHAR,dn.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 ic extends D{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}ic.controlFieldType=v.VARCHAR;var uc={Designer:dn,Runtime:ic,Property:xi};class gb extends ne{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 V{constructor(e){super(e),this[0].type="array"}}class fn extends T{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:hn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(g=e==null?void 0:e.maxSize)!=null?g:z0,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new xl(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}fn.Rules=gb,fn.RuntimeRules=bb;class hn extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}hn.controlEventKeys=["on_change","on_wps_open"],hn.controlFieldType=v.FILE,hn.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 rc extends D{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"wps"}}rc.controlFieldType=v.FILE;var ac={Designer:hn,Runtime:rc,Property:fn};class _b extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},Au.call(this,e,vt.controlCustomAttributes),e.businessType===lt.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Eb extends V{constructor(e){super(e),this[0].type="array"}}class yn extends T{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,_,A;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:vt.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Sn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:vt.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:hr.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:lt.ALL,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var w;(w=this.multistageFilling)==null||w.push(new ae(y))}))}}yn.Rules=_b,yn.RuntimeRules=Eb;class vt extends R{constructor(e){super(e),this.props=new yn(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}}vt.controlFieldType=v.DEPARTMENTS,vt.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 lc extends D{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"department2"}}lc.controlFieldType=v.DEPARTMENTS;var oc={Designer:vt,Runtime:lc,Property:yn},Cb=Object.freeze({__proto__:null,Input:ro,Checkbox:lo,Radio:co,Number:fo,DatePicker:yo,DateRange:vo,Textarea:bo,RichText:Eo,Select:wo,SelectMultiple:Ao,Employee:Bo,Image:Do,Attachment:To,Amount:Po,Score:ko,Address:Mo,Department:No,AutoNumber:Vo,Calc:qo,SearchNumberRange:Uo,SearchDateRange:Ko,VueFormItem:Go,SelectRelation:Qo,SearchInput:Yo,Tree:ec,Employee2:nc,ElectronicSignature:uc,WPS:ac,Department2:oc});class cc extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}cc.excludes=[E.GRID];class wb extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var sc={Designer:cc,Runtime:wb,Property:q};const Ib=24;class Ve extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Ib,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class mn extends K{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}mn.excludes=[E.COL,E.CARD_GROUP,E.SUBTABLE,E.SUBTABLE_COLUMN,E.DIVIDER],mn.childrenMaxLength=1;class Tr extends Q{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlType(){return"col"}}var dc={Designer:mn,Runtime:Tr,Property:Ve};class Pi 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 Fi extends K{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Fi.excludes=[E.ROW],Fi.setting=[{key:"col-setting",visible:!0}];class fc extends Q{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"row"}}var hc={Designer:Fi,Runtime:fc,Property:Pi};const Ab=4;class ki extends Fi{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)}}ki.excludes=[E.GRID_ROW],ki.setting=[],ki.childrenMaxLength=Ab;class Sb extends fc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Bb extends Pi{constructor(e){super(e)}}var yc={Designer:ki,Runtime:Sb,Property:Bb};class Tb extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Oi 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"}}Oi.Rules=Tb;class Rr extends K{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Rr.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}],Rr.excludes=[E.CARD_GROUP];class Rb extends Q{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var mc={Designer:Rr,Runtime:Rb,Property:Oi};class Db 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 Mi extends q{constructor(e){var n,i,u,r,a;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=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.metaAutoWidth=new Iy(e==null?void 0:e.metaAutoWidth)}}Mi.Rules=Db;class he extends K{constructor(e){super(e),this.props=new Mi(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=[E.SUBTABLE,E.SUBTABLE_COLUMN,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.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 vc extends Q{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}}vc.controlType="subtable-column";var gc={Designer:he,Runtime:vc,Property:Mi};class Dr extends q{constructor(e){super(e)}}class He extends K{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}He.controlName="\u660E\u7EC6\u5B50\u8868\u884C",He.controlType="subtable-row",He.controlIcon="subtable-row",He.childrenMaxLength=1,He.excludes=[E.SUBTABLE,E.SUBTABLE_COLUMN,E.SUBTABLE_ROW,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],He.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class xb extends Q{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var bc={Designer:He,Runtime:xb,Property:Dr};class xr extends q{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new te(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 qe extends K{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}}qe.controlName="\u5217\u8868\u5355\u5143\u683C",qe.controlType="gridtable-column",qe.controlIcon="gridtable-column",qe.childrenMaxLength=1,qe.excludes=[E.GRID_TABLE,E.GRID_TABLE_COLUMN,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class _c extends Q{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}}_c.controlType="gridtable-column";var Ec={Designer:qe,Runtime:_c,Property:xr};class Pr extends q{constructor(e){super(e)}}class Pb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class $i extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName}}$i.Rules=Pb;class vn extends K{constructor(e){super(e),this.props=new $i(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"}}vn.excludes=[E.TAB],vn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Fb extends Q{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Cc={Designer:vn,Runtime:Fb,Property:$i};class gn extends K{constructor(e){var n;super(e),this.props=new Pr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new vn,new vn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}gn.excludes=[E.TAB],gn.controlEventKeys=["on_change_tab"],gn.setting=[{key:"super-setting",visible:!0}];class kb extends Q{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var wc={Designer:gn,Runtime:kb,Property:Pr};class Ic extends q{constructor(e){super(e)}}class Ac extends K{constructor(e){super(e),this.props=new Ic({}),this.children=(e==null?void 0:e.children)||[new mn({props:new Ve({span:12})}),new mn({props:new Ve({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ac.excludes=[E.GRID_ROW,E.ROW,E.GRID,E.SUBTABLE,E.TAB,E.TOOLBOX];class Ob extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Tr({props:new Ve({span:12})}),new Tr({props:new Ve({span:12})})]}}var Sc={Designer:Ac,Runtime:Ob,Property:Ic};class Mb extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class $b 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")}),Iu.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 bn extends q{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Ry(e==null?void 0:e.sublistPage),this.showType=(a=e==null?void 0:e.showType)!=null?a:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0,this.countType=e==null?void 0:e.countType}}bn.Rules=$b,bn.RuntimeRules=Mb;class Ni extends K{constructor(e){super(e),this.props=new bn(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"}}Ni.excludes=[E.ROW],Ni.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"],Ni.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 Nb extends Q{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Bc={Designer:Ni,Runtime:Nb,Property:bn};class Lb extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Li extends q{constructor(e){var n,i,u,r,a,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((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new Be(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind)}}Li.RuntimeRules=Lb;class Tc extends K{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Tc.excludes=[];class Vb extends Q{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Rc={Designer:Tc,Runtime:Vb,Property:Li};class Hb 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 qb extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class jb 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 Dc={Designer:Hb,Runtime:qb,Property:jb};class Ub 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 Wb extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Kb extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new kl(e==null?void 0:e.flexConfig)}}var xc={Designer:Ub,Runtime:Wb,Property:Kb};class zb 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 Gb extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Xb extends q{constructor(e){super(e)}}var Pc={Designer:zb,Runtime:Gb,Property:Xb};class Qb 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 Jb extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class Zb extends q{constructor(e){var n,i,u,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Fc={Designer:Qb,Runtime:Jb,Property:Zb},Yb=Object.freeze({__proto__:null,Grid:sc,Col:dc,Row:hc,GridRow:yc,CardGroup:mc,SubTableColumn:gc,SubTableRow:bc,GridTableColumn:Ec,Tab:wc,TabPane:Cc,Toolbox:Sc,ListView:Bc,DataView:Rc,Page:Dc,AdvancedContainer:xc,PositioningContainer:Pc,Position:Fc});class pb 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 e_ extends $e{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class _n extends qn{constructor(e,n){var i,u,r,a,l,s,o,f,g,b,C,I,_,A,y,w,x,F,N,ce,P,se,En,we;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Vi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(a=n==null?void 0:n.labelPosition)!=null?a:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(f=n==null?void 0:n.maxHeight)!=null?f:Pl,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=(C=n==null?void 0:n.defaultRows)!=null?C:1,this.datasourceBind=new te(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(_=n==null?void 0:n.canDelete)!=null?_:!0,this.canCheck=(A=n==null?void 0:n.canCheck)!=null?A:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(w=n==null?void 0:n.canImport)!=null?w:!1,this.canExport=(x=n==null?void 0:n.canExport)!=null?x:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(N=n==null?void 0:n.serverPagination)!=null?N:!1,this.isShowCaptionTip=(ce=n==null?void 0:n.isShowCaptionTip)!=null?ce:!1,this.captionTip=(P=n==null?void 0:n.captionTip)!=null?P:"",this.mobileShowType=(se=n==null?void 0:n.mobileShowType)!=null?se:"list",this.dataStorageDoc=(En=n==null?void 0:n.dataStorageDoc)!=null?En:new Ay,this.fixedColumn=(we=n==null?void 0:n.fixedColumn)!=null?we:[]}}_n.Rules=pb,_n.RuntimeRules=e_;class Vi extends Hu{constructor(e){var n;super(e),this.props=new _n(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}}Vi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Vi.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 t_ extends vl{constructor(e){super(e),this.props=new _n(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){wt("Method not implemented.")}getChildrenFormControl(){return[]}}var kc={Designer:Vi,Runtime:t_,Property:_n};class Fr extends qn{constructor(e,n){var i,u,r,a;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0}}class n_ extends Gu{constructor(e){super(e),this.caption.required=!1}}class Hi extends z{constructor(e){var n,i,u,r,a,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:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?a: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"}}Hi.Rules=n_;class je extends Y{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName="\u5E8F\u53F7",je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class kr extends p{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}}kr.controlType="order-column",kr.controlFieldType=v.DECIMAL;var Oc={Designer:je,Runtime:kr,Property:Hi};class Or extends z{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.caption)!=null?r:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ce extends Y{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props),Ee(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 Cn(Ie({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return sa(this,null,function*(){return yield ca(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName="\u64CD\u4F5C",Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[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 Mr extends p{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}Mr.controlType="operation-column",Mr.controlFieldType=v.FILE;var Mc={Designer:Ce,Runtime:Mr,Property:Or};class qi extends Hu{constructor(e){super(e),this.props=new Fr(this,e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce])}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 Cn(Ie({},e),{children:n})}validate(e,n){return sa(this,null,function*(){return yield ca(qi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qi.setting=[{key:"list-fixed-header",visible:!0}];class i_ extends vl{constructor(e){super(e),this.props=new Fr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){wt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var $c={Designer:qi,Runtime:i_,Property:Fr},u_=Object.freeze({__proto__:null,SubTable:kc,GridTable:$c});class r_ extends gl{constructor(e){super(e)}}class ji extends z{constructor(e){var n,i,u,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}ji.Rules=r_;class Ue extends Y{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName="\u77ED\u6587\u672C",Ue.controlIcon="varchar-column",Ue.controlFieldType=v.VARCHAR,Ue.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-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class $r extends p{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}$r.controlType="varchar-column",$r.controlFieldType=v.VARCHAR;var Nc={Designer:Ue,Runtime:$r,Property:ji};class Nr extends z{constructor(e){var n,i,u;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:We.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class We extends Y{constructor(e){super(e),this.props=new Nr(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}}We.controlType="text-column",We.controlName="\u957F\u6587\u672C",We.controlIcon="text-column",We.controlFieldType=v.TEXT,We.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-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Lr extends p{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}}Lr.controlType="text-column",Lr.controlFieldType=v.TEXT;var Lc={Designer:We,Runtime:Lr,Property:Nr};class Vr extends z{constructor(e){var n,i,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=_e((l=e==null?void 0:e.options)!=null?l:[{}])}}class Ke extends Y{constructor(e){super(e),this.props=new Vr(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}}Ke.controlType="decimal-column",Ke.controlName="\u6570\u503C",Ke.controlIcon="decimal-column",Ke.controlFieldType=v.DECIMAL,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"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 Hr extends p{constructor(e){super(e),this.props=new Vr(e==null?void 0:e.props)}}Hr.controlType="decimal-column",Hr.controlFieldType=v.DECIMAL;var Vc={Designer:Ke,Runtime:Hr,Property:Vr};class qr extends z{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ze.controlName}}class ze extends Y{constructor(e){super(e),this.props=new qr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ze.controlType="timescope-column",ze.controlName="\u65E5\u671F\u533A\u95F4",ze.controlIcon="timescope-column",ze.controlFieldType=v.TIMESCOPE,ze.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:"date-type",visible:!0},{key:"column-sort",visible:!0}];class jr extends p{constructor(e){super(e),this.props=new qr(e==null?void 0:e.props)}}jr.controlType="timescope-column",jr.controlFieldType=v.TIMESCOPE;var Hc={Designer:ze,Runtime:jr,Property:qr};class Ur extends z{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ge.controlName}}class Ge extends Y{constructor(e){super(e),this.props=new Ur(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ge.controlType="timestamp-column",Ge.controlName="\u65E5\u671F",Ge.controlIcon="timestamp-column",Ge.controlFieldType=v.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Wr extends p{constructor(e){super(e),this.props=new Ur(e==null?void 0:e.props)}}Wr.controlType="timestamp-column",Wr.controlFieldType=v.TIMESTAMP;var qc={Designer:Ge,Runtime:Wr,Property:Ur};class a_ extends gl{constructor(e){super(e)}}class Ui extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}])}}Ui.Rules=a_;class Xe extends Y{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName="\u6570\u7EC4",Xe.controlIcon="array-column",Xe.controlFieldType=v.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Kr extends p{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}Kr.controlType="array-column",Kr.controlFieldType=v.ARRAY;var jc={Designer:Xe,Runtime:Kr,Property:Ui};class zr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Qe extends Y{constructor(e){super(e),this.props=new zr(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}}Qe.controlType="department-column",Qe.controlName="\u90E8\u95E8",Qe.controlIcon="department-column",Qe.controlFieldType=v.DEPARTMENTS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Gr extends p{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}}Gr.controlType="department-column",Gr.controlFieldType=v.DEPARTMENTS;var Uc={Designer:Qe,Runtime:Gr,Property:zr};class Xr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName}}class Je extends Y{constructor(e){super(e),this.props=new Xr(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName="\u81EA\u52A8\u7F16\u53F7",Je.controlIcon="auto-number-column",Je.controlFieldType=v.AUTO_NUMBER,Je.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 Qr extends p{constructor(e){super(e),this.props=new Xr(e==null?void 0:e.props)}}Qr.controlType="auto-number-column",Qr.controlFieldType=v.AUTO_NUMBER;var Wc={Designer:Je,Runtime:Qr,Property:Xr};class Jr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName}}class Ze extends Y{constructor(e){super(e),this.props=new Jr(e==null?void 0:e.props)}}Ze.controlType="file-column",Ze.controlName="\u9644\u4EF6",Ze.controlIcon="file-column",Ze.controlFieldType=v.FILE,Ze.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 Zr extends p{constructor(e){super(e),this.props=new Jr(e==null?void 0:e.props)}}Zr.controlType="file-column",Zr.controlFieldType=v.FILE;var Kc={Designer:Ze,Runtime:Zr,Property:Jr};class Yr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends Y{constructor(e){super(e),this.props=new Yr(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName="\u56FE\u7247",Ye.controlIcon="image-column",Ye.controlFieldType=v.IMAGE,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-sort",visible:!0}];class pr extends p{constructor(e){super(e),this.props=new Yr(e==null?void 0:e.props)}}pr.controlType="image-column",pr.controlFieldType=v.IMAGE;var zc={Designer:Ye,Runtime:pr,Property:Yr};class ea extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Y{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName="\u4EBA\u5458",pe.controlIcon="people-column",pe.controlFieldType=v.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ta extends p{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}}ta.controlType="people-column",ta.controlFieldType=v.EMPLOYEES;var Gc={Designer:pe,Runtime:ta,Property:ea};class na extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Y{constructor(e){super(e),this.props=new na(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName="\u5730\u5740",et.controlIcon="location-column",et.controlFieldType=v.ADDRESS,et.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 ia extends p{constructor(e){super(e),this.props=new na(e==null?void 0:e.props)}}ia.controlType="location-column",ia.controlFieldType=v.ADDRESS;var Xc={Designer:et,Runtime:ia,Property:na};class ua extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const l_=1;class Fe extends Y{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ua(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),this.excludes=Se(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 Cn(Ie({},e),{children:this.children.map(n=>n.toSchema())})}}Fe.controlType="custom-column",Fe.controlName="\u81EA\u5B9A\u4E49",Fe.controlIcon="custom-column",Fe.excludes=[],Fe.childrenMaxLength=l_,Fe.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 Qc extends p{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}Qc.controlType="custom-column";var Jc={Designer:Fe,Runtime:Qc,Property:ua};class ra extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.datasourceBind=new Sn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:ke.controlCustomAttributes})}}class ke extends Y{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}ke.controlType="employee-column",ke.controlName="\u4EBA\u5458",ke.controlIcon="employee-column",ke.controlFieldType=v.EMPLOYEES,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class aa extends p{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}}aa.controlType="employee-column",aa.controlFieldType=v.EMPLOYEES;var Zc={Designer:ke,Runtime:aa,Property:ra},o_=Object.freeze({__proto__:null,VarcharColumn:Nc,TextColumn:Lc,DecimalColumn:Vc,TimescopeColumn:Hc,TimestampColumn:qc,ArrayColumn:jc,DepartmentColumn:Uc,AutoNumberColumn:Wc,FileColumn:Kc,ImageColumn:zc,PeopleColumn:Gc,LocationColumn:Xc,CustomColumn:Jc,OrderColumn:Oc,OperationColumn:Mc,EmployeeColumn:Zc});class c_ extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Wi extends pu{constructor(e){var n,i,u,r,a,l,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new Be((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Be((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new Be(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Wi.RuntimeRules=c_;class la extends Hg{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}la.controlType="simple-search",la.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 Yc extends Gg{constructor(e){var n;super(e),this.props=new Wi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Yc.controlType="simple-search";var pc={Designer:la,Runtime:Yc,Property:Wi},s_=Object.freeze({__proto__:null,SimpleSearch:pc});h.Address=Mo,h.AdvancedContainer=xc,h.Amount=Po,h.ArrayColumn=jc,h.AssignType=lt,h.Attachment=To,h.AutoNumber=Vo,h.AutoNumberColumn=Wc,h.BatchDeleteButton=io,h.BatchPrintListButton=eo,h.BatchPrintRecordListButton=to,h.BatchSubmissionListButton=Vl,h.Button=Bl,h.Calc=qo,h.CardGroup=mc,h.Checkbox=lo,h.Col=dc,h.CreateFormListButton=Ll,h.CustomColumn=Jc,h.DATE_CONFIG_TYPE=Tl,h.DATE_LIMIT_TYPE=Rl,h.Dashboard=Ql,h.DataView=Rc,h.DatePicker=yo,h.DateRange=vo,h.DecimalColumn=Vc,h.Department=No,h.Department2=oc,h.DepartmentColumn=Uc,h.DepartmentType=hr,h.Divider=$l,h.ElectronicSignature=uc,h.ElectronicSignatureConfig=Dl,h.Employee=Bo,h.Employee2=nc,h.EmployeeColumn=Zc,h.EncryptTypeEnum=Ol,h.Explain=Yn,h.ExportListButton=ql,h.ExportRecordListButton=jl,h.ExportTemplate=sr,h.FileColumn=Kc,h.FlexStyleConfig=kl,h.FormSelectButton=Wl,h.Grid=sc,h.GridRow=yc,h.GridTable=$c,h.GridTableColumn=Ec,h.Image=Do,h.ImageColumn=zc,h.ImportRecordListButton=Ul,h.Input=ro,h.InternalType=yr,h.InvoiceCheckButton=pl,h.LINE_STYLE=or,h.LimitDate=Zn,h.Link=Sl,h.ListSelectButton=Kl,h.ListView=Bc,h.ListViewSelect=Zl,h.LocationColumn=Xc,h.Number=fo,h.OperationButton=no,h.OperationColumn=Mc,h.OrderColumn=Oc,h.OrganizeType=fr,h.Page=Dc,h.Pagination=Gl,h.PeopleColumn=Gc,h.Position=Fc,h.PositioningContainer=Pc,h.PrintTemplate=Fl,h.Radio=co,h.RichText=Eo,h.Row=hc,h.SCORE_TYPE=lr,h.SUBTABLE_DEFAULT_MAX_HEIGHT=Pl,h.Score=ko,h.SearchDateRange=Ko,h.SearchInput=Yo,h.SearchNumberRange=Uo,h.Select=wo,h.SelectMultiple=Ao,h.SelectRelation=Qo,h.SimpleSearch=pc,h.SubTable=kc,h.SubTableColumn=gc,h.SubTableRow=bc,h.SubmissionRecordListButton=Hl,h.Tab=wc,h.TabPane=Cc,h.Text=Al,h.TextColumn=Lc,h.TextOcrButton=Yl,h.Textarea=bo,h.TimescopeColumn=Hc,h.TimestampColumn=qc,h.Title=Nl,h.TitleConfigEnum=Pe,h.Toolbox=Sc,h.Tree=ec,h.UndersignedPerson=cr,h.VarcharColumn=Nc,h.VueFormItem=Go,h.WPS=ac,h.WPSSetting=xl,h.WpsOperationItem=dr,h.baseControls=D0,h.columnControls=o_,h.formControls=Cb,h.initExpression=Dt,h.layoutControls=Yb,h.listControls=u_,h.searchControls=s_,Object.defineProperty(h,"__esModule",{value:!0})});
|
|
1
|
+
var h_=Object.defineProperty,y_=Object.defineProperties;var m_=Object.getOwnPropertyDescriptors;var ns=Object.getOwnPropertySymbols,v_=Object.getPrototypeOf,g_=Object.prototype.hasOwnProperty,b_=Object.prototype.propertyIsEnumerable,__=Reflect.get;var is=(h,N,j)=>N in h?h_(h,N,{enumerable:!0,configurable:!0,writable:!0,value:j}):h[N]=j,Ie=(h,N)=>{for(var j in N||(N={}))g_.call(N,j)&&is(h,j,N[j]);if(ns)for(var j of ns(N))b_.call(N,j)&&is(h,j,N[j]);return h},wn=(h,N)=>y_(h,m_(N));var sr=(h,N,j)=>__(v_(h),j,N);var dr=(h,N,j)=>new Promise((zi,In)=>{var Gi=ge=>{try{_t(j.next(ge))}catch(Et){In(Et)}},Xi=ge=>{try{_t(j.throw(ge))}catch(Et){In(Et)}},_t=ge=>ge.done?zi(ge.value):Promise.resolve(ge.value).then(Gi,Xi);_t((j=j.apply(h,N)).next())});(function(h,N){typeof exports=="object"&&typeof module!="undefined"?N(exports):typeof define=="function"&&define.amd?define(["exports"],N):(h=typeof globalThis!="undefined"?globalThis:h||self,N(h.modelDrivenControls={}))})(this,function(h){"use strict";var N="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",zi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",In="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Gi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Xi="{caption}\u5FC5\u586B",_t="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Et="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",us="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",as="\u8BF7\u7ED1\u5B9A\u8868\u5355",rs="\u8BF7\u7ED1\u5B9A\u5217\u8868",ls="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",os="\u8BF7\u8F93\u5165\u663E\u793A\u503C",cs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ss="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ds="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",fs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",hs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ys="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ms="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",vs="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",gs="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",bs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",_s="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Es="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Cs="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ws="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Is="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",As="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ss="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Bs="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ts="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Rs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ds="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",xs="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ps="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Fs="\u8BF7\u9009\u62E9\u7701",ks="\u8BF7\u9009\u62E9\u5E02",Os="\u8BF7\u9009\u62E9\u533A",Ms="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ls="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",$s="\u8BF7\u8F93\u5165\u5217\u5BBD",Ns="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Vs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Hs="\u8BF7\u9009\u62E9\u63A7\u4EF6",qs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",js="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Us="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ws="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ks="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Gs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Xs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Qs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Js="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ys="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ps="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ed="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",td="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",nd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",id="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ud="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ad="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",rd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ld="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",od={isNotNumber:N,isNotString:j,isNotObject:zi,isNotArray:In,isNotBoolean:Gi,runtimeRequired:Xi,pleaseEnterCaption:_t,pleaseEnterCaptionTip:ge,pleaseEnterPlaceholder:Et,pleaseEnterFieldCode:us,pleaseEnterForm:as,pleaseEnterList:rs,pleaseEnterProcess:ls,pleaseEnterLabel:os,pleaseEnterValue:cs,bizKeyNotBindFiled:ss,pleaseSelectOneField:ds,pleaseEnterNumberRange:fs,pleaseEnterAValueGreaterThanMin:hs,pleaseEnterAValueLessThanMax:ys,numberRangeSetError:ms,stringRangeError:vs,attachmentMaxSize:gs,pleaseEnterTotalScoreSetting:bs,theTotalScoreMustNotBeLessThan1:_s,scoreDefaultValueRange:Es,attachmentLimitError:Cs,PleaseReselectTheOptionalQuantity:ws,TheMaximumLengthIsGreaterThanTheMinimumLength:Is,TheMinimumLengthIsGreaterThanTheMaximumLength:As,PleaseSelectTheCorrectOptionSettings:Ss,optionIdIsRepeat:Bs,optionIsRequired:Ts,pleaseEnterDataCode:Rs,pleaseEnterValueFieldCode:Ds,pleaseEnterSvcCode:xs,pleaseBindAtLeastOneDisplayValue:Ps,pleaseSelectProvince:Fs,pleaseSelectCity:ks,pleaseSelectDistrict:Os,limitRowsCannotBeLessThan0:Ms,TheNumberOfRowsCannotBeLessThanMinRows:Ls,pleaseEnterColumnWidth:$s,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ns,pleaseCompleteAllRulesAndConditions:Vs,pleaseSelectControl:Hs,pleaseSelectAtLeastOneColumn:qs,pleaseSelectFillBackMode:js,pleaseSelectDashboard:Us,rootNodeIsRequired:Ws,theViewNameCannotBeEmpty:Ks,pleaseSelectOcrType:zs,pleaseSelectAtLeastOneFieldToFillIn:Gs,pleaseChooseAtLeastOne:Xs,pleaseEnterButtonContent:Qs,pleaseEnterDataCodeInDataSetting:Js,pleaseEnterValueFieldCodeInDataSetting:Zs,pleaseEnterSvcCodeInDataSetting:Ys,pleaseBindAtLeastOneDisplayValueInDataSetting:ps,rootNodeIsRequiredInDataSetting:ed,pleaseEnterMaxHeight:td,pleaseEnter:nd,pleaseEnterWatermark:id,pleaseEnterFileName:ud,pleaseUploadAtLeastOnePrintTemplate:ad,pleaseAssignBusiness:rd,pleaseAssignExternal:ld},cd="Please enter a number",sd="Please enter a string",dd="Please enter an object",fd="Please enter an array",hd="Please enter a boolean",yd="{caption} Required",md="Please enter the title",vd="Please enter the bubble prompt",gd="Please enter the prompt text",bd="Please bind data items",_d="Please bind the form",Ed="Please bind the list",Cd="Please bind the process",wd="Please enter the displayed value",Id="Please enter the stored value",Ad="The document number is not bound to the data item",Sd="Please select at least one display field",Bd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Td="Please enter a value greater than or equal to {min}",Rd="Please enter a value less than or equal to {max}",Dd="The value range is set incorrectly",xd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Pd="The attachment size must be between 0MB and 1000MB",Fd="Please fill in the total score setting",kd="The total score cannot be less than 1",Od="The default value must be between {min} and {max}",Md="The number of attachments uploaded must be between {min} and {max}",Ld="Please re-select the optional quantity",$d="The maximum length of the control must be greater than the minimum length",Nd="The minimum length of the control must be less than the maximum length",Vd="Please select the correct option setting",Hd="Option ID cannot be repeated",qd="Please enter at least one option",jd="Please bind the data source",Ud="Please bind the stored value",Wd="Please bind the service",Kd="At least one display value must be bound",zd="Please select a province",Gd="Please select a city",Xd="Please select a district",Qd="The minimum number of lines to fill in cannot be less than 0",Jd="The number of rows cannot be less than {min} rows",Zd="Please enter the column width",Yd="Please set the logical relationship of all rule conditions",pd="Please complete all rules and conditions",ef="please select control",tf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",nf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",uf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",af="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",rf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",lf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",of="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",cf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",df="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ff="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",hf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",yf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",mf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",vf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",bf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_f="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ef={isNotNumber:cd,isNotString:sd,isNotObject:dd,isNotArray:fd,isNotBoolean:hd,runtimeRequired:yd,pleaseEnterCaption:md,pleaseEnterCaptionTip:vd,pleaseEnterPlaceholder:gd,pleaseEnterFieldCode:bd,pleaseEnterForm:_d,pleaseEnterList:Ed,pleaseEnterProcess:Cd,pleaseEnterLabel:wd,pleaseEnterValue:Id,bizKeyNotBindFiled:Ad,pleaseSelectOneField:Sd,pleaseEnterNumberRange:Bd,pleaseEnterAValueGreaterThanMin:Td,pleaseEnterAValueLessThanMax:Rd,numberRangeSetError:Dd,stringRangeError:xd,attachmentMaxSize:Pd,pleaseEnterTotalScoreSetting:Fd,theTotalScoreMustNotBeLessThan1:kd,scoreDefaultValueRange:Od,attachmentLimitError:Md,PleaseReselectTheOptionalQuantity:Ld,TheMaximumLengthIsGreaterThanTheMinimumLength:$d,TheMinimumLengthIsGreaterThanTheMaximumLength:Nd,PleaseSelectTheCorrectOptionSettings:Vd,optionIdIsRepeat:Hd,optionIsRequired:qd,pleaseEnterDataCode:jd,pleaseEnterValueFieldCode:Ud,pleaseEnterSvcCode:Wd,pleaseBindAtLeastOneDisplayValue:Kd,pleaseSelectProvince:zd,pleaseSelectCity:Gd,pleaseSelectDistrict:Xd,limitRowsCannotBeLessThan0:Qd,TheNumberOfRowsCannotBeLessThanMinRows:Jd,pleaseEnterColumnWidth:Zd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Yd,pleaseCompleteAllRulesAndConditions:pd,pleaseSelectControl:ef,pleaseSelectDashboard:tf,theViewNameCannotBeEmpty:nf,pleaseSelectOcrType:uf,pleaseSelectAtLeastOneFieldToFillIn:af,pleaseChooseAtLeastOne:rf,pleaseEnterButtonContent:lf,pleaseEnterDataCodeInDataSetting:of,pleaseEnterValueFieldCodeInDataSetting:cf,pleaseEnterSvcCodeInDataSetting:sf,pleaseBindAtLeastOneDisplayValueInDataSetting:df,rootNodeIsRequiredInDataSetting:ff,pleaseEnterMaxHeight:hf,pleaseEnter:yf,pleaseEnterWatermark:mf,pleaseEnterFileName:vf,pleaseUploadAtLeastOnePrintTemplate:gf,pleaseAssignBusiness:bf,pleaseAssignExternal:_f},Cf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",If="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Af="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bf="{caption}\u5FC5\u9808",Tf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Df="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Of="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$f="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",jf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Kf="\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",Gf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Xf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qf="\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",Jf="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Zf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",eh="\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",nh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ih="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",uh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ah="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ch="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",fh="please select control",hh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",yh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",vh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",gh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",bh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",_h="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ch="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",wh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ah="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Sh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Bh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Th="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Rh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Dh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",xh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ph={isNotNumber:Cf,isNotString:wf,isNotObject:If,isNotArray:Af,isNotBoolean:Sf,runtimeRequired:Bf,pleaseEnterCaption:Tf,pleaseEnterCaptionTip:Rf,pleaseEnterPlaceholder:Df,pleaseEnterFieldCode:xf,pleaseEnterForm:Pf,pleaseEnterList:Ff,pleaseEnterProcess:kf,pleaseEnterLabel:Of,pleaseEnterValue:Mf,bizKeyNotBindFiled:Lf,pleaseSelectOneField:$f,pleaseEnterNumberRange:Nf,pleaseEnterAValueGreaterThanMin:Vf,pleaseEnterAValueLessThanMax:Hf,numberRangeSetError:qf,stringRangeError:jf,attachmentMaxSize:Uf,pleaseEnterTotalScoreSetting:Wf,theTotalScoreMustNotBeLessThan1:Kf,scoreDefaultValueRange:zf,attachmentLimitError:Gf,PleaseReselectTheOptionalQuantity:Xf,TheMaximumLengthIsGreaterThanTheMinimumLength:Qf,TheMinimumLengthIsGreaterThanTheMaximumLength:Jf,PleaseSelectTheCorrectOptionSettings:Zf,optionIdIsRepeat:Yf,optionIsRequired:pf,pleaseEnterDataCode:eh,pleaseEnterValueFieldCode:th,pleaseEnterSvcCode:nh,pleaseBindAtLeastOneDisplayValue:ih,pleaseSelectProvince:uh,pleaseSelectCity:ah,pleaseSelectDistrict:rh,limitRowsCannotBeLessThan0:lh,TheNumberOfRowsCannotBeLessThanMinRows:oh,pleaseEnterColumnWidth:ch,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sh,pleaseCompleteAllRulesAndConditions:dh,pleaseSelectControl:fh,pleaseSelectDashboard:hh,theViewNameCannotBeEmpty:yh,pleaseSelectOcrType:mh,pleaseSelectAtLeastOneFieldToFillIn:vh,pleaseChooseAtLeastOne:gh,pleaseEnterButtonContent:bh,pleaseEnterDataCodeInDataSetting:_h,pleaseEnterValueFieldCodeInDataSetting:Eh,pleaseEnterSvcCodeInDataSetting:Ch,pleaseBindAtLeastOneDisplayValueInDataSetting:wh,rootNodeIsRequiredInDataSetting:Ih,pleaseEnterMaxHeight:Ah,pleaseEnter:Sh,pleaseEnterWatermark:Bh,pleaseEnterFileName:Th,pleaseUploadAtLeastOnePrintTemplate:Rh,pleaseAssignBusiness:Dh,pleaseAssignExternal:xh},Fh={zhCN:od,enUS:Ef,jaJP:Ph},fr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(fr||(fr={}));var hr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(hr||(hr={}));var kh="zh-CN";function ae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nt;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(nt||(nt={}));var E;(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"})(E||(E={}));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 ee;ee={},ae(ee,v.ARRAY,E.ARRAY_COLUMN),ae(ee,v.AUTO_NUMBER,E.AUTO_NUMBER_COLUMN),ae(ee,v.DECIMAL,E.DECIMAL_COLUMN),ae(ee,v.DEPARTMENTS,E.DEPARTMENT_COLUMN),ae(ee,v.FILE,E.FILE_COLUMN),ae(ee,v.IMAGE,E.IMAGE_COLUMN),ae(ee,v.ADDRESS,E.LOCATION_COLUMN),ae(ee,v.EMPLOYEES,E.EMPLOYEE_COLUMN),ae(ee,v.TEXT,E.TEXT_COLUMN),ae(ee,v.TIMESCOPE,E.TIMESCOPE_COLUMN),ae(ee,v.TIMESTAMP,E.TIMESTAMP_COLUMN),ae(ee,v.VARCHAR,E.VARCHAR_COLUMN),ae(ee,v.RELATION,E.VARCHAR_COLUMN);var Ae;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(Ae||(Ae={}));var yr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Oh=yr+"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?yr:Oh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Qi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Mh(t){if(Array.isArray(t))return Qi(t)}function Lh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t,e,n){return br()?An=Reflect.construct:An=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&wt(o,r.prototype),o},An.apply(null,arguments)}function Ct(t){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ct(t)}function vr(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&&wt(t,e)}function $h(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Nh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Vh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Hh(t,e){return e&&(qh(e)==="object"||typeof e=="function")?e:Lh(t)}function wt(t,e){return wt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wt(t,e)}function gr(t){return Mh(t)||Nh(t)||jh(t)||Vh()}function qh(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jh(t,e){if(!!t){if(typeof t=="string")return Qi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qi(t,e)}}function Ji(t){var e=typeof Map=="function"?new Map:void 0;return Ji=function(i){if(i===null||!$h(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return An(i,arguments,Ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),wt(u,i)},Ji(t)}function br(){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 _r(t){var e=br();return function(){var i=Ct(t),u;if(e){var a=Ct(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Hh(this,u)}}var Zi=console;function Yi(){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=Zi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(gr(u)))}function Er(){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=Zi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(gr(u)))}function Uh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var pi=function(t){vr(n,t);var e=_r(n);function n(i){mr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Uh(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ji(Error)),Wh=function(t){vr(n,t);var e=_r(n);function n(i){mr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(pi);function It(t){throw new pi(t)}function Cr(t){throw new Wh(t)}function Kh(t){Zi.error(new pi(t))}var zh=Object.prototype.toString;function wr(t,e){return zh.call(t)==="[object "+e+"]"}function Gh(t){return wr(t,"String")}function Xh(t){return wr(t,"Promise")}var Qh=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();Xh(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&&!Gh(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 Jh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ir(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 Zh(t,e,n){return e&&Ir(t.prototype,e),n&&Ir(t,n),t}function Yh(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(){Jh(this,t)}return Zh(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]:kh;return new Qh({locale:n,messages:Fh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();Yh(d,"$i18n",d.resetI18n());function ph(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)){Yi("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 ey=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ty={exports:{}};(function(t){(function(e){var n=function(m,w,x){if(!o(w)||g(w)||b(w)||C(w)||s(w))return w;var F,$=0,ce=0;if(f(w))for(F=[],ce=w.length;$<ce;$++)F.push(n(m,w[$],x));else{F={};for(var P in w)Object.prototype.hasOwnProperty.call(w,P)&&(F[m(P,x)]=n(m,w[P],x))}return F},i=function(m,w){w=w||{};var x=w.separator||"_",F=w.split||/(?=[A-Z])/;return m.split(F).join(x)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(w,x){return x?x.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var w=u(m);return w.substr(0,1).toUpperCase()+w.substr(1)},r=function(m,w){return i(m,w).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]"},C=function(m){return l.call(m)=="[object Boolean]"},I=function(m){return m=m-0,m===m},_=function(m,w){var x=w&&"process"in w?w.process:w;return typeof x!="function"?m:function(F,$){return x(F,m,$)}},A={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,w){return n(_(u,w),m)},decamelizeKeys:function(m,w){return n(_(r,w),m,w)},pascalizeKeys:function(m,w){return n(_(a,w),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=A:e.humps=A})(ey)})(ty);var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});function eu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:eu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:eu(i)}return e}}var ny=Ar.default=eu;function Se(t){if(t!==void 0)return typeof t=="object"?ny(t):t}function iy(t){return Object.prototype.toString.call(t)==="[object Object]"}function tu(t){return Array.isArray(t)}function uy(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function nu(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 ay(t){if(Array.isArray(t))return nu(t)}function Sr(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 ry(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Sr(a,i,u,r,l,"next",s)}function l(s){Sr(a,i,u,r,l,"throw",s)}r(void 0)})}}function ly(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Br(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 oy(t,e,n){return e&&Br(t.prototype,e),n&&Br(t,n),t}function Tr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function sy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function iu(t){return ay(t)||cy(t)||dy(t)||sy()}function dy(t,e){if(!!t){if(typeof t=="string")return nu(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 nu(t,e)}}var fy=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}}},hy=function(){function t(){ly(this,t),Tr(this,"_events",new Map),Tr(this,"debug",!1)}return oy(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 ry(function(){var l,s,o,f,g,b,C,I,_,A,m,w;return fy(this,function(x){switch(x.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),f=!0,g=!1,b=void 0,x.label=1;case 1:x.trys.push([1,8,9,10]),C=o[Symbol.iterator](),x.label=2;case 2:if(f=(I=C.next()).done)return[3,7];if(_=I.value,!l.includes(_))return[3,6];x.label=3;case 3:return x.trys.push([3,5,,6]),r.debug&&Er.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(iu(u))),[4,_.apply(null,iu(u))];case 4:return A=x.sent(),r.debug&&Er.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(iu(u),[A])),s.push(A),A===!1?[3,7]:[3,6];case 5:return m=x.sent(),Kh(String(m)+":"+String(m.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return w=x.sent(),g=!0,b=w,[3,10];case 9:try{!f&&C.return!=null&&C.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 yy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rr(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&&Rr(t.prototype,e),n&&Rr(t,n),t}function vy(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"}],by=function(){function t(){yy(this,t)}return my(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}();vy(by,"events",gy);function _y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ey(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function Me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xr=[],uu=function(){function t(e){_y(this,t),Me(this,"registeredControlTypes",new Set),Me(this,"controlConfigMap",new Map),Me(this,"_controls",[]),Me(this,"_type",void 0),this._type=e,this._initControls(e)}return Ey(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__||It("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Yi("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===nt.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===nt.FORM}},{key:"isListControl",value:function(n){return n.controlType===nt.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===nt.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 It("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__)&&It("".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&&(Yi("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}();Me(uu,"staticControls",xr),Me(uu,"staticRegisteredTypes",new Set(xr.map(function(t){return t.Designer.controlType}))),Me(uu,"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 S(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 Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(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&&au(t,e)}function Pr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Cy(t,e){return e&&(wy(e)==="object"||typeof e=="function")?e:H(t)}function au(t,e){return au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},au(t,e)}function wy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Iy(){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=Iy();return function(){var i=Sn(t),u;if(e){var a=Sn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cy(this,u)}}var fe=function t(e){S(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:""},Fr=function t(e){S(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},ru=function(t){ye(n,t);var e=me(n);function n(i){S(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}(Fr),Ay=function t(e){S(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new ru(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ru(e==null?void 0:e.mobile):new ru({width:130,minWidth:180})},Sy=function t(e){S(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:[]},lu=function t(e){S(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:""},By=function(t){ye(n,t);var e=me(n);function n(i){S(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}(lu),kr=function t(e){S(this,t),y(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Or=function t(e){S(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 kr(r)}))!==null&&a!==void 0?a:[]},Ty=function t(e){S(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},Ry=function(t){ye(n,t);var e=me(n);function n(i){S(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}(lu),Dy=function t(e){S(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 lu(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 Ty(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 Ry(r)}))!==null&&a!==void 0?a:[]},xy=function t(e){S(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},At=function t(e){S(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:[]},Py=function t(e){var n=this;S(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 Mr(l);(f=n.children)===null||f===void 0||f.push(g)}}))},Mr=function t(e){S(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 xy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new At(e==null?void 0:e.rightVariableBo)},re=function t(e){S(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:""},ou=function t(e){S(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},Fy=function t(e){S(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 Py(a):new Mr(a)}))!==null&&n!==void 0?n:[],Pr(this,te)||Pr(this,su)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(a){return new Fy(a)}))!==null&&u!==void 0?u:[]}}var te=function t(e){var n=this;S(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 ou(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)},Be=function t(e){S(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},ky=function t(e){S(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 ou(r)}))!==null&&a!==void 0?a:[]},Bn=function(t){ye(n,t);var e=me(n);function n(i){S(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 ky(l)}))!==null&&r!==void 0?r:[],u}return n}(te),Oy=function(t){ye(n,t);var e=me(n);function n(i){S(this,n);var u;return u=e.call(this,i),y(H(u),"rootNode",void 0),u.rootNode=new At(i==null?void 0:i.rootNode),u}return n}(Bn),Lr=function t(e){S(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 re(r)}))!==null&&a!==void 0?a:[]},su=function(t){ye(n,t);var e=me(n);function n(i){S(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}(Lr),$r=function(t){ye(n,t);var e=me(n);function n(i){S(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}(Lr),Nr=function t(e){S(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:""},My=function t(e){S(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 _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new My(n)}))!==null&&e!==void 0?e:[]}var du=function t(){S(this,t)},Ly=function(t){ye(n,t);var e=me(n);function n(i){S(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}(du),$y=function t(e){S(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:Tn.CNY},Ny=function(t){ye(n,t);var e=me(n);function n(i){S(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}(du),Vy=function t(e){S(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:""},Hy=function t(e){S(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:""},qy=function(t){ye(n,t);var e=me(n);function n(i){S(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}(du),jy=function t(e){S(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:""},Tn;(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"})(Tn||(Tn={}));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 fu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(fu||(fu={}));var Te=function t(e){S(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},Uy=function t(e){S(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 kr(r)}))!==null&&a!==void 0?a:[],cu.call(this,e)},Wy=function t(e){S(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 Ky(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t,e,n){return Vr()?Rn=Reflect.construct:Rn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Bt(o,r.prototype),o},Rn.apply(null,arguments)}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}function St(t){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},St(t)}function zy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bt(t,e)}function Gy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Xy(t,e){return e&&(Qy(e)==="object"||typeof e=="function")?e:Ky(t)}function Bt(t,e){return Bt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bt(t,e)}function Qy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yu(t){var e=typeof Map=="function"?new Map:void 0;return yu=function(i){if(i===null||!Gy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Rn(i,arguments,St(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Bt(u,i)},yu(t)}function Vr(){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 Jy(t){var e=Vr();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 Xy(this,u)}}var U=function t(e){hu(this,t),Le(this,"isHide",{type:"boolean"})},$e=function(t){zy(n,t);var e=Jy(n);function n(i){return hu(this,n),e.call(this)}return n}(yu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";hu(this,t),Le(this,"isHide",void 0),Le(this,"className",void 0),Le(this,"style",void 0),Le(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Wy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Le(G,"Rules",U),Le(G,"RuntimeRules",$e);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 Zy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function mu(t){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(t)}function Dn(t,e){return Dn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Dn(t,e)}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 xn(t,e,n){return Yy()?xn=Reflect.construct:xn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Dn(o,r.prototype),o},xn.apply(null,arguments)}function py(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vu(t){var e=typeof Map=="function"?new Map:void 0;return vu=function(i){if(i===null||!py(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 xn(i,arguments,mu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Dn(u,i)},vu(t)}var em=/%[sdj%]/g,Hr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Hr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function gu(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(em,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 tm(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||tm(e)&&typeof t=="string"&&!t)}function nm(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 qr(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 im(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var jr=function(t){Zy(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}(vu(Error));function um(t,e,n,i){if(e.first){var u=new Promise(function(g,b){var C=function(A){return i(A),A.length?b(new jr(A,gu(A))):g()},I=im(t);qr(I,n,C)});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 C=function(_){if(o.push.apply(o,_),s++,s===l)return i(o),o.length?b(new jr(o,gu(o))):g()};r.length||(i(o),g()),r.forEach(function(I){var _=t[I];a.indexOf(I)!==-1?qr(_,n,C):nm(_,n,C)})});return f.catch(function(g){return g}),f}function Ur(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 Wr(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 Kr(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 am(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var bu={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},Tt={integer:function(e){return Tt.number(e)&&parseInt(e,10)===e},float:function(e){return Tt.number(e)&&!Tt.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"&&!Tt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(bu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(bu.url)},hex:function(e){return typeof e=="string"&&!!e.match(bu.hex)}};function rm(t,e,n,i,u){if(t.required&&e===void 0){Kr(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?Tt[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 lm(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",C=Array.isArray(e);if(g?f="number":b?f="string":C&&(f="array"),!f)return!1;C&&(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 it="enum";function om(t,e,n,i,u){t[it]=Array.isArray(t[it])?t[it]:[],t[it].indexOf(e)===-1&&i.push(le(u.messages[it],t.fullField,t[it].join(", ")))}function cm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var B={required:Kr,whitespace:am,type:rm,range:lm,enum:om,pattern:cm};function sm(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();B.required(t,e,i,a,u,"string"),W(e,"string")||(B.type(t,e,i,a,u),B.range(t,e,i,a,u),B.pattern(t,e,i,a,u),t.whitespace===!0&&B.whitespace(t,e,i,a,u))}n(a)}function dm(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();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function fm(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();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function hm(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();B.required(t,e,i,a,u),e!==void 0&&B.type(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(W(e)&&!t.required)return n();B.required(t,e,i,a,u),W(e)||B.type(t,e,i,a,u)}n(a)}function mm(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();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function vm(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();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function 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();B.required(t,e,i,a,u,"array"),e!=null&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function bm(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();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}var _m="enum";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();B.required(t,e,i,a,u),e!==void 0&&B[_m](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,"string")&&!t.required)return n();B.required(t,e,i,a,u),W(e,"string")||B.pattern(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,"date")&&!t.required)return n();if(B.required(t,e,i,a,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),B.type(t,l,i,a,u),l&&B.range(t,l.getTime(),i,a,u)}}n(a)}function Im(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;B.required(t,e,i,a,u,r),n(a)}function _u(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();B.required(t,e,i,r,u,a),W(e,a)||B.type(t,e,i,r,u)}n(r)}function Am(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();B.required(t,e,i,a,u)}n(a)}var Rt={string:sm,method:dm,number:fm,boolean:hm,regexp:ym,integer:mm,float:vm,array:gm,object:bm,enum:Em,pattern:Cm,date:wm,url:_u,hex:_u,email:_u,required:Im,any:Am};function Eu(){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 Cu=Eu();function Re(t){this.rules=null,this._messages=Cu,this.define(t)}Re.prototype={messages:function(e){return e&&(this._messages=Wr(Eu(),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(_){var A,m=[],w={};function x(F){if(Array.isArray(F)){var $;m=($=m).concat.apply($,F)}else m.push(F)}for(A=0;A<_.length;A++)x(_[A]);m.length?w=gu(m):(m=null,w=null),l(m,w)}if(r.messages){var o=this.messages();o===Cu&&(o=Eu()),Wr(o,r.messages),r.messages=o}else r.messages=this.messages();var f,g,b={},C=r.keys||Object.keys(this.rules);C.forEach(function(_){f=u.rules[_],g=a[_],f.forEach(function(A){var m=A;typeof m.transform=="function"&&(a===e&&(a=ve({},a)),g=a[_]=m.transform(g)),typeof m=="function"?m={validator:m}:m=ve({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(b[_]=b[_]||[],b[_].push({rule:m,value:g,source:a,field:_}))})});var I={};return um(b,r,function(_,A){var m=_.rule,w=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");w=w&&(m.required||!m.required&&_.value),m.field=_.field;function x(ce,P){return ve(ve({},P),{},{fullField:m.fullField+"."+ce})}function F(ce){ce===void 0&&(ce=[]);var P=ce;if(Array.isArray(P)||(P=[P]),!r.suppressWarning&&P.length&&Re.warning("async-validator:",P),P.length&&m.message!==void 0&&(P=[].concat(m.message)),P=P.map(Ur(m)),r.first&&P.length)return I[m.field]=1,A(P);if(!w)A(P);else{if(m.required&&!_.value)return m.message!==void 0?P=[].concat(m.message).map(Ur(m)):r.error&&(P=[r.error(m,le(r.messages.required,m.field))]),A(P);var se={};if(m.defaultField)for(var Cn in _.value)_.value.hasOwnProperty(Cn)&&(se[Cn]=m.defaultField);se=ve(ve({},se),_.rule.fields);for(var we in se)if(se.hasOwnProperty(we)){var f_=Array.isArray(se[we])?se[we]:[se[we]];se[we]=f_.map(x.bind(null,we))}var ts=new Re(se);ts.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),ts.validate(_.value,_.rule.options||r,function(cr){var bt=[];P&&P.length&&bt.push.apply(bt,P),cr&&cr.length&&bt.push.apply(bt,cr),A(bt.length?bt:null)})}}var $;m.asyncValidator?$=m.asyncValidator(m,_.value,F,_.source,r):m.validator&&($=m.validator(m,_.value,F,_.source,r),$===!0?F():$===!1?F(m.message||m.field+" fails"):$ instanceof Array?F($):$ instanceof Error&&F($.message)),$&&$.then&&$.then(function(){return F()},function(ce){return F(ce)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Rt.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"?Rt.required:Rt[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");Rt[e]=n},Re.warning=Hr,Re.messages=Cu,Re.validators=Rt;var Sm={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 Bm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Re(t);return n.messages(Object.assign(Sm,e)),n}var Tm=new hy;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 Rm(t){if(Array.isArray(t))return t}function Dm(t){if(Array.isArray(t))return wu(t)}function zr(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 Gr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){zr(a,i,u,r,l,"next",s)}function l(s){zr(a,i,u,r,l,"throw",s)}r(void 0)})}}function xm(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 Pm(t,e,n){return e&&Xr(t.prototype,e),n&&Xr(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 Qr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Jr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fm(){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 km(){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 Zr(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 Om(t){return Rm(t)||Jr(t)||Yr(t)||Fm()}function Iu(t){return Dm(t)||Jr(t)||Yr(t)||km()}function Yr(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)}}var pr=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}}},O=function(){function e(n){var i=this;xm(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",tl),k(this,"removeSetting",el),this._callControlHooks("preInstance",n);var u=Qr(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||Cr("The ".concat(g," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C: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,(Qr(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Se(b);var A;this.fieldType=(A=n==null?void 0:n.fieldType)!==null&&A!==void 0?A:s,this.eventKeys=Se(o),this.customEvents=Se(f),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Pm(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=Om(u),s=l[0],o=l.slice(1);return(r=Tm).emit.apply(r,[s,this].concat(Iu(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),ph(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Gr(function(){var u,a,r;return pr(this,function(l){switch(l.label){case 0:return u=Zr({},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 Gr(function(){var r,l,s,o;return pr(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:r=f.sent(),l=r!==void 0?r:Zr({},a.rules),Array.isArray(u)&&u.forEach(function(g){l.hasOwnProperty(g)&&delete l[g]}),s=Bm(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,C=l.maxLength,I=l.options,_=l.encrypted,A=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),C!==void 0&&(m.maxLength=C),_!==void 0&&(m.encrypted=_),A!==void 0&&(m.encryptedMode=A),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Se(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,Iu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();k(O,"controlName","\u63A7\u4EF6"),k(O,"controlIcon","icon"),k(O,"controlType","control"),k(O,"controlFieldType",void 0),k(O,"controlEventKeys",[]),k(O,"controlCustomEvents",[]),k(O,"setting",[]),k(O,"__is_control__",!0),k(O,"removeSettingItem",el),k(O,"updateSettingItem",tl);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(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 tl(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,Iu(e.showItems))}}}})}function Mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Lm(t,e,n){return e&&nl(t.prototype,e),n&&nl(t,n),t}function 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 $m(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Mm(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=$m(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Cr("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:fu.UNKNOWN}return Lm(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 Au(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=uy(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 Su(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 M(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pn(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 Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function kn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bu(t,e)}function Nm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Vm(t,e){return e&&(Hm(e)==="object"||typeof e=="function")?e:M(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}function Hm(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 On(t){var e=qm();return function(){var i=Fn(t),u;if(e){var a=Fn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Vm(this,u)}}var ne=function(t){kn(n,t);var e=On(n);function n(i){Pn(this,n);var u;u=e.call(this,i),L(M(u),"dataBind",{}),L(M(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),L(M(u),"isHideCaption",{type:"boolean"}),L(M(u),"labelPosition",{type:"enum",enum:["top","left"]}),L(M(u),"defaultState",{type:"enum",enum:["default","readonly"]}),L(M(u),"required",{type:"boolean"}),L(M(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(Nm(i.dataBind,fe))u.dataBind={type:"object",required:!0,fields:Se(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:Se(a),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),V=function(t){kn(n,t);var e=On(n);function n(i){Pn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}($e),T=function(t){kn(n,t);var e=On(n);function n(i){Pn(this,n);var u;u=e.call(this,i),L(M(u),"caption",void 0),L(M(u),"isHideCaption",void 0),L(M(u),"isShowCaptionTip",void 0),L(M(u),"captionTip",void 0),L(M(u),"labelPosition",void 0),L(M(u),"dataBind",void 0),L(M(u),"defaultValue",void 0),L(M(u),"placeholder",void 0),L(M(u),"defaultState",void 0),L(M(u),"required",void 0),L(M(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 C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",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(T,"Rules",ne),L(T,"RuntimeRules",V);var ut=function(t){kn(n,t);var e=On(n);function n(i){Pn(this,n);var u;return u=e.call(this,i),L(M(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),L(M(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),L(M(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Au.call(M(u),i),u}return n}(ne);function Tu(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 Mn(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 Um(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function Wm(t,e){return e&&(Km(e)==="object"||typeof e=="function")?e:Tu(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}function Km(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gm(t){var e=zm();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 Wm(this,u)}}var R=function(t){Um(n,t);var e=Gm(n);function n(i){jm(this,n);var u;return u=e.call(this,i),Mn(Tu(u),"controlType","form"),Mn(Tu(u),"props",void 0),u.props=new T(i==null?void 0:i.props),u}return n}(O);Mn(R,"controlEventKeys",["on_change","on_focus","on_blur"]),Mn(R,"controlCustomAttributes",void 0);function $n(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Du(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 Qm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xu(t,e)}function Jm(t,e){return e&&(Zm(e)==="object"||typeof e=="function")?e:$n(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function Zm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ym(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pm(t){var e=Ym();return function(){var i=Nn(t),u;if(e){var a=Nn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Jm(this,u)}}var D=function(t){Qm(n,t);var e=pm(n);function n(i){Xm(this,n);var u;return u=e.call(this,i),Du($n(u),"controlType","form"),Du($n(u),"props",void 0),Du($n(u),"value",void 0),u.props=new T(i==null?void 0:i.props),u}return n}(X);function ev(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function nv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pu(t,e)}function iv(t,e){return e&&(uv(e)==="object"||typeof e=="function")?e:ev(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pu(t,e)}function uv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function av(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rv(t){var e=av();return function(){var i=Vn(t),u;if(e){var a=Vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return iv(this,u)}}var q=function(t){nv(n,t);var e=rv(n);function n(i){return tv(this,n),e.call(this,i)}return n}(G);function Fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function lv(t){if(Array.isArray(t))return Fu(t)}function ov(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function il(t){return lv(t)||ov(t)||sv(t)||cv()}function sv(t,e){if(!!t){if(typeof t=="string")return Fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fu(t,e)}}function dv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ul(t,e){t.parent=e,dv(t,"parent")}function fv(t,e){t.forEach(function(n){ul(n,e)})}var al=Symbol("targetKey");function rl(t){var e;return(e=t[al])!==null&&e!==void 0?e:t}function ll(t,e){return fv(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===al?i:(s=Reflect).get.apply(s,[i,u].concat(il(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(tu(t)&&u==="length"&&a===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,a].concat(il(l)));return iy(a)&&ul(a,e),f}})}function Ee(t,e,n,i){var u=i!=null?i:t,a=ll(rl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=ll(rl(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 hv(t){if(Array.isArray(t))return ku(t)}function Ne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ol(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 yv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){ol(a,i,u,r,l,"next",s)}function l(s){ol(a,i,u,r,l,"throw",s)}r(void 0)})}}function mv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cl(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 vv(t,e,n){return e&&cl(t.prototype,e),n&&cl(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 at(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?at=Reflect.get:at=function(u,a,r){var l=Sv(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r||u):s.value}},at(t,e,n||t)}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(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&&Ou(t,e)}function bv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _v(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ev(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Cv(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){De(t,u,n[u])})}return t}function wv(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 Iv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):wv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Av(t,e){return e&&(Bv(e)==="object"||typeof e=="function")?e:Ne(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}function Sv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xe(t),t!==null););return t}function sl(t){return hv(t)||_v(t)||Tv(t)||Ev()}function Bv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tv(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 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 Dv(t){var e=Rv();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 Av(this,u)}}var xv=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}}},Pv=1e4,K=function(e){gv(i,e);var n=Dv(i);function i(u){mv(this,i);var a;a=n.call(this,u),De(Ne(a),"controlType","layout"),De(Ne(a),"children",void 0),De(Ne(a),"excludes",void 0),De(Ne(a),"childrenMaxLength",void 0),De(Ne(a),"props",void 0);var r=bv(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new q(u==null?void 0:u.props),Ee(Ne(a),"children",u==null?void 0:u.children),a.excludes=Se(l),a.childrenMaxLength=s,a}return vv(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 at(xe(i.prototype),"validate",l)};return yv(function(){return xv(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=at(xe(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 sl(s).concat(sl(g))}return f&&s.push(f),s},l)}},{key:"toSchema",value:function(){var a=at(xe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return Iv(Cv({},a),{children:r})}}]),i}(O);De(K,"excludes",!1),De(K,"childrenMaxLength",Pv);function Dt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function kv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lu(t,e)}function Ov(t,e){return e&&(Mv(e)==="object"||typeof e=="function")?e:Dt(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lu(t,e)}function Mv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $v(t){var e=Lv();return function(){var i=Hn(t),u;if(e){var a=Hn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ov(this,u)}}var Q=function(t){kv(n,t);var e=$v(n);function n(i){Fv(this,n);var u;return u=e.call(this,i),Mu(Dt(u),"controlType","layout"),Mu(Dt(u),"children",void 0),Mu(Dt(u),"props",void 0),u.props=new q(i==null?void 0:i.props),Ee(Dt(u),"children",i==null?void 0:i.children),u}return n}(X);function $u(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 Vv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function Hv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nu(t,e)}function qv(t,e){return e&&(jv(e)==="object"||typeof e=="function")?e:$u(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nu(t,e)}function jv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Uv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wv(t){var e=Uv();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 qv(this,u)}}var jn=function(t){Hv(n,t);var e=Wv(n);function n(i,u){Nv(this,n);var a;return a=e.call(this,u),Vv($u(a),"headers",void 0),Ee($u(a),"headers",u==null?void 0:u.headers,i),a}return n}(G);function Vu(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 Kv(t){if(Array.isArray(t))return Vu(t)}function Un(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 zv(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 Gv(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 Xv(t,e,n){return e&&fl(t.prototype,e),n&&fl(t,n),t}function Wn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,a,r){var l=eg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r||u):s.value}},rt(t,e,n||t)}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(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&&Hu(t,e)}function Jv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Zv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function hl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Wn(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 yl(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 pv(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:Un(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}function eg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pe(t),t!==null););return t}function ml(t){return Kv(t)||Jv(t)||ng(t)||Zv()}function tg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ng(t,e){if(!!t){if(typeof t=="string")return Vu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vu(t,e)}}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 ug(t){var e=ig();return function(){var i=Pe(t),u;if(e){var a=Pe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return pv(this,u)}}var ag=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}}},qu=function(t){Qv(n,t);var e=ug(n);function n(i){Gv(this,n);var u;return u=e.call(this,i),Wn(Un(u),"controlType","list"),Wn(Un(u),"props",void 0),u.props=new jn(Un(u),i==null?void 0:i.props),u}return Xv(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return rt(Pe(n.prototype),"validate",r)};return zv(function(){return ag(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=rt(Pe(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 ml(l).concat(ml(f))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=rt(Pe(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return yl(hl({},u),{props:yl(hl({},this.props),{headers:a})})}}]),n}(O);Wn(qu,"controlFieldType",v.LIST);function lt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function lg(t,e,n){return e&&vl(t.prototype,e),n&&vl(t,n),t}function ju(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 og(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function cg(t,e){return e&&(sg(e)==="object"||typeof e=="function")?e:lt(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}function sg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fg(t){var e=dg();return function(){var i=Kn(t),u;if(e){var a=Kn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cg(this,u)}}var gl=function(t){og(n,t);var e=fg(n);function n(i){rg(this,n);var u;return u=e.call(this,i),ju(lt(u),"controlType","list"),ju(lt(u),"children",void 0),ju(lt(u),"props",void 0),u.props=new jn(lt(u),i==null?void 0:i.props),Ee(lt(u),"children",i==null?void 0:i.children),u}return lg(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 Wu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z(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 Ku(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zu(t,e)}function hg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:J(t)}function zu(t,e){return zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zu(t,e)}function yg(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 Gu(t){var e=mg();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 hg(this,u)}}var Xu=function(t){Ku(n,t);var e=Gu(n);function n(i){Wu(this,n);var u;return u=e.call(this,i),Z(J(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Z(J(u),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){Ku(n,t);var e=Gu(n);function n(i){Wu(this,n);var u;u=e.call(this,i),Z(J(u),"widthType",void 0),Z(J(u),"width",void 0),Z(J(u),"caption",void 0),Z(J(u),"dataBind",void 0),Z(J(u),"autoWidth",void 0),Z(J(u),"fixed",void 0),Z(J(u),"sort",void 0),Z(J(u),"align",void 0),Z(J(u),"colSpan",void 0),Z(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 Fr(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);Z(z,"Rules",Xu);var bl=function(t){Ku(n,t);var e=Gu(n);function n(i){Wu(this,n);var u;return u=e.call(this,i),Z(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Z(J(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),Z(J(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Au.call(J(u),i),u}return n}(Xu);function Qu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _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 Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function gg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ju(t,e)}function bg(t,e){return e&&(_g(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)}function _g(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 Cg(t){var e=Eg();return function(){var i=Gn(t),u;if(e){var a=Gn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return bg(this,u)}}var Y=function(t){gg(n,t);var e=Cg(n);function n(i){vg(this,n);var u;return u=e.call(this,i),_l(Qu(u),"controlType","column"),_l(Qu(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(O);function Zu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function El(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(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 Ag(t,e){return e&&(Sg(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)}function Sg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tg(t){var e=Bg();return function(){var i=Xn(t),u;if(e){var a=Xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ag(this,u)}}var p=function(t){Ig(n,t);var e=Tg(n);function n(i){wg(this,n);var u;return u=e.call(this,i),El(Zu(u),"controlType","column"),El(Zu(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(X);function Cl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dg(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 xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function Pg(t,e){return e&&(Fg(e)==="object"||typeof e=="function")?e:Cl(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function Fg(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 Og(t){var e=kg();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 Pg(this,u)}}var ea=function(t){xg(n,t);var e=Og(n);function n(i){Rg(this,n);var u;return u=e.call(this,i),Dg(Cl(u),"dataBind",void 0),u.dataBind=new fe(i==null?void 0:i.dataBind),u}return n}(q);function ta(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mg(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 Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Lg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function $g(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:ta(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function Ng(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Hg(t){var e=Vg();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 $g(this,u)}}var qg=function(t){Lg(n,t);var e=Hg(n);function n(i){Mg(this,n);var u;return u=e.call(this,i),wl(ta(u),"controlType","search"),wl(ta(u),"props",void 0),u.props=new ea(i==null?void 0:i.props),u}return n}(K);function ia(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 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 Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function Ug(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function Wg(t,e){return e&&(Kg(e)==="object"||typeof e=="function")?e:ia(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function Kg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gg(t){var e=zg();return function(){var i=Zn(t),u;if(e){var a=Zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Wg(this,u)}}var Xg=function(t){Ug(n,t);var e=Gg(n);function n(i){jg(this,n);var u;return u=e.call(this,i),Il(ia(u),"controlType","search"),Il(ia(u),"props",void 0),u.props=new ea(i==null?void 0:i.props),u}return n}(Q);class aa 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 Al extends O{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Al.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Qg extends X{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"text"}}var Sl={Designer:Al,Runtime:Qg,Property:aa};class ra 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 la extends O{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}la.controlEventKeys=["on_click"],la.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Jg extends X{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlType(){return"link"}}var Bl={Designer:la,Runtime:Jg,Property:ra};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 O{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 Tl={Designer:ue,Runtime:oe,Property:ie},Fe=(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))(Fe||{}),Rl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Rl||{}),Dl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Dl||{});class Yn{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 oa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(oa||{});class pn{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 ca=(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))(ca||{});class sa{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 At((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 At((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new At((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class xl{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 sa(s)))!=null?u:[new sa],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 da{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 fa{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 Pl{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 fa(e==null?void 0:e.watermark),this.autoRename=new fa(e==null?void 0:e.autoRename)}}const Fl=480;function xt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class kl{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 Ol{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 Ml=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ml||{}),ha=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(ha||{}),ya=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(ya||{}),ot=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ot||{}),ma=(t=>(t.ALL="all",t.ADMIN="admin",t))(ma||{});class va 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:ca.SOLID}}class Ll extends O{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Ll.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Zg extends X{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"divider"}}var $l={Designer:Ll,Runtime:Zg,Property:va};class Yg 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(Fe.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 ei 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:[Fe.ShowSubmitUser,Fe.ShowSubmitDept,Fe.ShowSubmitTime,Fe.ShowCurrentApprovar,Fe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ct==null?void 0:ct.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}ei.Rules=Yg;class ct extends O{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}ct.controlFieldType=v.AUTO_NUMBER,ct.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class pg extends X{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"title"}}var Nl={Designer:ct,Runtime:pg,Property:ei};class e0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class ti extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Pt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Pt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}ti.Rules=e0;class Pt extends ue{constructor(e){super(e),this.props=new ti(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"}}Pt.controlEventKeys=["on_click","on_click_finish"],Pt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class t0 extends oe{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Vl={Designer:Pt,Runtime:t0,Property:ti};class n0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class ni extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}ni.Rules=n0;class Ft extends ue{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ft.controlEventKeys=["on_click","on_click_finish"],Ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class i0 extends oe{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Hl={Designer:Ft,Runtime:i0,Property:ni};class ga 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 ga(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}kt.controlEventKeys=["on_click"],kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class u0 extends oe{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var ql={Designer:kt,Runtime:u0,Property:ga};class ba extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ot.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ot.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new da(r)))!=null?a:[new da({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ot extends ue{constructor(e){super(e),this.props=new ba(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"}}Ot.controlEventKeys=["on_click","on_click_finish"],Ot.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class a0 extends oe{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var jl={Designer:Ot,Runtime:a0,Property:ba};class _a extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Mt.controlIcon}}class Mt extends ue{constructor(e){super(e),this.props=new _a(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"}}Mt.controlEventKeys=["on_click"],Mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class r0 extends oe{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Ul={Designer:Mt,Runtime:r0,Property:_a};class l0{constructor(e){this.dataCode=e.dataCode}}class Ea extends ie{constructor(e){var n,i,u,a;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,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new l0(r)))!=null?a:[]}}class Lt extends ue{constructor(e){super(e),this.props=new Ea(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"}}Lt.controlEventKeys=["on_click","on_click_finish"],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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class o0 extends oe{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Wl={Designer:Lt,Runtime:o0,Property:Ea};function ii(){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 c0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ie({},ii())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ie({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ii())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class ui extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:$t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:$t.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new su(e==null?void 0:e.fillPayload),this.formBind=new By(e==null?void 0:e.formBind),this.fillBack=new $r(e==null?void 0:e.fillBack)}}ui.Rules=c0;class $t extends ue{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class s0 extends oe{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Kl={Designer:$t,Runtime:s0,Property:ui};class d0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ie({},ii())},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:Ie({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ii())}}}class ai extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Nt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Nt.controlIcon,this.fillPayload=new su(e==null?void 0:e.fillPayload),this.listPageBind=new Or(e==null?void 0:e.listPageBind),this.fillBack=new $r(e==null?void 0:e.fillBack)}}ai.Rules=d0;class Nt extends ue{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"}}Nt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Nt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class f0 extends oe{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var zl={Designer:Nt,Runtime:f0,Property:ai};class h0 extends U{constructor(e){super(e)}}class y0 extends $e{constructor(e){super(e)}}class Vt extends G{constructor(e){super(e)}}Vt.Rules=h0,Vt.RuntimeRules=y0;class Gl extends O{constructor(e){super(e),this.props=new Vt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Gl.setting=[];class m0 extends X{constructor(e){super(e),this.props=new Vt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Xl={Designer:Gl,Runtime:m0,Property:Vt};class v0 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 ri 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"}}ri.Rules=v0;class Ql extends O{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ql.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class g0 extends X{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Jl={Designer:Ql,Runtime:g0,Property:ri};class b0 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 li 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 Uy(a)))!=null?u:[]}}li.Rules=b0;class Zl extends O{constructor(e){super(e),this.props=new li(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"}}Zl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class _0 extends X{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Yl={Designer:Zl,Runtime:_0,Property:li};class E0 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 oi 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:st.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:st.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:st.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 re(b)))!=null?g:[]}}oi.Rules=E0;class st extends ue{constructor(e){super(e),this.props=new oi(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"}}st.controlEventKeys=["on_click","on_click_finish"],st.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 C0 extends oe{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var pl={Designer:st,Runtime:C0,Property:oi};class w0 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 ci 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:dt.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:dt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:dt.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 re(b)))!=null?g:[]}}ci.Rules=w0;class dt extends ue{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}dt.controlEventKeys=["on_click","on_click_finish"],dt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class I0 extends oe{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var eo={Designer:dt,Runtime:I0,Property:ci};class A0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class si extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ht.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new kl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}si.Rules=A0;class Ht extends ue{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"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 S0 extends oe{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:Ht,Runtime:S0,Property:si};class Ca extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon}}class qt extends ue{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class B0 extends oe{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var no={Designer:qt,Runtime:B0,Property:Ca};class T0 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 di 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}}di.Rules=T0;class fi extends O{constructor(e){super(e),this.props=new di(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"}}fi.controlEventKeys=["on_click"],fi.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 R0 extends X{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var io={Designer:fi,Runtime:R0,Property:di};class wa 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:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(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 jt extends O{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}jt.controlEventKeys=["on_click"],jt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class D0 extends X{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var uo={Designer:jt,Runtime:D0,Property:wa},x0=Object.freeze({__proto__:null,Text:Sl,Link:Bl,Button:Tl,Divider:$l,Title:Nl,CreateFormListButton:Vl,BatchSubmissionListButton:Hl,SubmissionRecordListButton:ql,ExportListButton:jl,ExportRecordListButton:Ul,ImportRecordListButton:Wl,FormSelectButton:Kl,ListSelectButton:zl,Pagination:Xl,Dashboard:Jl,ListViewSelect:Yl,TextOcrButton:pl,InvoiceCheckButton:eo,BatchPrintListButton:to,BatchPrintRecordListButton:no,OperationButton:io,BatchDeleteButton:uo});class P0 extends ne{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=xt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class F0 extends V{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:xt(e.regularRules.expression),message:e.regularRules.errMessage})}}class ft extends T{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 Nr(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:ht.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:""}}ft.Rules=P0,ft.RuntimeRules=F0;class ht extends R{constructor(e){super(e),this.props=new ft(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"}}ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ht.controlFieldType=v.VARCHAR,ht.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,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 ao extends D{constructor(e){super(e),this.props=new ft(e==null?void 0:e.props)}static get controlType(){return"input"}}ao.controlFieldType=v.VARCHAR;var ro={Designer:ht,Runtime:ao,Property:ft};class k0 extends ut{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 O0 extends V{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 Ut extends T{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,C,I;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(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 te(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:Wt.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=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var A;(A=this.multistageFilling)==null||A.push(new re(_))}))}}Ut.Rules=k0,Ut.RuntimeRules=O0;class Wt extends R{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Wt.controlEventKeys=["on_change","on_click"],Wt.controlFieldType=v.ARRAY,Wt.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 lo extends D{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}lo.controlFieldType=v.ARRAY;var oo={Designer:Wt,Runtime:lo,Property:Ut};class M0 extends ut{constructor(e){super(e)}}class hi extends T{constructor(e){var n,i,u,a,r,l,s,o,f,g,b;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(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 te(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:Kt.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(C=>{var I;(I=this.multistageFilling)==null||I.push(new re(C))}))}}hi.Rules=M0;class Kt extends R{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=v.VARCHAR,Kt.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 co extends D{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"radio"}}co.controlFieldType=v.VARCHAR;var so={Designer:Kt,Runtime:co,Property:hi};class L0 extends ne{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=xt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class $0 extends V{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:xt(e.regularRules.expression),message:e.regularRules.errMessage})}}class zt extends T{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,C,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(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:Gt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new Nr(e==null?void 0:e.regularRules)}}zt.Rules=L0,zt.RuntimeRules=$0;class Gt extends R{constructor(e){super(e),this.props=new zt(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}}Gt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Gt.controlFieldType=v.DECIMAL,Gt.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 fo extends D{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"number"}}fo.controlFieldType=v.DECIMAL;var ho={Designer:Gt,Runtime:fo,Property:zt};class Ia extends T{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:yi.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 Yn(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 yi extends R{constructor(e){super(e),this.props=new Ia(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}}yi.controlFieldType=v.TIMESTAMP,yi.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 yo extends D{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}yo.controlFieldType=v.TIMESTAMP;var mo={Designer:yi,Runtime:yo,Property:Ia};class N0 extends V{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 mi extends T{constructor(e){var n,i,u,a,r,l,s,o,f;super(e),this.dataBind=new Ny(e==null?void 0:e.dataBind),this.defaultValue=new Vy(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:vi.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(g=>new Yn(g)))!=null?f:[]}}mi.RuntimeRules=N0;class vi extends R{constructor(e){super(e),this.props=new mi(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}}vi.controlFieldType=v.TIMESCOPE,vi.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 vo extends D{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}vo.controlFieldType=v.TIMESCOPE;var go={Designer:vi,Runtime:vo,Property:mi};class V0 extends ne{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 H0 extends V{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 Xt extends T{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:Qt.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}}Xt.Rules=V0,Xt.RuntimeRules=H0;class Qt extends R{constructor(e){super(e),this.props=new Xt(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"}}Qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Qt.controlFieldType=v.TEXT,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class bo extends D{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}bo.controlFieldType=v.TEXT;var _o={Designer:Qt,Runtime:bo,Property:Xt};class q0 extends ne{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 V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Jt extends T{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:Zt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}Jt.Rules=q0,Jt.RuntimeRules=j0;class Zt extends R{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=v.TEXT,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:"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 Eo extends D{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Eo.controlFieldType=v.TEXT;var Co={Designer:Zt,Runtime:Eo,Property:Jt};class U0 extends ut{constructor(e){super(e)}}class gi extends T{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:bi.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 re(f))}))}}gi.Rules=U0;class bi extends R{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}bi.controlFieldType=v.VARCHAR,bi.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 wo extends D{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"select"}}wo.controlFieldType=v.VARCHAR;var Io={Designer:bi,Runtime:wo,Property:gi};class W0 extends ut{constructor(e){super(e)}}class K0 extends V{constructor(e){super(e),this[0].type="array"}}class Yt extends T{constructor(e){var n,i,u,a,r,l,s;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(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=(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 re(o))}))}}Yt.Rules=W0,Yt.RuntimeRules=K0;class _i extends R{constructor(e){super(e),this.props=new Yt(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:[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 Ao extends D{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Ao.controlFieldType=v.ARRAY;var So={Designer:_i,Runtime:Ao,Property:Yt};class z0 extends V{constructor(e){super(e),this[0].type="array"}}class Ei extends T{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:Ci.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 re(g))}))}}Ei.RuntimeRules=z0;class Ci extends R{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ci.controlFieldType=v.EMPLOYEES,Ci.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 Bo extends D{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"employee"}}Bo.controlFieldType=v.EMPLOYEES;var To={Designer:Ci,Runtime:Bo,Property:Ei};const G0=10485760,X0=104857600,Q0=1048576e3;class J0 extends ne{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Q0,message:d.getMessage("attachmentMaxSize")}}}class Z0 extends V{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 yt extends T{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:X0,this.caption=(s=e==null?void 0:e.caption)!=null?s:mt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}yt.Rules=J0,yt.RuntimeRules=Z0;class mt extends R{constructor(e){super(e),this.props=new yt(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}mt.controlEventKeys=["on_change"],mt.controlFieldType=v.FILE,mt.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 Aa extends D{constructor(e){super(e),this.props=new yt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Aa.controlFieldType=v.FILE;var Ro={Designer:mt,Runtime:Aa,Property:yt};const Do=class extends mt{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:Do.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Sa=Do;Sa.controlFieldType=v.IMAGE,Sa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Y0 extends Aa{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 p0 extends yt{constructor(e){super(e)}}var xo={Designer:Sa,Runtime:Y0,Property:p0};class eb extends ut{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 tb extends V{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:[wn(Ie({},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 pt extends T{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 Ly(e==null?void 0:e.dataBind),this.datasourceBind=new te((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new ou({value:"name"})]}),this.defaultValue=new $y((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Tn.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:en.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}}pt.Rules=eb,pt.RuntimeRules=tb;class en extends R{constructor(e){super(e),this.props=new pt(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}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=v.MONEY,en.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 Po extends D{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Po.controlFieldType=v.MONEY;var Fo={Designer:en,Runtime:Po,Property:pt};class nb extends ne{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 ib extends V{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 tn extends T{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:oa.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 pn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new pn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:nn.controlName}}tn.Rules=nb,tn.RuntimeRules=ib;class nn extends R{constructor(e){super(e),this.props=new tn(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 pn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=v.DECIMAL,nn.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 ko extends D{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"score"}}ko.controlFieldType=v.DECIMAL;var Oo={Designer:nn,Runtime:ko,Property:tn};class ub extends V{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 wi extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ii.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 Hy((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"}}wi.RuntimeRules=ub;class Ii extends R{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ii.controlFieldType=v.ADDRESS,Ii.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 Mo extends D{constructor(e){super(e),this.props=new wi(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"}}Mo.controlFieldType=v.ADDRESS;var Lo={Designer:Ii,Runtime:Mo,Property:wi};class ab extends V{constructor(e){super(e),this[0].type="array"}}class Ai extends T{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:Si.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(C=>{var I;(I=this.multistageFilling)==null||I.push(new re(C))}))}}Ai.RuntimeRules=ab;class Si extends R{constructor(e){super(e),this.props=new Ai(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}}Si.controlFieldType=v.DEPARTMENTS,Si.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 $o extends D{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"department"}}$o.controlFieldType=v.DEPARTMENTS;var No={Designer:Si,Runtime:$o,Property:Ai};class Ba extends T{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:un.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class un extends R{constructor(e){super(e),this.props=new Ba(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"}}un.controlEventKeys=["on_change"],un.controlFieldType=v.AUTO_NUMBER,un.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 Vo extends D{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Vo.controlFieldType=v.AUTO_NUMBER;var Ho={Designer:un,Runtime:Vo,Property:Ba};class rb extends ne{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class lb extends V{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 an extends T{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 qy(e==null?void 0:e.dataBind),this.defaultValue=new jy(e==null?void 0:e.defaultValue),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.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}an.Rules=rb,an.RuntimeRules=lb;class rn extends R{constructor(e){super(e),this.props=new an(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}}rn.controlEventKeys=["on_change"],rn.controlFieldType=v.CALC,rn.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 qo extends D{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"calc"}}qo.controlFieldType=v.CALC;var jo={Designer:rn,Runtime:qo,Property:an};class ob extends V{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 Bi extends T{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:Ti.controlName}}Bi.RuntimeRules=ob;class Ti extends R{constructor(e){super(e),this.props=new Bi(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"}}Ti.controlFieldType=v.DECIMAL_RANGE,Ti.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 Uo extends D{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Uo.controlFieldType=v.DECIMAL_RANGE;var Wo={Designer:Ti,Runtime:Uo,Property:Bi};class cb extends V{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 Ri extends T{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:Di.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(b=>new Yn(b)))!=null?g:[]}}Ri.RuntimeRules=cb;class Di extends R{constructor(e){super(e),this.props=new Ri(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"}}Di.controlFieldType=v.ARRAY,Di.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 Ko extends D{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Ko.controlFieldType=v.ARRAY;var zo={Designer:Di,Runtime:Ko,Property:Ri};class sb extends ne{constructor(e){super(e),this.dataBind={type:"any"}}}class db extends V{constructor(e){super(e),this[0].type="any"}}class ln extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:on.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}}ln.Rules=sb,ln.RuntimeRules=db;class on extends R{constructor(e){super(e),this.props=new ln(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"}}on.controlFieldType=v.ANY,on.controlEventKeys=[],on.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 Go extends D{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Go.controlFieldType=v.ANY;var Xo={Designer:on,Runtime:Go,Property:ln};class fb extends ut{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 xi extends T{constructor(e){var n,i,u,a,r,l,s;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Or(e==null?void 0:e.listPageBind),this.datasourceBind=new te(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.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new re(o))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1}}xi.Rules=fb;class cn extends R{constructor(e){super(e),this.props=new xi(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:[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}],cn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Qo extends D{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Qo.controlFieldType=v.VARCHAR;var Jo={Designer:cn,Runtime:Qo,Property:xi};class Ta extends ft{constructor(e){super(e)}}class Zo extends ht{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Zo.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 Yo extends D{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Yo.controlFieldType=v.VARCHAR;var po={Designer:Zo,Runtime:Yo,Property:Ta};class hb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Su.call(this,e,Ve.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 yb extends V{constructor(e){super(e),this[0].type="array"}}class sn extends T{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,C,I,_,A;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.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.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(f=e==null?void 0:e.defaultCollapseLevel)!=null?f:1,this.datasourceBind=new Oy((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.defaultDisplay=(C=e==null?void 0:e.defaultDisplay)!=null?C:!0,this.multistageFilling=(_=(I=e==null?void 0:e.multistageFilling)==null?void 0:I.map(m=>new re(m)))!=null?_:[],this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:[]}}sn.Rules=hb,sn.RuntimeRules=yb;class Ve extends R{constructor(e){super(e),this.props=new sn(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}]}}Ve.controlEventKeys=["on_change","on_click"],Ve.controlFieldType=v.ARRAY,Ve.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 ec extends D{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"tree"}}ec.controlFieldType=v.ARRAY;var tc={Designer:Ve,Runtime:ec,Property:sn};class mb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},Su.call(this,e,vt.controlCustomAttributes),e.externalType===ot.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class vb extends V{constructor(e){super(e),this[0].type="array"}}class dn extends T{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,C,I,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(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:vt.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 Bn((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:vt.controlCustomAttributes}),this.datasourceType=(g=e==null?void 0:e.datasourceType)!=null?g:ha.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:ma.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:ot.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var m;(m=this.multistageFilling)==null||m.push(new re(A))}))}}dn.Rules=mb,dn.RuntimeRules=vb;class vt extends R{constructor(e){super(e),this.props=new dn(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}]}}vt.controlFieldType=v.EMPLOYEES,vt.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 nc extends D{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}nc.controlFieldType=v.EMPLOYEES;var ic={Designer:vt,Runtime:nc,Property:dn};class gb extends ne{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"&&tu(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")&&tu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Pi extends T{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:fn.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 xl(e==null?void 0:e.signatureConfig)}}Pi.Rules=gb;class fn extends R{constructor(e){super(e),this.props=new Pi(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"}}fn.controlEventKeys=["on_click","on_click_finish"],fn.controlFieldType=v.VARCHAR,fn.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 uc extends D{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}uc.controlFieldType=v.VARCHAR;var ac={Designer:fn,Runtime:uc,Property:Pi};class bb extends ne{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 _b extends V{constructor(e){super(e),this[0].type="array"}}class hn extends T{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.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:G0,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Pl(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}hn.Rules=bb,hn.RuntimeRules=_b;class yn extends R{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}yn.controlEventKeys=["on_change","on_wps_open"],yn.controlFieldType=v.FILE,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 rc extends D{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"wps"}}rc.controlFieldType=v.FILE;var lc={Designer:yn,Runtime:rc,Property:hn};class Eb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},Su.call(this,e,gt.controlCustomAttributes),e.businessType===ot.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Cb extends V{constructor(e){super(e),this[0].type="array"}}class mn extends T{constructor(e){var n,i,u,a,r,l,s,o,f,g,b,C,I,_,A;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:gt.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Bn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:gt.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:ya.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:ot.ALL,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var w;(w=this.multistageFilling)==null||w.push(new re(m))}))}}mn.Rules=Eb,mn.RuntimeRules=Cb;class gt extends R{constructor(e){super(e),this.props=new mn(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}}gt.controlFieldType=v.DEPARTMENTS,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:!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 oc extends D{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"department2"}}oc.controlFieldType=v.DEPARTMENTS;var cc={Designer:gt,Runtime:oc,Property:mn},wb=Object.freeze({__proto__:null,Input:ro,Checkbox:oo,Radio:so,Number:ho,DatePicker:mo,DateRange:go,Textarea:_o,RichText:Co,Select:Io,SelectMultiple:So,Employee:To,Image:xo,Attachment:Ro,Amount:Fo,Score:Oo,Address:Lo,Department:No,AutoNumber:Ho,Calc:jo,SearchNumberRange:Wo,SearchDateRange:zo,VueFormItem:Xo,SelectRelation:Jo,SearchInput:po,Tree:tc,Employee2:ic,ElectronicSignature:ac,WPS:lc,Department2:cc});class sc extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}sc.excludes=[E.GRID];class Ib extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var dc={Designer:sc,Runtime:Ib,Property:q};const Ab=24;class He extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Ab,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class vn extends K{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}vn.excludes=[E.COL,E.CARD_GROUP,E.SUBTABLE,E.SUBTABLE_COLUMN,E.DIVIDER],vn.childrenMaxLength=1;class Ra extends Q{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlType(){return"col"}}var fc={Designer:vn,Runtime:Ra,Property:He};class Fi 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 ki extends K{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ki.excludes=[E.ROW],ki.setting=[{key:"col-setting",visible:!0}];class hc extends Q{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"row"}}var yc={Designer:ki,Runtime:hc,Property:Fi};const Sb=4;class Oi extends ki{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Oi.excludes=[E.GRID_ROW],Oi.setting=[],Oi.childrenMaxLength=Sb;class Bb extends hc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Tb extends Fi{constructor(e){super(e)}}var mc={Designer:Oi,Runtime:Bb,Property:Tb};class Rb extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Mi 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"}}Mi.Rules=Rb;class Da extends K{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Da.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Da.excludes=[E.CARD_GROUP];class Db extends Q{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var vc={Designer:Da,Runtime:Db,Property:Mi};class xb 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 Li 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 Ay(e==null?void 0:e.metaAutoWidth)}}Li.Rules=xb;class he extends K{constructor(e){super(e),this.props=new Li(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=[E.SUBTABLE,E.SUBTABLE_COLUMN,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.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 gc extends Q{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}}gc.controlType="subtable-column";var bc={Designer:he,Runtime:gc,Property:Li};class xa extends q{constructor(e){super(e)}}class qe extends K{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}}qe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",qe.controlType="subtable-row",qe.controlIcon="subtable-row",qe.childrenMaxLength=1,qe.excludes=[E.SUBTABLE,E.SUBTABLE_COLUMN,E.SUBTABLE_ROW,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Pb extends Q{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var _c={Designer:qe,Runtime:Pb,Property:xa};class Pa 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 te(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 je extends K{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}}je.controlName="\u5217\u8868\u5355\u5143\u683C",je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[E.GRID_TABLE,E.GRID_TABLE_COLUMN,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Ec extends Q{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}}Ec.controlType="gridtable-column";var Cc={Designer:je,Runtime:Ec,Property:Pa};class Fa extends q{constructor(e){super(e)}}class Fb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class $i extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bn.controlName}}$i.Rules=Fb;class gn extends K{constructor(e){super(e),this.props=new $i(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"}}gn.excludes=[E.TAB],gn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class kb extends Q{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var wc={Designer:gn,Runtime:kb,Property:$i};class bn extends K{constructor(e){var n;super(e),this.props=new Fa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new gn,new gn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}bn.excludes=[E.TAB],bn.controlEventKeys=["on_change_tab"],bn.setting=[{key:"super-setting",visible:!0}];class Ob extends Q{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Ic={Designer:bn,Runtime:Ob,Property:Fa};class Ac extends q{constructor(e){super(e)}}class Sc extends K{constructor(e){super(e),this.props=new Ac({}),this.children=(e==null?void 0:e.children)||[new vn({props:new He({span:12})}),new vn({props:new He({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Sc.excludes=[E.GRID_ROW,E.ROW,E.GRID,E.SUBTABLE,E.TAB,E.TOOLBOX];class Mb extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ra({props:new He({span:12})}),new Ra({props:new He({span:12})})]}}var Bc={Designer:Sc,Runtime:Mb,Property:Ac};class Lb extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class $b 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")}),Au.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 _n extends q{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.datasourceBind=new te(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 Dy(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}}_n.Rules=$b,_n.RuntimeRules=Lb;class Ni extends K{constructor(e){super(e),this.props=new _n(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"}}Ni.excludes=[E.ROW],Ni.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"],Ni.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 Nb extends Q{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Tc={Designer:Ni,Runtime:Nb,Property:_n};class Vb extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Vi extends q{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Te((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Te((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Te((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Te((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 Te(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind)}}Vi.RuntimeRules=Vb;class Rc extends K{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Rc.excludes=[];class Hb extends Q{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Dc={Designer:Rc,Runtime:Hb,Property:Vi};class qb 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 jb extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class Ub 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 xc={Designer:qb,Runtime:jb,Property:Ub};class Wb 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 Kb extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class zb extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ol(e==null?void 0:e.flexConfig)}}var Pc={Designer:Wb,Runtime:Kb,Property:zb};class Gb 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 Xb extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Qb extends q{constructor(e){super(e)}}var Fc={Designer:Gb,Runtime:Xb,Property:Qb};class Jb 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 Zb extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class Yb 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 kc={Designer:Jb,Runtime:Zb,Property:Yb},pb=Object.freeze({__proto__:null,Grid:dc,Col:fc,Row:yc,GridRow:mc,CardGroup:vc,SubTableColumn:bc,SubTableRow:_c,GridTableColumn:Cc,Tab:Ic,TabPane:wc,Toolbox:Bc,ListView:Tc,DataView:Dc,Page:xc,AdvancedContainer:Pc,PositioningContainer:Fc,Position:kc});class e_ 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 t_ extends $e{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class En extends jn{constructor(e,n){var i,u,a,r,l,s,o,f,g,b,C,I,_,A,m,w,x,F,$,ce,P,se,Cn,we;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Hi.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:Fl,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=(C=n==null?void 0:n.defaultRows)!=null?C:1,this.datasourceBind=new te(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(_=n==null?void 0:n.canDelete)!=null?_:!0,this.canCheck=(A=n==null?void 0:n.canCheck)!=null?A:!1,this.canEdit=(m=n==null?void 0:n.canEdit)!=null?m:!1,this.canImport=(w=n==null?void 0:n.canImport)!=null?w:!1,this.canExport=(x=n==null?void 0:n.canExport)!=null?x:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=($=n==null?void 0:n.serverPagination)!=null?$:!1,this.isShowCaptionTip=(ce=n==null?void 0:n.isShowCaptionTip)!=null?ce:!1,this.captionTip=(P=n==null?void 0:n.captionTip)!=null?P:"",this.mobileShowType=(se=n==null?void 0:n.mobileShowType)!=null?se:"list",this.dataStorageDoc=(Cn=n==null?void 0:n.dataStorageDoc)!=null?Cn:new Sy,this.fixedColumn=(we=n==null?void 0:n.fixedColumn)!=null?we:[]}}En.Rules=e_,En.RuntimeRules=t_;class Hi extends qu{constructor(e){var n;super(e),this.props=new En(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}}Hi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Hi.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 n_ extends gl{constructor(e){super(e),this.props=new En(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){It("Method not implemented.")}getChildrenFormControl(){return[]}}var Oc={Designer:Hi,Runtime:n_,Property:En};class ka extends jn{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 i_ extends Xu{constructor(e){super(e),this.caption.required=!1}}class qi 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:Ue.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"}}qi.Rules=i_;class Ue extends Y{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}}Ue.controlType="order-column",Ue.controlName="\u5E8F\u53F7",Ue.controlIcon="order-column",Ue.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Oa extends p{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}}Oa.controlType="order-column",Oa.controlFieldType=v.DECIMAL;var Mc={Designer:Ue,Runtime:Oa,Property:qi};class Ma 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:Ce.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 Ce extends Y{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===fi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return wn(Ie({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return dr(this,null,function*(){return yield sr(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName="\u64CD\u4F5C",Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[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 La extends p{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}La.controlType="operation-column",La.controlFieldType=v.FILE;var Lc={Designer:Ce,Runtime:La,Property:Ma};class ji extends qu{constructor(e){super(e),this.props=new ka(this,e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ue,new Ce])}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 wn(Ie({},e),{children:n})}validate(e,n){return dr(this,null,function*(){return yield sr(ji.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}ji.setting=[{key:"list-fixed-header",visible:!0}];class u_ extends gl{constructor(e){super(e),this.props=new ka(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){It("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var $c={Designer:ji,Runtime:u_,Property:ka},a_=Object.freeze({__proto__:null,SubTable:Oc,GridTable:$c});class r_ extends bl{constructor(e){super(e)}}class Ui extends z{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ui.Rules=r_;class We extends Y{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}We.controlType="varchar-column",We.controlName="\u77ED\u6587\u672C",We.controlIcon="varchar-column",We.controlFieldType=v.VARCHAR,We.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 $a extends p{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}$a.controlType="varchar-column",$a.controlFieldType=v.VARCHAR;var Nc={Designer:We,Runtime:$a,Property:Ui};class Na 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:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption)}}class Ke extends Y{constructor(e){super(e),this.props=new Na(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}}Ke.controlType="text-column",Ke.controlName="\u957F\u6587\u672C",Ke.controlIcon="text-column",Ke.controlFieldType=v.TEXT,Ke.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 Va extends p{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}}Va.controlType="text-column",Va.controlFieldType=v.TEXT;var Vc={Designer:Ke,Runtime:Va,Property:Na};class Ha 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:ze.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 te(e==null?void 0:e.datasourceBind),this.options=_e((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption)}}class ze extends Y{constructor(e){super(e),this.props=new Ha(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}}ze.controlType="decimal-column",ze.controlName="\u6570\u503C",ze.controlIcon="decimal-column",ze.controlFieldType=v.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-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 p{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}qa.controlType="decimal-column",qa.controlFieldType=v.DECIMAL;var Hc={Designer:ze,Runtime:qa,Property:Ha};class ja 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 Be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName}}class Ge extends Y{constructor(e){super(e),this.props=new ja(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}}Ge.controlType="timescope-column",Ge.controlName="\u65E5\u671F\u533A\u95F4",Ge.controlIcon="timescope-column",Ge.controlFieldType=v.TIMESCOPE,Ge.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 Ua extends p{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}}Ua.controlType="timescope-column",Ua.controlFieldType=v.TIMESCOPE;var qc={Designer:Ge,Runtime:Ua,Property:ja};class Wa 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 Be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName}}class Xe extends Y{constructor(e){super(e),this.props=new Wa(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}}Xe.controlType="timestamp-column",Xe.controlName="\u65E5\u671F",Xe.controlIcon="timestamp-column",Xe.controlFieldType=v.TIMESTAMP,Xe.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 Ka extends p{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}}Ka.controlType="timestamp-column",Ka.controlFieldType=v.TIMESTAMP;var jc={Designer:Xe,Runtime:Ka,Property:Wa};class l_ extends bl{constructor(e){super(e)}}class Wi extends z{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption),this.options=_e((a=e==null?void 0:e.options)!=null?a:[{}])}}Wi.Rules=l_;class Qe extends Y{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName="\u6570\u7EC4",Qe.controlIcon="array-column",Qe.controlFieldType=v.ARRAY,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:"column-sort",visible:!0}];class za extends p{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}za.controlType="array-column",za.controlFieldType=v.ARRAY;var Uc={Designer:Qe,Runtime:za,Property:Wi};class Ga extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Je extends Y{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Je.controlType="department-column",Je.controlName="\u90E8\u95E8",Je.controlIcon="department-column",Je.controlFieldType=v.DEPARTMENTS,Je.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 Xa extends p{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}}Xa.controlType="department-column",Xa.controlFieldType=v.DEPARTMENTS;var Wc={Designer:Je,Runtime:Xa,Property:Ga};class Qa extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption)}}class Ze extends Y{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}}Ze.controlType="auto-number-column",Ze.controlName="\u81EA\u52A8\u7F16\u53F7",Ze.controlIcon="auto-number-column",Ze.controlFieldType=v.AUTO_NUMBER,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ja extends p{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}}Ja.controlType="auto-number-column",Ja.controlFieldType=v.AUTO_NUMBER;var Kc={Designer:Ze,Runtime:Ja,Property:Qa};class Za extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends Y{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}Ye.controlType="file-column",Ye.controlName="\u9644\u4EF6",Ye.controlIcon="file-column",Ye.controlFieldType=v.FILE,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-sort",visible:!0}];class Ya extends p{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}Ya.controlType="file-column",Ya.controlFieldType=v.FILE;var zc={Designer:Ye,Runtime:Ya,Property:Za};class pa extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Y{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}pe.controlType="image-column",pe.controlName="\u56FE\u7247",pe.controlIcon="image-column",pe.controlFieldType=v.IMAGE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class er extends p{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}er.controlType="image-column",er.controlFieldType=v.IMAGE;var Gc={Designer:pe,Runtime:er,Property:pa};class tr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Y{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}et.controlType="people-column",et.controlName="\u4EBA\u5458",et.controlIcon="people-column",et.controlFieldType=v.EMPLOYEES,et.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 nr extends p{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}nr.controlType="people-column",nr.controlFieldType=v.EMPLOYEES;var Xc={Designer:et,Runtime:nr,Property:tr};class ir extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption)}}class tt extends Y{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}}tt.controlType="location-column",tt.controlName="\u5730\u5740",tt.controlIcon="location-column",tt.controlFieldType=v.ADDRESS,tt.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 ur extends p{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}}ur.controlType="location-column",ur.controlFieldType=v.ADDRESS;var Qc={Designer:tt,Runtime:ur,Property:ir};class ar extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const o_=1;class ke extends Y{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ar(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),this.excludes=Se(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 wn(Ie({},e),{children:this.children.map(n=>n.toSchema())})}}ke.controlType="custom-column",ke.controlName="\u81EA\u5B9A\u4E49",ke.controlIcon="custom-column",ke.excludes=[],ke.childrenMaxLength=o_,ke.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 Jc extends p{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}Jc.controlType="custom-column";var Zc={Designer:ke,Runtime:Jc,Property:ar};class rr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.datasourceBind=new Bn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Oe.controlCustomAttributes})}}class Oe extends Y{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Oe.controlType="employee-column",Oe.controlName="\u4EBA\u5458",Oe.controlIcon="employee-column",Oe.controlFieldType=v.EMPLOYEES,Oe.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 p{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}lr.controlType="employee-column",lr.controlFieldType=v.EMPLOYEES;var Yc={Designer:Oe,Runtime:lr,Property:rr},c_=Object.freeze({__proto__:null,VarcharColumn:Nc,TextColumn:Vc,DecimalColumn:Hc,TimescopeColumn:qc,TimestampColumn:jc,ArrayColumn:Uc,DepartmentColumn:Wc,AutoNumberColumn:Kc,FileColumn:zc,ImageColumn:Gc,PeopleColumn:Xc,LocationColumn:Qc,CustomColumn:Zc,OrderColumn:Mc,OperationColumn:Lc,EmployeeColumn:Yc});class s_ extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ki extends ea{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 Te((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Te((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 Te(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Ki.RuntimeRules=s_;class or extends qg{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}}or.controlType="simple-search",or.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 pc extends Xg{constructor(e){var n;super(e),this.props=new Ki(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}pc.controlType="simple-search";var es={Designer:or,Runtime:pc,Property:Ki},d_=Object.freeze({__proto__:null,SimpleSearch:es});h.Address=Lo,h.AdvancedContainer=Pc,h.Amount=Fo,h.ArrayColumn=Uc,h.AssignType=ot,h.Attachment=Ro,h.AutoNumber=Ho,h.AutoNumberColumn=Kc,h.BatchDeleteButton=uo,h.BatchPrintListButton=to,h.BatchPrintRecordListButton=no,h.BatchSubmissionListButton=Hl,h.Button=Tl,h.Calc=jo,h.CardGroup=vc,h.Checkbox=oo,h.Col=fc,h.CreateFormListButton=Vl,h.CustomColumn=Zc,h.DATE_CONFIG_TYPE=Rl,h.DATE_LIMIT_TYPE=Dl,h.Dashboard=Jl,h.DataView=Dc,h.DatePicker=mo,h.DateRange=go,h.DecimalColumn=Hc,h.Department=No,h.Department2=cc,h.DepartmentColumn=Wc,h.DepartmentType=ya,h.Divider=$l,h.ElectronicSignature=ac,h.ElectronicSignatureConfig=xl,h.Employee=To,h.Employee2=ic,h.EmployeeColumn=Yc,h.EncryptTypeEnum=Ml,h.Explain=pn,h.ExportListButton=jl,h.ExportRecordListButton=Ul,h.ExportTemplate=da,h.FileColumn=zc,h.FlexStyleConfig=Ol,h.FormSelectButton=Kl,h.Grid=dc,h.GridRow=mc,h.GridTable=$c,h.GridTableColumn=Cc,h.Image=xo,h.ImageColumn=Gc,h.ImportRecordListButton=Wl,h.Input=ro,h.InternalType=ma,h.InvoiceCheckButton=eo,h.LINE_STYLE=ca,h.LimitDate=Yn,h.Link=Bl,h.ListSelectButton=zl,h.ListView=Tc,h.ListViewSelect=Yl,h.LocationColumn=Qc,h.Number=ho,h.OperationButton=io,h.OperationColumn=Lc,h.OrderColumn=Mc,h.OrganizeType=ha,h.Page=xc,h.Pagination=Xl,h.PeopleColumn=Xc,h.Position=kc,h.PositioningContainer=Fc,h.PrintTemplate=kl,h.Radio=so,h.RichText=Co,h.Row=yc,h.SCORE_TYPE=oa,h.SUBTABLE_DEFAULT_MAX_HEIGHT=Fl,h.Score=Oo,h.SearchDateRange=zo,h.SearchInput=po,h.SearchNumberRange=Wo,h.Select=Io,h.SelectMultiple=So,h.SelectRelation=Jo,h.SimpleSearch=es,h.SubTable=Oc,h.SubTableColumn=bc,h.SubTableRow=_c,h.SubmissionRecordListButton=ql,h.Tab=Ic,h.TabPane=wc,h.Text=Sl,h.TextColumn=Vc,h.TextOcrButton=pl,h.Textarea=_o,h.TimescopeColumn=qc,h.TimestampColumn=jc,h.Title=Nl,h.TitleConfigEnum=Fe,h.Toolbox=Bc,h.Tree=tc,h.UndersignedPerson=sa,h.VarcharColumn=Nc,h.VueFormItem=Xo,h.WPS=lc,h.WPSSetting=Pl,h.WpsOperationItem=fa,h.baseControls=x0,h.columnControls=c_,h.formControls=wb,h.initExpression=xt,h.layoutControls=pb,h.listControls=a_,h.searchControls=d_,Object.defineProperty(h,"__esModule",{value:!0})});
|