@byteluck-fe/model-driven-controls 2.2.2-beta.8 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/columnControls/TextColumn/designer.js +4 -0
- package/dist/esm/columnControls/VarcharColumn/designer.js +4 -0
- package/dist/esm/formControls/Checkbox/property.js +2 -0
- package/dist/esm/formControls/Department/property.js +2 -0
- package/dist/esm/formControls/Department2/property.js +2 -0
- package/dist/esm/formControls/Employee/property.js +2 -0
- package/dist/esm/formControls/Employee2/property.js +2 -0
- package/dist/esm/formControls/Radio/property.js +2 -0
- package/dist/esm/formControls/Select/property.js +2 -0
- package/dist/esm/formControls/SelectMultiple/property.js +2 -0
- package/dist/esm/formControls/SelectRelation/property.js +2 -0
- package/dist/esm/formControls/Tree/property.js +2 -0
- package/dist/esm/layoutControls/SubTableColumn/designer.js +1 -2
- package/dist/esm/layoutControls/SubTableColumn/property.js +1 -2
- package/dist/esm/layoutControls/Tab/designer.js +3 -0
- package/dist/esm/listControls/SubTable/designer.js +0 -8
- package/dist/esm/listControls/SubTable/property.js +1 -5
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Checkbox/property.d.ts +1 -0
- package/dist/types/formControls/Department/property.d.ts +1 -0
- package/dist/types/formControls/Department2/property.d.ts +1 -0
- package/dist/types/formControls/Employee/property.d.ts +1 -0
- package/dist/types/formControls/Employee2/property.d.ts +1 -0
- package/dist/types/formControls/Radio/property.d.ts +1 -0
- package/dist/types/formControls/Select/property.d.ts +1 -0
- package/dist/types/formControls/SelectMultiple/property.d.ts +1 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +1 -0
- package/dist/types/formControls/Tree/property.d.ts +1 -0
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +1 -6
- package/dist/types/layoutControls/Tab/designer.d.ts +1 -0
- package/dist/types/listControls/SubTable/property.d.ts +1 -11
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Fb=Object.defineProperty,Ob=Object.defineProperties;var kb=Object.getOwnPropertyDescriptors;var Ec=Object.getOwnPropertySymbols,Nb=Object.getPrototypeOf,Mb=Object.prototype.hasOwnProperty,Lb=Object.prototype.propertyIsEnumerable,$b=Reflect.get;var Cc=(f,O,L)=>O in f?Fb(f,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):f[O]=L,ye=(f,O)=>{for(var L in O||(O={}))Mb.call(O,L)&&Cc(f,L,O[L]);if(Ec)for(var L of Ec(O))Lb.call(O,L)&&Cc(f,L,O[L]);return f},nn=(f,O)=>Ob(f,kb(O));var Fa=(f,O,L)=>$b(Nb(f),L,O);var Oa=(f,O,L)=>new Promise((Si,un)=>{var Bi=ce=>{try{ut(L.next(ce))}catch(at){un(at)}},Ti=ce=>{try{ut(L.throw(ce))}catch(at){un(at)}},ut=ce=>ce.done?Si(ce.value):Promise.resolve(ce.value).then(Bi,Ti);ut((L=L.apply(f,O)).next())});(function(f,O){typeof exports=="object"&&typeof module!="undefined"?O(exports):typeof define=="function"&&define.amd?define(["exports"],O):(f=typeof globalThis!="undefined"?globalThis:f||self,O(f.modelDrivenControls={}))})(this,function(f){"use strict";var O="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Si="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",un="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Bi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ti="{caption}\u5FC5\u586B",ut="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",at="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",_c="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ic="\u8BF7\u7ED1\u5B9A\u8868\u5355",wc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ac="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Sc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Bc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Tc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Rc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Pc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Dc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",xc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Fc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Oc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",kc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Nc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Mc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Lc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",$c="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Vc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Hc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",jc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",qc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Uc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Wc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Kc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",zc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Gc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Xc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qc="\u8BF7\u9009\u62E9\u7701",Jc="\u8BF7\u9009\u62E9\u5E02",Zc="\u8BF7\u9009\u62E9\u533A",Yc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",pc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",es="\u8BF7\u8F93\u5165\u5217\u5BBD",ts="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ns="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",is="\u8BF7\u9009\u62E9\u63A7\u4EF6",us="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",as="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",rs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ls="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",os="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ss="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ds="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",fs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",hs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ys="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ms="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",vs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",gs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",bs="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Es="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Cs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",_s="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Is="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ws="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",As="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ss={isNotNumber:O,isNotString:L,isNotObject:Si,isNotArray:un,isNotBoolean:Bi,runtimeRequired:Ti,pleaseEnterCaption:ut,pleaseEnterCaptionTip:ce,pleaseEnterPlaceholder:at,pleaseEnterFieldCode:_c,pleaseEnterForm:Ic,pleaseEnterList:wc,pleaseEnterProcess:Ac,pleaseEnterLabel:Sc,pleaseEnterValue:Bc,bizKeyNotBindFiled:Tc,pleaseSelectOneField:Rc,pleaseEnterNumberRange:Pc,pleaseEnterAValueGreaterThanMin:Dc,pleaseEnterAValueLessThanMax:xc,numberRangeSetError:Fc,stringRangeError:Oc,attachmentMaxSize:kc,pleaseEnterTotalScoreSetting:Nc,theTotalScoreMustNotBeLessThan1:Mc,scoreDefaultValueRange:Lc,attachmentLimitError:$c,PleaseReselectTheOptionalQuantity:Vc,TheMaximumLengthIsGreaterThanTheMinimumLength:Hc,TheMinimumLengthIsGreaterThanTheMaximumLength:jc,PleaseSelectTheCorrectOptionSettings:qc,optionIdIsRepeat:Uc,optionIsRequired:Wc,pleaseEnterDataCode:Kc,pleaseEnterValueFieldCode:zc,pleaseEnterSvcCode:Gc,pleaseBindAtLeastOneDisplayValue:Xc,pleaseSelectProvince:Qc,pleaseSelectCity:Jc,pleaseSelectDistrict:Zc,limitRowsCannotBeLessThan0:Yc,TheNumberOfRowsCannotBeLessThanMinRows:pc,pleaseEnterColumnWidth:es,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ts,pleaseCompleteAllRulesAndConditions:ns,pleaseSelectControl:is,pleaseSelectAtLeastOneColumn:us,pleaseSelectFillBackMode:as,pleaseSelectDashboard:rs,rootNodeIsRequired:ls,theViewNameCannotBeEmpty:os,pleaseSelectOcrType:cs,pleaseSelectAtLeastOneFieldToFillIn:ss,pleaseChooseAtLeastOne:ds,pleaseEnterButtonContent:fs,pleaseEnterDataCodeInDataSetting:hs,pleaseEnterValueFieldCodeInDataSetting:ys,pleaseEnterSvcCodeInDataSetting:ms,pleaseBindAtLeastOneDisplayValueInDataSetting:vs,rootNodeIsRequiredInDataSetting:gs,pleaseEnterMaxHeight:bs,pleaseEnter:Es,pleaseEnterWatermark:Cs,pleaseEnterFileName:_s,pleaseUploadAtLeastOnePrintTemplate:Is,pleaseAssignBusiness:ws,pleaseAssignExternal:As},Bs="Please enter a number",Ts="Please enter a string",Rs="Please enter an object",Ps="Please enter an array",Ds="Please enter a boolean",xs="{caption} Required",Fs="Please enter the title",Os="Please enter the bubble prompt",ks="Please enter the prompt text",Ns="Please bind data items",Ms="Please bind the form",Ls="Please bind the list",$s="Please bind the process",Vs="Please enter the displayed value",Hs="Please enter the stored value",js="The document number is not bound to the data item",qs="Please select at least one display field",Us="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ws="Please enter a value greater than or equal to {min}",Ks="Please enter a value less than or equal to {max}",zs="The value range is set incorrectly",Gs="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Xs="The attachment size must be between 0MB and 1000MB",Qs="Please fill in the total score setting",Js="The total score cannot be less than 1",Zs="The default value must be between {min} and {max}",Ys="The number of attachments uploaded must be between {min} and {max}",ps="Please re-select the optional quantity",ed="The maximum length of the control must be greater than the minimum length",td="The minimum length of the control must be less than the maximum length",nd="Please select the correct option setting",id="Option ID cannot be repeated",ud="Please enter at least one option",ad="Please bind the data source",rd="Please bind the stored value",ld="Please bind the service",od="At least one display value must be bound",cd="Please select a province",sd="Please select a city",dd="Please select a district",fd="The minimum number of lines to fill in cannot be less than 0",hd="The number of rows cannot be less than {min} rows",yd="Please enter the column width",md="Please set the logical relationship of all rule conditions",vd="Please complete all rules and conditions",gd="please select control",bd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ed="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",_d="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Id="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",wd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ad="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Bd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Td="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Rd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Pd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Dd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",xd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Fd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Od="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",kd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Nd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Md={isNotNumber:Bs,isNotString:Ts,isNotObject:Rs,isNotArray:Ps,isNotBoolean:Ds,runtimeRequired:xs,pleaseEnterCaption:Fs,pleaseEnterCaptionTip:Os,pleaseEnterPlaceholder:ks,pleaseEnterFieldCode:Ns,pleaseEnterForm:Ms,pleaseEnterList:Ls,pleaseEnterProcess:$s,pleaseEnterLabel:Vs,pleaseEnterValue:Hs,bizKeyNotBindFiled:js,pleaseSelectOneField:qs,pleaseEnterNumberRange:Us,pleaseEnterAValueGreaterThanMin:Ws,pleaseEnterAValueLessThanMax:Ks,numberRangeSetError:zs,stringRangeError:Gs,attachmentMaxSize:Xs,pleaseEnterTotalScoreSetting:Qs,theTotalScoreMustNotBeLessThan1:Js,scoreDefaultValueRange:Zs,attachmentLimitError:Ys,PleaseReselectTheOptionalQuantity:ps,TheMaximumLengthIsGreaterThanTheMinimumLength:ed,TheMinimumLengthIsGreaterThanTheMaximumLength:td,PleaseSelectTheCorrectOptionSettings:nd,optionIdIsRepeat:id,optionIsRequired:ud,pleaseEnterDataCode:ad,pleaseEnterValueFieldCode:rd,pleaseEnterSvcCode:ld,pleaseBindAtLeastOneDisplayValue:od,pleaseSelectProvince:cd,pleaseSelectCity:sd,pleaseSelectDistrict:dd,limitRowsCannotBeLessThan0:fd,TheNumberOfRowsCannotBeLessThanMinRows:hd,pleaseEnterColumnWidth:yd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:md,pleaseCompleteAllRulesAndConditions:vd,pleaseSelectControl:gd,pleaseSelectDashboard:bd,theViewNameCannotBeEmpty:Ed,pleaseSelectOcrType:Cd,pleaseSelectAtLeastOneFieldToFillIn:_d,pleaseChooseAtLeastOne:Id,pleaseEnterButtonContent:wd,pleaseEnterDataCodeInDataSetting:Ad,pleaseEnterValueFieldCodeInDataSetting:Sd,pleaseEnterSvcCodeInDataSetting:Bd,pleaseBindAtLeastOneDisplayValueInDataSetting:Td,rootNodeIsRequiredInDataSetting:Rd,pleaseEnterMaxHeight:Pd,pleaseEnter:Dd,pleaseEnterWatermark:xd,pleaseEnterFileName:Fd,pleaseUploadAtLeastOnePrintTemplate:Od,pleaseAssignBusiness:kd,pleaseAssignExternal:Nd},Ld="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$d="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qd="{caption}\u5FC5\u9808",Ud="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kd="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qd="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yd="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",pd="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ef="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",af="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",of="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",cf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",df="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ff="\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",hf="\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",yf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",vf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",gf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ef="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Cf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",_f="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",If="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Af="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Sf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Bf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Rf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Pf="please select control",Df="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",xf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ff="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Of="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Nf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Mf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",$f="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Vf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",jf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",qf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Uf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Wf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Kf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",zf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Gf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Xf={isNotNumber:Ld,isNotString:$d,isNotObject:Vd,isNotArray:Hd,isNotBoolean:jd,runtimeRequired:qd,pleaseEnterCaption:Ud,pleaseEnterCaptionTip:Wd,pleaseEnterPlaceholder:Kd,pleaseEnterFieldCode:zd,pleaseEnterForm:Gd,pleaseEnterList:Xd,pleaseEnterProcess:Qd,pleaseEnterLabel:Jd,pleaseEnterValue:Zd,bizKeyNotBindFiled:Yd,pleaseSelectOneField:pd,pleaseEnterNumberRange:ef,pleaseEnterAValueGreaterThanMin:tf,pleaseEnterAValueLessThanMax:nf,numberRangeSetError:uf,stringRangeError:af,attachmentMaxSize:rf,pleaseEnterTotalScoreSetting:lf,theTotalScoreMustNotBeLessThan1:of,scoreDefaultValueRange:cf,attachmentLimitError:sf,PleaseReselectTheOptionalQuantity:df,TheMaximumLengthIsGreaterThanTheMinimumLength:ff,TheMinimumLengthIsGreaterThanTheMaximumLength:hf,PleaseSelectTheCorrectOptionSettings:yf,optionIdIsRepeat:mf,optionIsRequired:vf,pleaseEnterDataCode:gf,pleaseEnterValueFieldCode:bf,pleaseEnterSvcCode:Ef,pleaseBindAtLeastOneDisplayValue:Cf,pleaseSelectProvince:_f,pleaseSelectCity:If,pleaseSelectDistrict:wf,limitRowsCannotBeLessThan0:Af,TheNumberOfRowsCannotBeLessThanMinRows:Sf,pleaseEnterColumnWidth:Bf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Tf,pleaseCompleteAllRulesAndConditions:Rf,pleaseSelectControl:Pf,pleaseSelectDashboard:Df,theViewNameCannotBeEmpty:xf,pleaseSelectOcrType:Ff,pleaseSelectAtLeastOneFieldToFillIn:Of,pleaseChooseAtLeastOne:kf,pleaseEnterButtonContent:Nf,pleaseEnterDataCodeInDataSetting:Mf,pleaseEnterValueFieldCodeInDataSetting:Lf,pleaseEnterSvcCodeInDataSetting:$f,pleaseBindAtLeastOneDisplayValueInDataSetting:Vf,rootNodeIsRequiredInDataSetting:Hf,pleaseEnterMaxHeight:jf,pleaseEnter:qf,pleaseEnterWatermark:Uf,pleaseEnterFileName:Wf,pleaseUploadAtLeastOnePrintTemplate:Kf,pleaseAssignBusiness:zf,pleaseAssignExternal:Gf},Qf={zhCN:Ss,enUS:Md,jaJP:Xf},ka;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(ka||(ka={}));var Na;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Na||(Na={}));var Jf="zh-CN";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}var Ma;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Ma||(Ma={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(v||(v={}));var G;G={},Y(G,v.ARRAY,C.ARRAY_COLUMN),Y(G,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),Y(G,v.DECIMAL,C.DECIMAL_COLUMN),Y(G,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),Y(G,v.FILE,C.FILE_COLUMN),Y(G,v.IMAGE,C.IMAGE_COLUMN),Y(G,v.ADDRESS,C.LOCATION_COLUMN),Y(G,v.EMPLOYEES,C.EMPLOYEE_COLUMN),Y(G,v.TEXT,C.TEXT_COLUMN),Y(G,v.TIMESCOPE,C.TIMESCOPE_COLUMN),Y(G,v.TIMESTAMP,C.TIMESTAMP_COLUMN),Y(G,v.VARCHAR,C.VARCHAR_COLUMN),Y(G,v.RELATION,C.VARCHAR_COLUMN);var me;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(me||(me={}));var La="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Zf=La+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?La:Zf,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Ri(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 Yf(t){if(Array.isArray(t))return Ri(t)}function pf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eh(){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 an(t,e,n){return eh()?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&<(o,r.prototype),o},an.apply(null,arguments)}function rt(t){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rt(t)}function Va(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&<(t,e)}function th(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 ih(){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 uh(t,e){return e&&(ah(e)==="object"||typeof e=="function")?e:pf(t)}function lt(t,e){return lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lt(t,e)}function Ha(t){return Yf(t)||nh(t)||rh(t)||ih()}var ah=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rh(t,e){if(!!t){if(typeof t=="string")return Ri(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 Ri(t,e)}}function Pi(t){var e=typeof Map=="function"?new Map:void 0;return Pi=function(i){if(i===null||!th(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,rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),lt(u,i)},Pi(t)}function lh(){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 ja(t){var e=lh();return function(){var i=rt(t),u;if(e){var a=rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return uh(this,u)}}var Di=console;function oh(){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=Di).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ha(u)))}function qa(){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=Di).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ha(u)))}function ch(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var xi=function(t){Va(n,t);var e=ja(n);function n(i){$a(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?ch(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Pi(Error)),sh=function(t){Va(n,t);var e=ja(n);function n(i){$a(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(xi);function Ua(t){throw new xi(t)}function Wa(t){throw new sh(t)}function dh(t){Di.error(new xi(t))}var fh=Object.prototype.toString;function Ka(t,e){return fh.call(t)==="[object "+e+"]"}function hh(t){return Ka(t,"String")}function yh(t){return Ka(t,"Promise")}var mh=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();yh(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&&!hh(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 vh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){vh(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jf;return new mh({locale:n,messages:Qf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function gh(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)){oh("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 bh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Eh={exports:{}};(function(t){(function(e){var n=function(y,E,N){if(!o(E)||m(E)||g(E)||_(E)||s(E))return E;var B,F=0,ne=0;if(h(E))for(B=[],ne=E.length;F<ne;F++)B.push(n(y,E[F],N));else{B={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&(B[y(D,N)]=n(y,E[D],N))}return B},i=function(y,E){E=E||{};var N=E.separator||"_",B=E.split||/(?=[A-Z])/;return y.split(B).join(N)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,N){return N?N.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},a=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,s=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},h=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},g=function(y){return l.call(y)=="[object RegExp]"},_=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},b=function(y,E){var N=E&&"process"in E?E.process:E;return typeof N!="function"?y:function(B,F){return N(B,y,F)}},w={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(r,E),y,E)},pascalizeKeys:function(y,E){return n(b(a,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(bh)})(Eh);var za={};Object.defineProperty(za,"__esModule",{value:!0});function Fi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Fi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Fi(i)}return e}}var Ch=za.default=Fi;function ve(t){if(t!==void 0)return typeof t=="object"?Ch(t):t}function _h(t){return Object.prototype.toString.call(t)==="[object Object]"}function Oi(t){return Array.isArray(t)}function Ih(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function ki(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 wh(t){if(Array.isArray(t))return ki(t)}function Ga(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 Ah(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Ga(a,i,u,r,l,"next",s)}function l(s){Ga(a,i,u,r,l,"throw",s)}r(void 0)})}}function Sh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Th(){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 Ni(t){return wh(t)||Bh(t)||Rh(t)||Th()}function Rh(t,e){if(!!t){if(typeof t=="string")return ki(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 ki(t,e)}}var Ph=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(h){return s([o,h])}}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(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Dh=function(){function t(){Sh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return Ah(function(){var s,o,h,m,g,_,I,b,w,y,E,N;return Ph(this,function(B){switch(B.label){case 0:if(s=l._events.get(i),o=[],!s)return[3,10];h=s.slice(),m=!0,g=!1,_=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),I=h[Symbol.iterator](),B.label=2;case 2:if(m=(b=I.next()).done)return[3,7];if(w=b.value,!s.includes(w))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),l.debug&&qa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Ni(a))),[4,w.apply(null,Ni(a))];case 4:return y=B.sent(),l.debug&&qa.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ni(a),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=B.sent(),dh(String(E)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return N=B.sent(),g=!0,_=N,[3,10];case 9:try{!m&&I.return!=null&&I.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var a;(a=this._events.get(i))===null||a===void 0||a.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var a=this._events.get(i),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),xh=[];new Set(xh.map(function(t){return t.Designer.controlType}));function Xa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}function re(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&&Mi(t,e)}function Qa(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Fh(t,e){return e&&(Oh(e)==="object"||typeof e=="function")?e:Xa(t)}function Mi(t,e){return Mi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mi(t,e)}var Oh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function kh(){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 le(t){var e=kh();return function(){var i=rn(t),u;if(e){var a=rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Fh(this,u)}}var ue=function t(e){A(this,t);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:""},Ja=function t(e){A(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Za=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;return u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240,u}return n}(Ja),Nh=function t(e){A(this,t),this.pc=new Za(e==null?void 0:e.pc);var n;this.mobile=(n=e==null?void 0:e.mobile)!==null&&n!==void 0?n:new Za({width:130,minWidth:50})},Mh=function t(e){A(this,t);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:[]},Li=function t(e){A(this,t);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:""},Lh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Li),Ya=function t(e){A(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},pa=function t(e){A(this,t);var n,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 Ya(r)}))!==null&&a!==void 0?a:[]},$h=function t(e){A(this,t);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},Vh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;u=e.call(this,i);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}(Li),Hh=function t(e){A(this,t);var n,i;this.type="sublist-page",this.formBind=new Li(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 $h(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 Vh(r)}))!==null&&a!==void 0?a:[]},jh=function t(e){A(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ot=function t(e){A(this,t);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:[]},qh=function t(e){var n=this;A(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();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 h,m=new er(l);(h=n.children)===null||h===void 0||h.push(m)}}))},er=function t(e){A(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();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 jh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ot(e==null?void 0:e.rightVariableBo)},p=function t(e){A(this,t);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:""},$i=function t(e){A(this,t);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},Uh=function t(e){A(this,t);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 Vi(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 qh(a):new er(a)}))!==null&&n!==void 0?n:[],Qa(this,X)||Qa(this,Hi)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(a){return new Uh(a)}))!==null&&u!==void 0?u:[]}}var X=function t(e){var n=this;A(this,t);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 $i(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:"",Vi.call(this,e)},Wh=function t(e){A(this,t);var n,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 $i(r)}))!==null&&a!==void 0?a:[]},ln=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u,a;u=e.call(this,i);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new Wh(l)}))!==null&&r!==void 0?r:[],u}return n}(X),Kh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this,i),u.rootNode=new ot(i==null?void 0:i.rootNode),u}return n}(ln),tr=function t(e){A(this,t);var n,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 p(r)}))!==null&&a!==void 0?a:[]},Hi=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this,i),Vi.call(Xa(u),i),u}return n}(tr),nr=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;u=e.call(this,i);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}(tr),ir=function t(e){A(this,t);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:""},zh=function t(e){A(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(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 de(t){var e;return(e=t==null?void 0:t.map(function(n){return new zh(n)}))!==null&&e!==void 0?e:[]}var ji=function t(){A(this,t)},Gh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this),u.amount=new ue(i==null?void 0:i.amount),u.currency=new ue(i==null?void 0:i.currency),u}return n}(ji),Xh=function t(e){A(this,t);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:on.CNY},Qh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this),u.min=new ue(i==null?void 0:i.min),u.max=new ue(i==null?void 0:i.max),u}return n}(ji),Jh=function t(e){A(this,t);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:""},Zh=function t(e){A(this,t);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:""},Yh=function(t){re(n,t);var e=le(n);function n(i){A(this,n);var u;return u=e.call(this),u.result=new ue(i==null?void 0:i.result),u.unit=new ue(i==null?void 0:i.unit),u}return n}(ji),ph=function t(e){A(this,t);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:""},on;(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"})(on||(on={}));var c;(function(t){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 qi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(qi||(qi={}));var ge=function t(e){A(this,t);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},ey=function t(e){A(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(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 Ya(r)}))!==null&&a!==void 0?a:[],Vi.call(this,e)},ty=function t(e){A(this,t);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 ny(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ui(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iy(){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 cn(t,e,n){return iy()?cn=Reflect.construct:cn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&st(o,r.prototype),o},cn.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function uy(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 ay(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ry(t,e){return e&&(ly(e)==="object"||typeof e=="function")?e:ny(t)}function st(t,e){return st=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},st(t,e)}var ly=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wi(t){var e=typeof Map=="function"?new Map:void 0;return Wi=function(i){if(i===null||!ay(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 cn(i,arguments,ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),st(u,i)},Wi(t)}function oy(){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 cy(t){var e=oy();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 ry(this,u)}}var $=function t(e){Ui(this,t),this.isHide={type:"boolean"}},Ae=function(t){uy(n,t);var e=cy(n);function n(i){return Ui(this,n),e.call(this)}return n}(Wi(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ui(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new ty(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};q.Rules=$,q.RuntimeRules=Ae;function oe(){return oe=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},oe.apply(this,arguments)}function sy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ki(t){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(t)}function sn(t,e){return sn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sn(t,e)}function dy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function dn(t,e,n){return dy()?dn=Reflect.construct:dn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&sn(o,r.prototype),o},dn.apply(null,arguments)}function fy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function zi(t){var e=typeof Map=="function"?new Map:void 0;return zi=function(i){if(i===null||!fy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return dn(i,arguments,Ki(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),sn(u,i)},zi(t)}var hy=/%[sdj%]/g,ur=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ur=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Gi(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 ee(){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(hy,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 yy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||yy(e)&&typeof t=="string"&&!t)}function my(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 ar(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 vy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var rr=function(t){sy(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}(zi(Error));function gy(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(w){return i(w),w.length?g(new rr(w,Gi(w))):m()},I=vy(t);ar(I,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,s=0,o=[],h=new Promise(function(m,g){var _=function(b){if(o.push.apply(o,b),s++,s===l)return i(o),o.length?g(new rr(o,Gi(o))):m()};r.length||(i(o),m()),r.forEach(function(I){var b=t[I];a.indexOf(I)!==-1?ar(b,n,_):my(b,n,_)})});return h.catch(function(m){return m}),h}function lr(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function or(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]=oe(oe({},t[n]),i):t[n]=i}}return t}function cr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||V(e,a||t.type))&&i.push(ee(u.messages.required,t.fullField))}function by(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var Xi={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},dt={integer:function(e){return dt.number(e)&&parseInt(e,10)===e},float:function(e){return dt.number(e)&&!dt.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"&&!dt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Xi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Xi.url)},hex:function(e){return typeof e=="string"&&!!e.match(Xi.hex)}};function Ey(t,e,n,i,u){if(t.required&&e===void 0){cr(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?dt[r](e)||i.push(ee(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ee(u.messages.types[r],t.fullField,t.type))}function Cy(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,h=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?h="number":g?h="string":_&&(h="array"),!h)return!1;_&&(o=e.length),g&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(ee(u.messages[h].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[h].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[h].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[h].range,t.fullField,t.min,t.max))}var qe="enum";function _y(t,e,n,i,u){t[qe]=Array.isArray(t[qe])?t[qe]:[],t[qe].indexOf(e)===-1&&i.push(ee(u.messages[qe],t.fullField,t[qe].join(", ")))}function Iy(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(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(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var S={required:cr,whitespace:by,type:Ey,range:Cy,enum:_y,pattern:Iy};function wy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();S.required(t,e,i,a,u,"string"),V(e,"string")||(S.type(t,e,i,a,u),S.range(t,e,i,a,u),S.pattern(t,e,i,a,u),t.whitespace===!0&&S.whitespace(t,e,i,a,u))}n(a)}function Ay(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}function Sy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function By(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}function Ty(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),V(e)||S.type(t,e,i,a,u)}n(a)}function Ry(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function Py(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function Dy(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();S.required(t,e,i,a,u,"array"),e!=null&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function xy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}var Fy="enum";function Oy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S[Fy](t,e,i,a,u)}n(a)}function ky(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();S.required(t,e,i,a,u),V(e,"string")||S.pattern(t,e,i,a,u)}n(a)}function Ny(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"date")&&!t.required)return n();if(S.required(t,e,i,a,u),!V(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),S.type(t,l,i,a,u),l&&S.range(t,l.getTime(),i,a,u)}}n(a)}function My(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;S.required(t,e,i,a,u,r),n(a)}function Qi(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(V(e,a)&&!t.required)return n();S.required(t,e,i,r,u,a),V(e,a)||S.type(t,e,i,r,u)}n(r)}function Ly(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u)}n(a)}var ft={string:wy,method:Ay,number:Sy,boolean:By,regexp:Ty,integer:Ry,float:Py,array:Dy,object:xy,enum:Oy,pattern:ky,date:Ny,url:Qi,hex:Qi,email:Qi,required:My,any:Ly};function Ji(){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 Zi=Ji();function be(t){this.rules=null,this._messages=Zi,this.define(t)}be.prototype={messages:function(e){return e&&(this._messages=or(Ji(),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(b){var w,y=[],E={};function N(B){if(Array.isArray(B)){var F;y=(F=y).concat.apply(F,B)}else y.push(B)}for(w=0;w<b.length;w++)N(b[w]);y.length?E=Gi(y):(y=null,E=null),l(y,E)}if(r.messages){var o=this.messages();o===Zi&&(o=Ji()),or(o,r.messages),r.messages=o}else r.messages=this.messages();var h,m,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){h=u.rules[b],m=a[b],h.forEach(function(w){var y=w;typeof y.transform=="function"&&(a===e&&(a=oe({},a)),m=a[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=oe({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(g[b]=g[b]||[],g[b].push({rule:y,value:m,source:a,field:b}))})});var I={};return gy(g,r,function(b,w){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function N(ne,D){return oe(oe({},D),{},{fullField:y.fullField+"."+ne})}function B(ne){ne===void 0&&(ne=[]);var D=ne;if(Array.isArray(D)||(D=[D]),!r.suppressWarning&&D.length&&be.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map(lr(y)),r.first&&D.length)return I[y.field]=1,w(D);if(!E)w(D);else{if(y.required&&!b.value)return y.message!==void 0?D=[].concat(y.message).map(lr(y)):r.error&&(D=[r.error(y,ee(r.messages.required,y.field))]),w(D);var ie={};if(y.defaultField)for(var tn in b.value)b.value.hasOwnProperty(tn)&&(ie[tn]=y.defaultField);ie=oe(oe({},ie),b.rule.fields);for(var nt in ie)if(ie.hasOwnProperty(nt)){var xb=Array.isArray(ie[nt])?ie[nt]:[ie[nt]];ie[nt]=xb.map(N.bind(null,nt))}var bc=new be(ie);bc.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),bc.validate(b.value,b.rule.options||r,function(xa){var it=[];D&&D.length&&it.push.apply(it,D),xa&&xa.length&&it.push.apply(it,xa),w(it.length?it:null)})}}var F;y.asyncValidator?F=y.asyncValidator(y,b.value,B,b.source,r):y.validator&&(F=y.validator(y,b.value,B,b.source,r),F===!0?B():F===!1?B(y.message||y.field+" fails"):F instanceof Array?B(F):F instanceof Error&&B(F.message)),F&&F.then&&F.then(function(){return B()},function(ne){return B(ne)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ft.hasOwnProperty(e.type))throw new Error(ee("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"?ft.required:ft[this.getType(e)]||!1}},be.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ft[e]=n},be.warning=ur,be.messages=Zi,be.validators=ft;var $y={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 Vy(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new be(t);return n.messages(Object.assign($y,e)),n}var Hy=new Dh;function Yi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function jy(t){if(Array.isArray(t))return t}function qy(t){if(Array.isArray(t))return Yi(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 dr(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 Uy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Wy(t,e,n){return e&&fr(t.prototype,e),n&&fr(t,n),t}function Ky(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function yr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function zy(){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 Gy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function mr(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){Ky(t,u,n[u])})}return t}function Xy(t){return jy(t)||yr(t)||vr(t)||zy()}function pi(t){return qy(t)||yr(t)||vr(t)||Gy()}function vr(t,e){if(!!t){if(typeof t=="string")return Yi(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 Yi(t,e)}}var gr=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(h){return s([o,h])}}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(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},x=function(){function e(i){var u=this;Uy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Er,this.removeSetting=br,this._callControlHooks("preInstance",i);var a=hr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,s=a.controlType,o=a.controlFieldType,h=a.controlEventKeys,m=a.controlCustomEvents,g=a.name,_=a.setting;r&&l&&s||Wa("The ".concat(g," controlName,controlIcon,controlType is not define"));var I;this.id=(I=i==null?void 0:i.id)!==null&&I!==void 0?I:se(10),this.name=r,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:s,this.props=new q(i==null?void 0:i.props,(hr(this,e)?this.constructor:void 0).controlName);var w;this.controlType=(w=i==null?void 0:i.controlType)!==null&&w!==void 0?w:"base",this.setting=ve(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=ve(h),this.customEvents=ve(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,s=Xy(a),o=s[0],h=s.slice(1);return(l=Hy).emit.apply(l,[o,this].concat(pi(h)))},n.preUpdate=function(u,a){this._callControlHooks("preUpdateProps",u,a)},n.postUpdate=function(u,a){this._callControlHooks("postUpdateProps",u,a)},n.updateProps=function(u,a){this.preUpdate(u,a),gh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return dr(function(){var a,r,l;return gr(this,function(s){switch(s.label){case 0:return a=mr({},u.rules),[4,u._callControlHooks("preValidate",a)];case 1:return r=s.sent(),l=r[r.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,a){var r=this;return dr(function(){var l,s,o,h;return gr(this,function(m){switch(m.label){case 0:return[4,r.preValidate()];case 1:l=m.sent(),s=l!==void 0?l:mr({},r.rules),Array.isArray(a)&&a.forEach(function(g){s.hasOwnProperty(g)&&delete s[g]}),o=Vy(s,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return m.sent(),[2,!0];case 4:throw h=m.sent(),h.control||(h.control=r),h;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,s=this.props,o=s.dataBind,h=s.datasourceBind,m=s.optionConfig,g=s.caption,_=s.required,I=s.maxLength,b=s.options,w=s.encrypted,y=s.encryptedMode;if(!(!a&&!o&&!h)){var E={parentId:u,fieldType:a,controlId:r,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:h&&(E.datasourceBind=h);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),I!==void 0&&(E.maxLength=I),w!==void 0&&(E.encrypted=w),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ve(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,pi(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},Wy(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();x.controlName="\u63A7\u4EF6",x.controlIcon="icon",x.controlType="control",x.controlEventKeys=[],x.controlCustomEvents=[],x.setting=[],x.__is_control__=!0,x.removeSettingItem=br,x.updateSettingItem=Er;function br(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 Er(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,pi(e.showItems))}}}})}function Qy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Jy(t,e,n){return e&&Cr(t.prototype,e),n&&Cr(t,n),t}function Zy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){Qy(this,e),this.customEvents=[],this.parent=null;var i=Zy(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Wa("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:se(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new q(n==null?void 0:n.props),this.customEvents=l;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:qi.UNKNOWN}return Jy(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}();U.controlType="control",U.__is_control__=!0,U.controlCustomEvents=[];function eu(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=Ih(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 tu(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 _r(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(t)}function yn(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 Yy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function py(t,e){return e&&(em(e)==="object"||typeof e=="function")?e:_r(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nu(t,e)}var em=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tm(){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 mn(t){var e=tm();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 py(this,u)}}var Q=function(t){yn(n,t);var e=mn(n);function n(i){fn(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},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(Yy(i.dataBind,ue))u.dataBind={type:"object",required:!0,fields:ve(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:ve(a),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}($),k=function(t){yn(n,t);var e=mn(n);function n(i){fn(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}(Ae),T=function(t){yn(n,t);var e=mn(n);function n(i){fn(this,n);var u;u=e.call(this,i);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 h;u.labelPosition=(h=i==null?void 0:i.labelPosition)!==null&&h!==void 0?h:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new ue(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}(q);T.Rules=Q,T.RuntimeRules=k;var Ue=function(t){yn(n,t);var e=mn(n);function n(i){fn(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],eu.call(_r(u),i),u}return n}(Q);function nm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function im(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 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&&iu(t,e)}function am(t,e){return e&&(rm(e)==="object"||typeof e=="function")?e:nm(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}var rm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lm(){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 om(t){var e=lm();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 am(this,u)}}var R=function(t){um(n,t);var e=om(n);function n(i){im(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(x);R.controlEventKeys=["on_change","on_focus","on_blur"];function cm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function dm(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 fm(t,e){return e&&(hm(e)==="object"||typeof e=="function")?e:cm(t)}function uu(t,e){return uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},uu(t,e)}var hm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ym(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mm(t){var e=ym();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 fm(this,u)}}var P=function(t){dm(n,t);var e=mm(n);function n(i){sm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(U);function vm(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 bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function bm(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 Em(t,e){return e&&(Cm(e)==="object"||typeof e=="function")?e:vm(t)}function au(t,e){return au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},au(t,e)}var Cm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Im(t){var e=_m();return function(){var i=bn(t),u;if(e){var a=bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Em(this,u)}}var M=function(t){bm(n,t);var e=Im(n);function n(i){return gm(this,n),e.call(this,i)}return n}(q);function ru(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function wm(t){if(Array.isArray(t))return ru(t)}function Am(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Sm(){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 Ir(t){return wm(t)||Am(t)||Bm(t)||Sm()}function Bm(t,e){if(!!t){if(typeof t=="string")return ru(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ru(t,e)}}function Tm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function wr(t,e){t.parent=e,Tm(t,"parent")}function Rm(t,e){t.forEach(function(n){wr(n,e)})}var Ar=Symbol("targetKey");function Sr(t){var e;return(e=t[Ar])!==null&&e!==void 0?e:t}function Br(t,e){return Rm(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===Ar?i:(s=Reflect).get.apply(s,[i,u].concat(Ir(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(Oi(t)&&u==="length"&&a===t.length)return!0;var h=(o=Reflect).set.apply(o,[i,u,a].concat(Ir(l)));return _h(a)&&wr(a,e),h}})}function fe(t,e,n,i){var u=i!=null?i:t,a=Br(Sr(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Br(Sr(l),u)},enumerable:!0})}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 Pm(t){if(Array.isArray(t))return lu(t)}function Tr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rr(t,e,n,i,u,a,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 Dm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Rr(a,i,u,r,l,"next",s)}function l(s){Rr(a,i,u,r,l,"throw",s)}r(void 0)})}}function xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function We(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?We=Reflect.get:We=function(u,a,r){var l=jm(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},We(t,e,n||t)}function Ee(t){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ee(t)}function Om(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 km(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Nm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Mm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lm(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){Fm(t,u,n[u])})}return t}function $m(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 Vm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):$m(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Hm(t,e){return e&&(qm(e)==="object"||typeof e=="function")?e:Tr(t)}function ou(t,e){return ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ou(t,e)}function jm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ee(t),t!==null););return t}function Pr(t){return Pm(t)||Nm(t)||Um(t)||Mm()}var qm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Um(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 Wm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Km(t){var e=Wm();return function(){var i=Ee(t),u;if(e){var a=Ee(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Hm(this,u)}}var zm=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(h){return s([o,h])}}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(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Gm=1e4,H=function(e){Om(i,e);var n=Km(i);function i(a){xm(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=km(this,i)?this.constructor:void 0,s=l.excludes,o=l.childrenMaxLength;return r.props=new M(a==null?void 0:a.props),fe(Tr(r),"children",a==null?void 0:a.children),r.excludes=ve(s),r.childrenMaxLength=o,r}var u=i.prototype;return u.judgeExcludesChildren=function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)},u.judgeJoinChildren=function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length},u.validate=function(r,l){var s=this,o=this,h=function(){return We(Ee(i.prototype),"validate",s)};return Dm(function(){return zm(this,function(m){switch(m.label){case 0:return[4,h().call(o,r,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(r,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=We(Ee(i.prototype),"toDataBindModel",this).call(this),s=l?[l]:[];return this.children.reduce(function(o,h){var m=h.toDataBindModel(r);if(Array.isArray(m)){var g=m.filter(function(_){return!!_});return Pr(o).concat(Pr(g))}return m&&o.push(m),o},s)},u.toSchema=function(){var r=We(Ee(i.prototype),"toSchema",this).call(this),l=this.children.map(function(s){var o=s.toSchema();return o});return Vm(Lm({},r),{children:l})},i}(x);H.excludes=!1,H.childrenMaxLength=Gm;function Dr(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 En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(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&&cu(t,e)}function Jm(t,e){return e&&(Zm(e)==="object"||typeof e=="function")?e:Dr(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cu(t,e)}var Zm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ym(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pm(t){var e=Ym();return function(){var i=En(t),u;if(e){var a=En(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Jm(this,u)}}var W=function(t){Qm(n,t);var e=pm(n);function n(i){Xm(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new M(i==null?void 0:i.props),fe(Dr(u),"children",i==null?void 0:i.children),u}return n}(U);function xr(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 Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(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&&su(t,e)}function nv(t,e){return e&&(iv(e)==="object"||typeof e=="function")?e:xr(t)}function su(t,e){return su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},su(t,e)}var iv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function uv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function av(t){var e=uv();return function(){var i=Cn(t),u;if(e){var a=Cn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return nv(this,u)}}var _n=function(t){tv(n,t);var e=av(n);function n(i,u){ev(this,n);var a;return a=e.call(this,u),fe(xr(a),"headers",u==null?void 0:u.headers,i),a}return n}(q);function du(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 rv(t){if(Array.isArray(t))return du(t)}function Fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Or(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 lv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Or(a,i,u,r,l,"next",s)}function l(s){Or(a,i,u,r,l,"throw",s)}r(void 0)})}}function ov(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ke=Reflect.get:Ke=function(u,a,r){var l=mv(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},Ke(t,e,n||t)}function Ce(t){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ce(t)}function sv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fu(t,e)}function dv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fv(){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 kr(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){cv(t,u,n[u])})}return t}function hv(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 Nr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):hv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function yv(t,e){return e&&(vv(e)==="object"||typeof e=="function")?e:Fr(t)}function fu(t,e){return fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fu(t,e)}function mv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ce(t),t!==null););return t}function Mr(t){return rv(t)||dv(t)||gv(t)||fv()}var vv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gv(t,e){if(!!t){if(typeof t=="string")return du(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 du(t,e)}}function bv(){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 Ev(t){var e=bv();return function(){var i=Ce(t),u;if(e){var a=Ce(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return yv(this,u)}}var Cv=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(h){return s([o,h])}}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(h){o=[6,h],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){sv(n,t);var e=Ev(n);function n(u){ov(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new _n(Fr(a),u==null?void 0:u.props),a}var i=n.prototype;return i.validate=function(a,r){var l=this,s=this,o=function(){return Ke(Ce(n.prototype),"validate",l)};return lv(function(){return Cv(this,function(h){switch(h.label){case 0:return[4,o().call(s,a)];case 1:return h.sent(),[4,Promise.all(s.props.headers.map(function(m){return m.validate(a,r)}))];case 2:return h.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=Ke(Ce(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(s,o){var h=o.toDataBindModel(l);if(Array.isArray(h)){var m=h.filter(function(g){return!!g});return Mr(s).concat(Mr(m))}return h&&s.push(h),s},r)},i.toSchema=function(){var a=Ke(Ce(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Nr(kr({},a),{props:Nr(kr({},this.props),{headers:r})})},n}(x);hu.controlFieldType=v.LIST;function yu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lr(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 Iv(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(t,n),t}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function wv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mu(t,e)}function Av(t,e){return e&&(Sv(e)==="object"||typeof e=="function")?e:yu(t)}function mu(t,e){return mu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},mu(t,e)}var Sv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tv(t){var e=Bv();return function(){var i=In(t),u;if(e){var a=In(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Av(this,u)}}var $r=function(t){wv(n,t);var e=Tv(n);function n(i){_v(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new _n(yu(u),i==null?void 0:i.props),fe(yu(u),"children",i==null?void 0:i.children),u}return Iv(n,[{key:"length",get:function(){return this.children.length}}]),n}(U);function Vr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function gu(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 Rv(t,e){return e&&(Pv(e)==="object"||typeof e=="function")?e:Vr(t)}function bu(t,e){return bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bu(t,e)}var Pv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Eu(t){var e=Dv();return function(){var i=wn(t),u;if(e){var a=wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Rv(this,u)}}var Cu=function(t){gu(n,t);var e=Eu(n);function n(i){vu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}($),j=function(t){gu(n,t);var e=Eu(n);function n(i){vu(this,n);var u;u=e.call(this,i);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 Ja(i==null?void 0:i.autoWidth),u.dataBind=new ue(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.adaptiveRowHeight=(o=i==null?void 0:i.adaptiveRowHeight)!==null&&o!==void 0?o:!1,u}return n}(q);j.Rules=Cu;var Hr=function(t){gu(n,t);var e=Eu(n);function n(i){vu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],eu.call(Vr(u),i),u}return n}(Cu);function xv(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 An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function Ov(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_u(t,e)}function kv(t,e){return e&&(Nv(e)==="object"||typeof e=="function")?e:xv(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var Nv=function(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 Lv(t){var e=Mv();return function(){var i=An(t),u;if(e){var a=An(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return kv(this,u)}}var K=function(t){Ov(n,t);var e=Lv(n);function n(i){Fv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(x);function $v(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(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&&Iu(t,e)}function jv(t,e){return e&&(qv(e)==="object"||typeof e=="function")?e:$v(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var qv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Uv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wv(t){var e=Uv();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 jv(this,u)}}var z=function(t){Hv(n,t);var e=Wv(n);function n(i){Vv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(U);function Kv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(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&&wu(t,e)}function Xv(t,e){return e&&(Qv(e)==="object"||typeof e=="function")?e:Kv(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wu(t,e)}var Qv=function(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 Zv(t){var e=Jv();return function(){var i=Bn(t),u;if(e){var a=Bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Xv(this,u)}}var Au=function(t){Gv(n,t);var e=Zv(n);function n(i){zv(this,n);var u;return u=e.call(this,i),u.dataBind=new ue(i==null?void 0:i.dataBind),u}return n}(M);function Yv(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 Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function eg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Su(t,e)}function tg(t,e){return e&&(ng(e)==="object"||typeof e=="function")?e:Yv(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Su(t,e)}var ng=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ig(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ug(t){var e=ig();return function(){var i=Tn(t),u;if(e){var a=Tn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return tg(this,u)}}var ag=function(t){eg(n,t);var e=ug(n);function n(i){pv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Au(i==null?void 0:i.props),u}return n}(H);function rg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(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&&Bu(t,e)}function cg(t,e){return e&&(sg(e)==="object"||typeof e=="function")?e:rg(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}var sg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fg(t){var e=dg();return function(){var i=Rn(t),u;if(e){var a=Rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cg(this,u)}}var hg=function(t){og(n,t);var e=fg(n);function n(i){lg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Au(i==null?void 0:i.props),u}return n}(W);console.log("sourcemap 4");class Tu extends q{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 jr extends x{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}jr.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 yg extends U{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlType(){return"text"}}var qr={Designer:jr,Runtime:yg,Property:Tu};class Ru extends q{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 Pu extends x{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Pu.controlEventKeys=["on_click"],Pu.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 mg extends U{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ur={Designer:Pu,Runtime:mg,Property:Ru};class J extends q{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 Z extends x{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.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 te extends U{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var Wr={Designer:Z,Runtime:te,Property:J},_e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(_e||{}),Kr=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Kr||{}),zr=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(zr||{});class Pn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Du=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Du||{});class Dn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var xu=(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))(xu||{});class Fu{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 ot((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new ot((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new ot((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Gr{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 Fu(s)))!=null?u:[new Fu],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 Ou{constructor(e){var n,i,u,a,r,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:se(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 ku{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 Xr{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 ku(e==null?void 0:e.watermark),this.autoRename=new ku(e==null?void 0:e.autoRename)}}const Qr=480;function ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Jr{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 Zr{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 Yr=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Yr||{}),Nu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Nu||{}),Mu=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Mu||{}),ze=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ze||{}),Lu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Lu||{});class $u extends q{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:xu.SOLID}}class pr extends x{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}pr.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class vg extends U{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"divider"}}var el={Designer:pr,Runtime:vg,Property:$u};class gg extends ${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(_e.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 xn extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new ue(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[_e.ShowSubmitUser,_e.ShowSubmitDept,_e.ShowSubmitTime,_e.ShowCurrentApprovar,_e.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ge==null?void 0:Ge.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}xn.Rules=gg;class Ge extends x{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ge.controlFieldType=v.AUTO_NUMBER,Ge.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 bg extends U{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"title"}}var tl={Designer:Ge,Runtime:bg,Property:xn};class Eg extends ${constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class Fn extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Fn.Rules=Eg;class yt extends Z{constructor(e){super(e),this.props=new Fn(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"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.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 Cg extends te{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var nl={Designer:yt,Runtime:Cg,Property:Fn};class _g extends ${constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class On extends J{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.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:""}}On.Rules=_g;class mt extends Z{constructor(e){super(e),this.props=new On(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"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 Ig extends te{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var il={Designer:mt,Runtime:Ig,Property:On};class Vu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon}}class vt extends Z{constructor(e){super(e),this.props=new Vu(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"}}vt.controlEventKeys=["on_click"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class wg extends te{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var ul={Designer:vt,Runtime:wg,Property:Vu};class Hu extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:gt.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Ou(r)))!=null?a:[new Ou({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends Z{constructor(e){super(e),this.props=new Hu(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"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.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 Ag extends te{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var al={Designer:gt,Runtime:Ag,Property:Hu};class ju extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon}}class bt extends Z{constructor(e){super(e),this.props=new ju(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"}}bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Sg extends te{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var rl={Designer:bt,Runtime:Sg,Property:ju};class Bg{constructor(e){this.dataCode=e.dataCode}}class qu extends J{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Bg(r)))!=null?a:[]}}class Et extends Z{constructor(e){super(e),this.props=new qu(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 Tg extends te{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var ll={Designer:Et,Runtime:Tg,Property:qu};function kn(){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 Rg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ye({},kn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ye({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},kn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class Nn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Hi(e==null?void 0:e.fillPayload),this.formBind=new Lh(e==null?void 0:e.formBind),this.fillBack=new nr(e==null?void 0:e.fillBack)}}Nn.Rules=Rg;class Ct extends Z{constructor(e){super(e),this.props=new Nn(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 Pg extends te{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var ol={Designer:Ct,Runtime:Pg,Property:Nn};class Dg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ye({},kn())},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:ye({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},kn())}}}class Mn extends J{constructor(e){var n,i;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.fillPayload=new Hi(e==null?void 0:e.fillPayload),this.listPageBind=new pa(e==null?void 0:e.listPageBind),this.fillBack=new nr(e==null?void 0:e.fillBack)}}Mn.Rules=Dg;class _t extends Z{constructor(e){super(e),this.props=new Mn(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"}}_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 xg extends te{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var cl={Designer:_t,Runtime:xg,Property:Mn};class Fg extends ${constructor(e){super(e)}}class Og extends Ae{constructor(e){super(e)}}class It extends q{constructor(e){super(e)}}It.Rules=Fg,It.RuntimeRules=Og;class sl extends x{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}sl.setting=[];class kg extends U{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var dl={Designer:sl,Runtime:kg,Property:It};class Ng extends ${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 Ln extends q{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"}}Ln.Rules=Ng;class fl extends x{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}fl.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 Mg extends U{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var hl={Designer:fl,Runtime:Mg,Property:Ln};class Lg extends ${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 $n extends q{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 ey(a)))!=null?u:[]}}$n.Rules=Lg;class yl extends x{constructor(e){super(e),this.props=new $n(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"}}yl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class $g extends U{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ml={Designer:yl,Runtime:$g,Property:$n};class Vg extends ${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 Vn extends J{constructor(e){var n,i,u,a,r,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.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:Xe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Xe.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?m:[]}}Vn.Rules=Vg;class Xe extends Z{constructor(e){super(e),this.props=new Vn(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"}}Xe.controlEventKeys=["on_click","on_click_finish"],Xe.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 Hg extends te{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var vl={Designer:Xe,Runtime:Hg,Property:Vn};class jg extends ${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 Hn extends J{constructor(e){var n,i,u,a,r,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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:Qe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Qe.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?m:[]}}Hn.Rules=jg;class Qe extends Z{constructor(e){super(e),this.props=new Hn(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"}}Qe.controlEventKeys=["on_click","on_click_finish"],Qe.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 qg extends te{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var gl={Designer:Qe,Runtime:qg,Property:Hn};class Ug extends ${constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class jn extends J{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Jr(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}jn.Rules=Ug;class wt extends Z{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Wg extends te{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var bl={Designer:wt,Runtime:Wg,Property:jn};class Uu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends Z{constructor(e){super(e),this.props=new Uu(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"}}At.controlEventKeys=["on_click"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Kg extends te{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var El={Designer:At,Runtime:Kg,Property:Uu};class zg extends ${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 qn extends q{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}}qn.Rules=zg;class Un extends x{constructor(e){super(e),this.props=new qn(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"}}Un.controlEventKeys=["on_click"],Un.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 Gg extends U{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Cl={Designer:Un,Runtime:Gg,Property:qn};class Wu extends q{constructor(e){var n,i,u,a,r,l,s,o,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.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=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class St extends x{constructor(e){super(e),this.props=new Wu(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"}}St.controlEventKeys=["on_click"],St.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 Xg extends U{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var _l={Designer:St,Runtime:Xg,Property:Wu},Qg=Object.freeze({__proto__:null,Text:qr,Link:Ur,Button:Wr,Divider:el,Title:tl,CreateFormListButton:nl,BatchSubmissionListButton:il,SubmissionRecordListButton:ul,ExportListButton:al,ExportRecordListButton:rl,ImportRecordListButton:ll,FormSelectButton:ol,ListSelectButton:cl,Pagination:dl,Dashboard:hl,ListViewSelect:ml,TextOcrButton:vl,InvoiceCheckButton:gl,BatchPrintListButton:bl,BatchPrintRecordListButton:El,OperationButton:Cl,BatchDeleteButton:_l});class Jg extends Q{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=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Zg extends k{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:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Je 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 ir(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:Ze.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:""}}Je.Rules=Jg,Je.RuntimeRules=Zg;class Ze extends R{constructor(e){super(e),this.props=new Je(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"}}Ze.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ze.controlFieldType=v.VARCHAR,Ze.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 Il extends P{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"input"}}Il.controlFieldType=v.VARCHAR;var wl={Designer:Ze,Runtime:Il,Property:Je};class Yg extends Ue{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 pg extends k{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 Bt extends T{constructor(e){var n,i,u,a,r,l,s,o,h,m,g,_;super(e),this.options=de((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 X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Tt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var b;(b=this.multistageFilling)==null||b.push(new p(I))}))}}Bt.Rules=Yg,Bt.RuntimeRules=pg;class Tt extends R{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Tt.controlEventKeys=["on_change","on_click"],Tt.controlFieldType=v.ARRAY,Tt.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 Al extends P{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Al.controlFieldType=v.ARRAY;var Sl={Designer:Tt,Runtime:Al,Property:Bt};class e0 extends Ue{constructor(e){super(e)}}class Wn extends T{constructor(e){var n,i,u,a,r,l,s,o,h,m;super(e),this.options=de((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 X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Rt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new p(g))}))}}Wn.Rules=e0;class Rt extends R{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Rt.controlEventKeys=["on_change","on_click"],Rt.controlFieldType=v.VARCHAR,Rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Bl extends P{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"radio"}}Bl.controlFieldType=v.VARCHAR;var Tl={Designer:Rt,Runtime:Bl,Property:Wn};class t0 extends Q{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=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class n0 extends k{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:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Pt extends T{constructor(e){var n,i,u,a,r,l,s,o,h,m,g,_,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=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Dt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new ir(e==null?void 0:e.regularRules)}}Pt.Rules=t0,Pt.RuntimeRules=n0;class Dt extends R{constructor(e){super(e),this.props=new Pt(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}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=v.DECIMAL,Dt.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 Rl extends P{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlType(){return"number"}}Rl.controlFieldType=v.DECIMAL;var Pl={Designer:Dt,Runtime:Rl,Property:Pt};class Ku extends T{constructor(e){var n,i,u,a,r,l,s,o,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Kn.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(m=>new Pn(m)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class Kn extends R{constructor(e){super(e),this.props=new Ku(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}}Kn.controlFieldType=v.TIMESTAMP,Kn.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 Dl extends P{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Dl.controlFieldType=v.TIMESTAMP;var xl={Designer:Kn,Runtime:Dl,Property:Ku};class i0 extends k{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 zn extends T{constructor(e){var n,i,u,a,r,l,s,o,h;super(e),this.dataBind=new Qh(e==null?void 0:e.dataBind),this.defaultValue=new Jh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.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:Gn.controlName,this.limitDateList=(h=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Pn(m)))!=null?h:[]}}zn.RuntimeRules=i0;class Gn extends R{constructor(e){super(e),this.props=new zn(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}}Gn.controlFieldType=v.TIMESCOPE,Gn.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 Fl extends P{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Fl.controlFieldType=v.TIMESCOPE;var Ol={Designer:Gn,Runtime:Fl,Property:zn};class u0 extends Q{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 a0 extends k{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:Ft.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=u0,xt.RuntimeRules=a0;class Ft 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"}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=v.TEXT,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]},{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 kl extends P{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}kl.controlFieldType=v.TEXT;var Nl={Designer:Ft,Runtime:kl,Property:xt};class r0 extends Q{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 l0 extends k{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 Ot 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:kt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}Ot.Rules=r0,Ot.RuntimeRules=l0;class kt extends R{constructor(e){super(e),this.props=new Ot(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"}}kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],kt.controlFieldType=v.TEXT,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:"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 Ml extends P{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ml.controlFieldType=v.TEXT;var Ll={Designer:kt,Runtime:Ml,Property:Ot};class o0 extends Ue{constructor(e){super(e)}}class Xn extends T{constructor(e){var n,i,u,a,r,l,s;super(e),this.options=de((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 X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Qn.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.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var h;(h=this.multistageFilling)==null||h.push(new p(o))}))}}Xn.Rules=o0;class Qn extends R{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Qn.controlFieldType=v.VARCHAR,Qn.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 $l extends P{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"select"}}$l.controlFieldType=v.VARCHAR;var Vl={Designer:Qn,Runtime:$l,Property:Xn};class c0 extends Ue{constructor(e){super(e)}}class s0 extends k{constructor(e){super(e),this[0].type="array"}}class Nt extends T{constructor(e){var n,i,u,a,r,l;super(e),this.options=de((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 X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Jn.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.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))}))}}Nt.Rules=c0,Nt.RuntimeRules=s0;class Jn extends R{constructor(e){super(e),this.props=new Nt(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"}}Jn.controlFieldType=v.ARRAY,Jn.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 Hl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Hl.controlFieldType=v.ARRAY;var jl={Designer:Jn,Runtime:Hl,Property:Nt};class d0 extends k{constructor(e){super(e),this[0].type="array"}}class Zn extends T{constructor(e){var n,i,u,a,r,l,s,o;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:Yn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var m;(m=this.multistageFilling)==null||m.push(new p(h))}))}}Zn.RuntimeRules=d0;class Yn extends R{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Yn.controlFieldType=v.EMPLOYEES,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:"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 ql extends P{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"employee"}}ql.controlFieldType=v.EMPLOYEES;var Ul={Designer:Yn,Runtime:ql,Property:Zn};const f0=10485760,h0=104857600,y0=1048576e3;class m0 extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:y0,message:d.getMessage("attachmentMaxSize")}}}class v0 extends k{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 Ye 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:h0,this.caption=(s=e==null?void 0:e.caption)!=null?s:pe.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Ye.Rules=m0,Ye.RuntimeRules=v0;class pe extends R{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}pe.controlEventKeys=["on_change"],pe.controlFieldType=v.FILE,pe.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 zu extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"attachment"}}zu.controlFieldType=v.FILE;var Wl={Designer:pe,Runtime:zu,Property:Ye};const Kl=class extends pe{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:Kl.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Gu=Kl;Gu.controlFieldType=v.IMAGE,Gu.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 g0 extends zu{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 b0 extends Ye{constructor(e){super(e)}}var zl={Designer:Gu,Runtime:g0,Property:b0};class E0 extends Ue{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 C0 extends k{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:[nn(ye({},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 Mt extends T{constructor(e){var n,i,u,a,r,l,s,o,h,m,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Gh(e==null?void 0:e.dataBind),this.datasourceBind=new X((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new $i({value:"name"})]}),this.defaultValue=new Xh((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:on.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Lt.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}Mt.Rules=E0,Mt.RuntimeRules=C0;class Lt extends R{constructor(e){super(e),this.props=new Mt(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}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=v.MONEY,Lt.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 Gl extends P{constructor(e){super(e),this.props=new Mt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Gl.controlFieldType=v.MONEY;var Xl={Designer:Lt,Runtime:Gl,Property:Mt};class _0 extends Q{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 I0 extends k{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 $t 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:Du.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 Dn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Dn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Vt.controlName}}$t.Rules=_0,$t.RuntimeRules=I0;class Vt extends R{constructor(e){super(e),this.props=new $t(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 Dn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Vt.controlEventKeys=["on_change","on_click"],Vt.controlFieldType=v.DECIMAL,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:"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 Ql extends P{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"score"}}Ql.controlFieldType=v.DECIMAL;var Jl={Designer:Vt,Runtime:Ql,Property:$t};class w0 extends k{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 pn extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ei.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 Zh((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"}}pn.RuntimeRules=w0;class ei extends R{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ei.controlFieldType=v.ADDRESS,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.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Zl extends P{constructor(e){super(e),this.props=new pn(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"}}Zl.controlFieldType=v.ADDRESS;var Yl={Designer:ei,Runtime:Zl,Property:pn};class A0 extends k{constructor(e){super(e),this[0].type="array"}}class ti extends T{constructor(e){var n,i,u,a,r,l,s,o,h,m;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=(h=e==null?void 0:e.caption)!=null?h:ni.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new p(g))}))}}ti.RuntimeRules=A0;class ni extends R{constructor(e){super(e),this.props=new ti(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}}ni.controlFieldType=v.DEPARTMENTS,ni.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 pl extends P{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"department"}}pl.controlFieldType=v.DEPARTMENTS;var eo={Designer:ni,Runtime:pl,Property:ti};class Xu 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:Ht.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Ht extends R{constructor(e){super(e),this.props=new Xu(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"}}Ht.controlEventKeys=["on_change"],Ht.controlFieldType=v.AUTO_NUMBER,Ht.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 to extends P{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}to.controlFieldType=v.AUTO_NUMBER;var no={Designer:Ht,Runtime:to,Property:Xu};class S0 extends Q{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class B0 extends k{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 jt 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 Yh(e==null?void 0:e.dataBind),this.defaultValue=new ph(e==null?void 0:e.defaultValue),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.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}jt.Rules=S0,jt.RuntimeRules=B0;class qt extends R{constructor(e){super(e),this.props=new jt(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}}qt.controlEventKeys=["on_change"],qt.controlFieldType=v.CALC,qt.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 io extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"calc"}}io.controlFieldType=v.CALC;var uo={Designer:qt,Runtime:io,Property:jt};class T0 extends k{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 ii 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:ui.controlName}}ii.RuntimeRules=T0;class ui extends R{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ui.controlFieldType=v.DECIMAL_RANGE,ui.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 ao extends P{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}ao.controlFieldType=v.DECIMAL_RANGE;var ro={Designer:ui,Runtime:ao,Property:ii};class R0 extends k{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 ai extends T{constructor(e){var n,i,u,a,r,l,s,o,h,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:me.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:ri.controlName,this.limitDateList=(m=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(g=>new Pn(g)))!=null?m:[]}}ai.RuntimeRules=R0;class ri extends R{constructor(e){super(e),this.props=new ai(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 lo extends P{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}lo.controlFieldType=v.ARRAY;var oo={Designer:ri,Runtime:lo,Property:ai};class P0 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class D0 extends k{constructor(e){super(e),this[0].type="any"}}class Ut extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wt.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}}Ut.Rules=P0,Ut.RuntimeRules=D0;class Wt extends R{constructor(e){super(e),this.props=new Ut(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"}}Wt.controlFieldType=v.ANY,Wt.controlEventKeys=[],Wt.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 co extends P{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}co.controlFieldType=v.ANY;var so={Designer:Wt,Runtime:co,Property:Ut};class x0 extends Ue{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 li extends T{constructor(e){var n,i,u,a,r,l;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new pa(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:oi.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.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))})),this.canViewForm=(l=e==null?void 0:e.canViewForm)!=null?l:!1}}li.Rules=x0;class oi extends R{constructor(e){super(e),this.props=new li(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"}}oi.controlFieldType=v.VARCHAR,oi.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}];class fo extends P{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}fo.controlFieldType=v.VARCHAR;var ho={Designer:oi,Runtime:fo,Property:li};class Qu extends Je{constructor(e){super(e)}}class yo extends Ze{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}yo.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 mo extends P{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}mo.controlFieldType=v.VARCHAR;var vo={Designer:yo,Runtime:mo,Property:Qu};class F0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],tu.call(this,e,Se.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 O0 extends k{constructor(e){super(e),this[0].type="array"}}class Kt extends T{constructor(e){var n,i,u,a,r,l,s,o,h,m,g,_,I;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Se.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=(h=e==null?void 0:e.defaultCollapseLevel)!=null?h:1,this.datasourceBind=new Kh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Se.controlCustomAttributes}),this.multistageFilling=(_=(g=e==null?void 0:e.multistageFilling)==null?void 0:g.map(b=>new p(b)))!=null?_:[],this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:[]}}Kt.Rules=F0,Kt.RuntimeRules=O0;class Se extends R{constructor(e){super(e),this.props=new Kt(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}]}}Se.controlEventKeys=["on_change","on_click"],Se.controlFieldType=v.ARRAY,Se.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.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 go extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"tree"}}go.controlFieldType=v.ARRAY;var bo={Designer:Se,Runtime:go,Property:Kt};class k0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},tu.call(this,e,et.controlCustomAttributes),e.externalType===ze.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class N0 extends k{constructor(e){super(e),this[0].type="array"}}class zt extends T{constructor(e){var n,i,u,a,r,l,s,o,h,m,g,_,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:et.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 ln((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:et.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Nu.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Lu.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:ze.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))}))}}zt.Rules=k0,zt.RuntimeRules=N0;class et extends R{constructor(e){super(e),this.props=new zt(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}]}}et.controlFieldType=v.EMPLOYEES,et.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.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 Eo extends P{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Eo.controlFieldType=v.EMPLOYEES;var Co={Designer:et,Runtime:Eo,Property:zt};class M0 extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,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"&&Oi(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")&&Oi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class ci 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:Gt.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 Gr(e==null?void 0:e.signatureConfig)}}ci.Rules=M0;class Gt extends R{constructor(e){super(e),this.props=new ci(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"}}Gt.controlEventKeys=["on_click","on_click_finish"],Gt.controlFieldType=v.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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 _o extends P{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}_o.controlFieldType=v.VARCHAR;var Io={Designer:Gt,Runtime:_o,Property:ci};class L0 extends Q{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 $0 extends k{constructor(e){super(e),this[0].type="array"}}class Xt extends T{constructor(e){var n,i,u,a,r,l,s,o,h,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qt.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=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:f0,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Xr(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Xt.Rules=L0,Xt.RuntimeRules=$0;class Qt extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Qt.controlEventKeys=["on_change","on_wps_open"],Qt.controlFieldType=v.FILE,Qt.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 wo extends P{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"wps"}}wo.controlFieldType=v.FILE;var Ao={Designer:Qt,Runtime:wo,Property:Xt};class V0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},tu.call(this,e,tt.controlCustomAttributes),e.businessType===ze.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class H0 extends k{constructor(e){super(e),this[0].type="array"}}class Jt extends T{constructor(e){var n,i,u,a,r,l,s,o,h,m,g,_,I,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=(h=e==null?void 0:e.caption)!=null?h:tt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new ln((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:tt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Mu.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ze.ALL,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var y;(y=this.multistageFilling)==null||y.push(new p(w))}))}}Jt.Rules=V0,Jt.RuntimeRules=H0;class tt extends R{constructor(e){super(e),this.props=new Jt(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}}tt.controlFieldType=v.DEPARTMENTS,tt.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 So extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"department2"}}So.controlFieldType=v.DEPARTMENTS;var Bo={Designer:tt,Runtime:So,Property:Jt},j0=Object.freeze({__proto__:null,Input:wl,Checkbox:Sl,Radio:Tl,Number:Pl,DatePicker:xl,DateRange:Ol,Textarea:Nl,RichText:Ll,Select:Vl,SelectMultiple:jl,Employee:Ul,Image:zl,Attachment:Wl,Amount:Xl,Score:Jl,Address:Yl,Department:eo,AutoNumber:no,Calc:uo,SearchNumberRange:ro,SearchDateRange:oo,VueFormItem:so,SelectRelation:ho,SearchInput:vo,Tree:bo,Employee2:Co,ElectronicSignature:Io,WPS:Ao,Department2:Bo});class To extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}To.excludes=[C.GRID];class q0 extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var Ro={Designer:To,Runtime:q0,Property:M};const U0=24;class Be extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:U0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Zt extends H{constructor(e){super(e),this.props=new Be(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Zt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Zt.childrenMaxLength=1;class Ju extends W{constructor(e){super(e),this.props=new Be(e==null?void 0:e.props)}static get controlType(){return"col"}}var Po={Designer:Zt,Runtime:Ju,Property:Be};class si extends M{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 di extends H{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}di.excludes=[C.ROW],di.setting=[{key:"col-setting",visible:!0}];class Do extends W{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"row"}}var xo={Designer:di,Runtime:Do,Property:si};const W0=4;class fi extends di{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)}}fi.excludes=[C.GRID_ROW],fi.setting=[],fi.childrenMaxLength=W0;class K0 extends Do{static get controlType(){return"grid-row"}constructor(e){super(e)}}class z0 extends si{constructor(e){super(e)}}var Fo={Designer:fi,Runtime:K0,Property:z0};class G0 extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class hi extends M{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"}}hi.Rules=G0;class Zu extends H{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Zu.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}],Zu.excludes=[C.CARD_GROUP];class X0 extends W{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Oo={Designer:Zu,Runtime:X0,Property:hi};class Q0 extends ${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")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class yi extends M{constructor(e){var n,i,u,a,r,l;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,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.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new Nh(e==null?void 0:e.metaAutoWidth)}}yi.Rules=Q0;class ae extends H{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}}ae.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ae.controlType="subtable-column",ae.controlIcon="subtable-column",ae.childrenMaxLength=1,ae.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],ae.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 ko extends W{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}}ko.controlType="subtable-column";var No={Designer:ae,Runtime:ko,Property:yi};class Yu extends M{constructor(e){super(e)}}class Te extends H{constructor(e){super(e),this.props=new Yu(e==null?void 0:e.props)}}Te.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Te.controlType="subtable-row",Te.controlIcon="subtable-row",Te.childrenMaxLength=1,Te.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Te.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class J0 extends W{constructor(e){super(e),this.props=new Yu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Mo={Designer:Te,Runtime:J0,Property:Yu};class pu extends M{constructor(e){var n,i,u,a,r,l,s,o,h,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new X(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=(h=e==null?void 0:e.timestampDateType)!=null?h:me.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Re extends H{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}}Re.controlName="\u5217\u8868\u5355\u5143\u683C",Re.controlType="gridtable-column",Re.controlIcon="gridtable-column",Re.childrenMaxLength=1,Re.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Lo extends W{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}}Lo.controlType="gridtable-column";var $o={Designer:Re,Runtime:Lo,Property:pu};class ea extends M{constructor(e){super(e)}}class Z0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class mi extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vi.controlName}}mi.Rules=Z0;class Yt extends H{constructor(e){super(e),this.props=new mi(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"}}Yt.excludes=[C.TAB],Yt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Y0 extends W{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Vo={Designer:Yt,Runtime:Y0,Property:mi};class vi extends H{constructor(e){var n;super(e),this.props=new ea(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Yt,new Yt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}vi.excludes=[C.TAB],vi.setting=[{key:"super-setting",visible:!0}];class p0 extends W{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Ho={Designer:vi,Runtime:p0,Property:ea};class jo extends M{constructor(e){super(e)}}class qo extends H{constructor(e){super(e),this.props=new jo({}),this.children=(e==null?void 0:e.children)||[new Zt({props:new Be({span:12})}),new Zt({props:new Be({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}qo.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class eb extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ju({props:new Be({span:12})}),new Ju({props:new Be({span:12})})]}}var Uo={Designer:qo,Runtime:eb,Property:jo};class tb extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class nb extends ${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")}),eu.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 pt extends M{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.datasourceBind=new X(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 Hh(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}}pt.Rules=nb,pt.RuntimeRules=tb;class gi extends H{constructor(e){super(e),this.props=new pt(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"}}gi.excludes=[C.ROW],gi.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"],gi.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 ib extends W{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Wo={Designer:gi,Runtime:ib,Property:pt};class ub extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class bi extends M{constructor(e){var n,i,u,a,r,l;super(e),this.save=new ge((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new ge((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new ge((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new ge((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 ge(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}bi.RuntimeRules=ub;class Ko extends H{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Ko.excludes=[];class ab extends W{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var zo={Designer:Ko,Runtime:ab,Property:bi};class rb extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class lb extends W{static get controlType(){return"page"}constructor(e){super(e)}}class ob extends M{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 Go={Designer:rb,Runtime:lb,Property:ob};class cb extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class sb extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class db extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Zr(e==null?void 0:e.flexConfig)}}var Xo={Designer:cb,Runtime:sb,Property:db};class fb extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class hb extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class yb extends M{constructor(e){super(e)}}var Qo={Designer:fb,Runtime:hb,Property:yb};class mb extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class vb extends W{static get controlType(){return"position"}constructor(e){super(e)}}class gb extends M{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 Jo={Designer:mb,Runtime:vb,Property:gb},bb=Object.freeze({__proto__:null,Grid:Ro,Col:Po,Row:xo,GridRow:Fo,CardGroup:Oo,SubTableColumn:No,SubTableRow:Mo,GridTableColumn:$o,Tab:Ho,TabPane:Vo,Toolbox:Uo,ListView:Wo,DataView:zo,Page:Go,AdvancedContainer:Xo,PositioningContainer:Qo,Position:Jo});class Eb extends ${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 Cb extends Ae{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 _n{constructor(e,n){var i,u,a,r,l,s,o,h,m,g,_,I,b,w,y,E,N,B,F,ne,D,ie,tn;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Ei.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=(h=n==null?void 0:n.maxHeight)!=null?h:Qr,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.defaultRows=(_=n==null?void 0:n.defaultRows)!=null?_:1,this.datasourceBind=new X(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(b=n==null?void 0:n.canDelete)!=null?b:!0,this.canCheck=(w=n==null?void 0:n.canCheck)!=null?w:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(E=n==null?void 0:n.canImport)!=null?E:!1,this.canExport=(N=n==null?void 0:n.canExport)!=null?N:!1,this.canClear=(B=n==null?void 0:n.canClear)!=null?B:!0,this.serverPagination=(F=n==null?void 0:n.serverPagination)!=null?F:!1,this.isShowCaptionTip=(ne=n==null?void 0:n.isShowCaptionTip)!=null?ne:!1,this.captionTip=(D=n==null?void 0:n.captionTip)!=null?D:"",this.mobileShowType=(ie=n==null?void 0:n.mobileShowType)!=null?ie:"tile",this.dataStorageDoc=(tn=n==null?void 0:n.dataStorageDoc)!=null?tn:new Mh}}en.Rules=Eb,en.RuntimeRules=Cb;class Ei extends hu{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 ae,new ae,new ae])}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 ae,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ei.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],Ei.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:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class _b extends $r{constructor(e){super(e),this.props=new en(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ua("Method not implemented.")}getChildrenFormControl(){return[]}}var Zo={Designer:Ei,Runtime:_b,Property:en};class ta extends _n{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 Ib extends Cu{constructor(e){super(e),this.caption.required=!1}}class Ci extends j{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:Pe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(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"}}Ci.Rules=Ib;class Pe extends K{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}Pe.controlType="order-column",Pe.controlName="\u5E8F\u53F7",Pe.controlIcon="order-column",Pe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class na extends z{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}na.controlType="order-column",na.controlFieldType=v.DECIMAL;var Yo={Designer:Pe,Runtime:na,Property:Ci};class ia extends j{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:he.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 he extends K{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Un.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return nn(ye({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Oa(this,null,function*(){return yield Fa(he.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}he.controlType="operation-column",he.controlName="\u64CD\u4F5C",he.controlIcon="operation-column",he.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 ua extends z{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}ua.controlType="operation-column",ua.controlFieldType=v.FILE;var po={Designer:he,Runtime:ua,Property:ia};class _i extends hu{constructor(e){super(e),this.props=new ta(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Pe,new he])}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 nn(ye({},e),{children:n})}validate(e,n){return Oa(this,null,function*(){return yield Fa(_i.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}_i.setting=[{key:"list-fixed-header",visible:!0}];class wb extends $r{constructor(e){super(e),this.props=new ta(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ua("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ec={Designer:_i,Runtime:wb,Property:ta},Ab=Object.freeze({__proto__:null,SubTable:Zo,GridTable:ec});class Sb extends Hr{constructor(e){super(e)}}class Ii extends j{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:De.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}Ii.Rules=Sb;class De extends K{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}De.controlType="varchar-column",De.controlName="\u77ED\u6587\u672C",De.controlIcon="varchar-column",De.controlFieldType=v.VARCHAR,De.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-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class aa extends z{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}aa.controlType="varchar-column",aa.controlFieldType=v.VARCHAR;var tc={Designer:De,Runtime:aa,Property:Ii};class ra extends j{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:xe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class xe extends K{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}xe.controlType="text-column",xe.controlName="\u957F\u6587\u672C",xe.controlIcon="text-column",xe.controlFieldType=v.TEXT,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class la extends z{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}}la.controlType="text-column",la.controlFieldType=v.TEXT;var nc={Designer:xe,Runtime:la,Property:ra};class oa extends j{constructor(e){var n,i,u,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.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 X(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}class Fe extends K{constructor(e){super(e),this.props=new oa(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}}Fe.controlType="decimal-column",Fe.controlName="\u6570\u503C",Fe.controlIcon="decimal-column",Fe.controlFieldType=v.DECIMAL,Fe.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 ca extends z{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}}ca.controlType="decimal-column",ca.controlFieldType=v.DECIMAL;var ic={Designer:Fe,Runtime:ca,Property:oa};class sa extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Oe.controlName}}class Oe extends K{constructor(e){super(e),this.props=new sa(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}}Oe.controlType="timescope-column",Oe.controlName="\u65E5\u671F\u533A\u95F4",Oe.controlIcon="timescope-column",Oe.controlFieldType=v.TIMESCOPE,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:"date-type",visible:!0},{key:"column-sort",visible:!0}];class da extends z{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}}da.controlType="timescope-column",da.controlFieldType=v.TIMESCOPE;var uc={Designer:Oe,Runtime:da,Property:sa};class fa extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ke.controlName}}class ke extends K{constructor(e){super(e),this.props=new fa(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}}ke.controlType="timestamp-column",ke.controlName="\u65E5\u671F",ke.controlIcon="timestamp-column",ke.controlFieldType=v.TIMESTAMP,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:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ha extends z{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}}ha.controlType="timestamp-column",ha.controlFieldType=v.TIMESTAMP;var ac={Designer:ke,Runtime:ha,Property:fa};class Bb extends Hr{constructor(e){super(e)}}class wi extends j{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}wi.Rules=Bb;class Ne extends K{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}Ne.controlType="array-column",Ne.controlName="\u6570\u7EC4",Ne.controlIcon="array-column",Ne.controlFieldType=v.ARRAY,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ya extends z{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}ya.controlType="array-column",ya.controlFieldType=v.ARRAY;var rc={Designer:Ne,Runtime:ya,Property:wi};class ma extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Me extends K{constructor(e){super(e),this.props=new ma(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}}Me.controlType="department-column",Me.controlName="\u90E8\u95E8",Me.controlIcon="department-column",Me.controlFieldType=v.DEPARTMENTS,Me.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 va extends z{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}}va.controlType="department-column",va.controlFieldType=v.DEPARTMENTS;var lc={Designer:Me,Runtime:va,Property:ma};class ga extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName}}class Le extends K{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}}Le.controlType="auto-number-column",Le.controlName="\u81EA\u52A8\u7F16\u53F7",Le.controlIcon="auto-number-column",Le.controlFieldType=v.AUTO_NUMBER,Le.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 ba extends z{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}}ba.controlType="auto-number-column",ba.controlFieldType=v.AUTO_NUMBER;var oc={Designer:Le,Runtime:ba,Property:ga};class Ea extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName}}class $e extends K{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}}$e.controlType="file-column",$e.controlName="\u9644\u4EF6",$e.controlIcon="file-column",$e.controlFieldType=v.FILE,$e.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 Ca extends z{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}}Ca.controlType="file-column",Ca.controlFieldType=v.FILE;var cc={Designer:$e,Runtime:Ca,Property:Ea};class _a extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends K{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}}Ve.controlType="image-column",Ve.controlName="\u56FE\u7247",Ve.controlIcon="image-column",Ve.controlFieldType=v.IMAGE,Ve.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 z{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}}Ia.controlType="image-column",Ia.controlFieldType=v.IMAGE;var sc={Designer:Ve,Runtime:Ia,Property:_a};class wa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends K{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}He.controlType="people-column",He.controlName="\u4EBA\u5458",He.controlIcon="people-column",He.controlFieldType=v.EMPLOYEES,He.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 z{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}Aa.controlType="people-column",Aa.controlFieldType=v.EMPLOYEES;var dc={Designer:He,Runtime:Aa,Property:wa};class Sa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends K{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}je.controlType="location-column",je.controlName="\u5730\u5740",je.controlIcon="location-column",je.controlFieldType=v.ADDRESS,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 Ba extends z{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ba.controlType="location-column",Ba.controlFieldType=v.ADDRESS;var fc={Designer:je,Runtime:Ba,Property:Sa};class Ta extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ie.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const Tb=1;class Ie extends K{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ta(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=ve(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 nn(ye({},e),{children:this.children.map(n=>n.toSchema())})}}Ie.controlType="custom-column",Ie.controlName="\u81EA\u5B9A\u4E49",Ie.controlIcon="custom-column",Ie.excludes=[],Ie.childrenMaxLength=Tb,Ie.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 hc extends z{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}hc.controlType="custom-column";var yc={Designer:Ie,Runtime:hc,Property:Ta};class Ra extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:we.controlName,this.datasourceBind=new ln((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:we.controlCustomAttributes})}}class we extends K{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}]}}we.controlType="employee-column",we.controlName="\u4EBA\u5458",we.controlIcon="employee-column",we.controlFieldType=v.EMPLOYEES,we.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Pa extends z{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}}Pa.controlType="employee-column",Pa.controlFieldType=v.EMPLOYEES;var mc={Designer:we,Runtime:Pa,Property:Ra},Rb=Object.freeze({__proto__:null,VarcharColumn:tc,TextColumn:nc,DecimalColumn:ic,TimescopeColumn:uc,TimestampColumn:ac,ArrayColumn:rc,DepartmentColumn:lc,AutoNumberColumn:oc,FileColumn:cc,ImageColumn:sc,PeopleColumn:dc,LocationColumn:fc,CustomColumn:yc,OrderColumn:Yo,OperationColumn:po,EmployeeColumn:mc});class Pb extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ai extends Au{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 ge((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new ge((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 ge(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Ai.RuntimeRules=Pb;class Da extends ag{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}}Da.controlType="simple-search",Da.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 vc extends hg{constructor(e){var n;super(e),this.props=new Ai(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}vc.controlType="simple-search";var gc={Designer:Da,Runtime:vc,Property:Ai},Db=Object.freeze({__proto__:null,SimpleSearch:gc});f.Address=Yl,f.AdvancedContainer=Xo,f.Amount=Xl,f.ArrayColumn=rc,f.AssignType=ze,f.Attachment=Wl,f.AutoNumber=no,f.AutoNumberColumn=oc,f.BatchDeleteButton=_l,f.BatchPrintListButton=bl,f.BatchPrintRecordListButton=El,f.BatchSubmissionListButton=il,f.Button=Wr,f.Calc=uo,f.CardGroup=Oo,f.Checkbox=Sl,f.Col=Po,f.CreateFormListButton=nl,f.CustomColumn=yc,f.DATE_CONFIG_TYPE=Kr,f.DATE_LIMIT_TYPE=zr,f.Dashboard=hl,f.DataView=zo,f.DatePicker=xl,f.DateRange=Ol,f.DecimalColumn=ic,f.Department=eo,f.Department2=Bo,f.DepartmentColumn=lc,f.DepartmentType=Mu,f.Divider=el,f.ElectronicSignature=Io,f.ElectronicSignatureConfig=Gr,f.Employee=Ul,f.Employee2=Co,f.EmployeeColumn=mc,f.EncryptTypeEnum=Yr,f.Explain=Dn,f.ExportListButton=al,f.ExportRecordListButton=rl,f.ExportTemplate=Ou,f.FileColumn=cc,f.FlexStyleConfig=Zr,f.FormSelectButton=ol,f.Grid=Ro,f.GridRow=Fo,f.GridTable=ec,f.GridTableColumn=$o,f.Image=zl,f.ImageColumn=sc,f.ImportRecordListButton=ll,f.Input=wl,f.InternalType=Lu,f.InvoiceCheckButton=gl,f.LINE_STYLE=xu,f.LimitDate=Pn,f.Link=Ur,f.ListSelectButton=cl,f.ListView=Wo,f.ListViewSelect=ml,f.LocationColumn=fc,f.Number=Pl,f.OperationButton=Cl,f.OperationColumn=po,f.OrderColumn=Yo,f.OrganizeType=Nu,f.Page=Go,f.Pagination=dl,f.PeopleColumn=dc,f.Position=Jo,f.PositioningContainer=Qo,f.PrintTemplate=Jr,f.Radio=Tl,f.RichText=Ll,f.Row=xo,f.SCORE_TYPE=Du,f.SUBTABLE_DEFAULT_MAX_HEIGHT=Qr,f.Score=Jl,f.SearchDateRange=oo,f.SearchInput=vo,f.SearchNumberRange=ro,f.Select=Vl,f.SelectMultiple=jl,f.SelectRelation=ho,f.SimpleSearch=gc,f.SubTable=Zo,f.SubTableColumn=No,f.SubTableRow=Mo,f.SubmissionRecordListButton=ul,f.Tab=Ho,f.TabPane=Vo,f.Text=qr,f.TextColumn=nc,f.TextOcrButton=vl,f.Textarea=Nl,f.TimescopeColumn=uc,f.TimestampColumn=ac,f.Title=tl,f.TitleConfigEnum=_e,f.Toolbox=Uo,f.Tree=bo,f.UndersignedPerson=Fu,f.VarcharColumn=tc,f.VueFormItem=so,f.WPS=Ao,f.WPSSetting=Xr,f.WpsOperationItem=ku,f.baseControls=Qg,f.columnControls=Rb,f.formControls=j0,f.initExpression=ht,f.layoutControls=bb,f.listControls=Ab,f.searchControls=Db,Object.defineProperty(f,"__esModule",{value:!0})});
|
|
1
|
+
var P0=Object.defineProperty,D0=Object.defineProperties;var x0=Object.getOwnPropertyDescriptors;var vc=Object.getOwnPropertySymbols,F0=Object.getPrototypeOf,O0=Object.prototype.hasOwnProperty,k0=Object.prototype.propertyIsEnumerable,M0=Reflect.get;var bc=(h,O,L)=>O in h?P0(h,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):h[O]=L,ye=(h,O)=>{for(var L in O||(O={}))O0.call(O,L)&&bc(h,L,O[L]);if(vc)for(var L of vc(O))k0.call(O,L)&&bc(h,L,O[L]);return h},nn=(h,O)=>D0(h,x0(O));var xa=(h,O,L)=>M0(F0(h),L,O);var Fa=(h,O,L)=>new Promise((Ai,un)=>{var Si=le=>{try{ut(L.next(le))}catch(at){un(at)}},Bi=le=>{try{ut(L.throw(le))}catch(at){un(at)}},ut=le=>le.done?Ai(le.value):Promise.resolve(le.value).then(Si,Bi);ut((L=L.apply(h,O)).next())});(function(h,O){typeof exports=="object"&&typeof module!="undefined"?O(exports):typeof define=="function"&&define.amd?define(["exports"],O):(h=typeof globalThis!="undefined"?globalThis:h||self,O(h.modelDrivenControls={}))})(this,function(h){"use strict";var O="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ai="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",un="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Si="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Bi="{caption}\u5FC5\u586B",ut="\u8BF7\u8F93\u5165\u6807\u9898",le="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",at="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ec="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Cc="\u8BF7\u7ED1\u5B9A\u8868\u5355",_c="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ic="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",wc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ac="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Sc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Bc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Tc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Rc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Pc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Dc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",xc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Fc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Oc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",kc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Mc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Nc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Lc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",$c="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Vc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Hc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",jc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",qc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Uc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Wc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Kc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",zc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Gc="\u8BF7\u9009\u62E9\u7701",Xc="\u8BF7\u9009\u62E9\u5E02",Qc="\u8BF7\u9009\u62E9\u533A",Jc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Zc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Yc="\u8BF7\u8F93\u5165\u5217\u5BBD",pc="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",es="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ts="\u8BF7\u9009\u62E9\u63A7\u4EF6",ns="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",is="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",us="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",as="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",rs="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ls="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",os="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",cs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ss="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ds="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",fs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",hs="\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",ms="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",gs="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",vs="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",bs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Es="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cs="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",_s="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Is="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ws={isNotNumber:O,isNotString:L,isNotObject:Ai,isNotArray:un,isNotBoolean:Si,runtimeRequired:Bi,pleaseEnterCaption:ut,pleaseEnterCaptionTip:le,pleaseEnterPlaceholder:at,pleaseEnterFieldCode:Ec,pleaseEnterForm:Cc,pleaseEnterList:_c,pleaseEnterProcess:Ic,pleaseEnterLabel:wc,pleaseEnterValue:Ac,bizKeyNotBindFiled:Sc,pleaseSelectOneField:Bc,pleaseEnterNumberRange:Tc,pleaseEnterAValueGreaterThanMin:Rc,pleaseEnterAValueLessThanMax:Pc,numberRangeSetError:Dc,stringRangeError:xc,attachmentMaxSize:Fc,pleaseEnterTotalScoreSetting:Oc,theTotalScoreMustNotBeLessThan1:kc,scoreDefaultValueRange:Mc,attachmentLimitError:Nc,PleaseReselectTheOptionalQuantity:Lc,TheMaximumLengthIsGreaterThanTheMinimumLength:$c,TheMinimumLengthIsGreaterThanTheMaximumLength:Vc,PleaseSelectTheCorrectOptionSettings:Hc,optionIdIsRepeat:jc,optionIsRequired:qc,pleaseEnterDataCode:Uc,pleaseEnterValueFieldCode:Wc,pleaseEnterSvcCode:Kc,pleaseBindAtLeastOneDisplayValue:zc,pleaseSelectProvince:Gc,pleaseSelectCity:Xc,pleaseSelectDistrict:Qc,limitRowsCannotBeLessThan0:Jc,TheNumberOfRowsCannotBeLessThanMinRows:Zc,pleaseEnterColumnWidth:Yc,pleaseSetTheLogicalRelationshipOfAllRuleConditions:pc,pleaseCompleteAllRulesAndConditions:es,pleaseSelectControl:ts,pleaseSelectAtLeastOneColumn:ns,pleaseSelectFillBackMode:is,pleaseSelectDashboard:us,rootNodeIsRequired:as,theViewNameCannotBeEmpty:rs,pleaseSelectOcrType:ls,pleaseSelectAtLeastOneFieldToFillIn:os,pleaseChooseAtLeastOne:cs,pleaseEnterButtonContent:ss,pleaseEnterDataCodeInDataSetting:ds,pleaseEnterValueFieldCodeInDataSetting:fs,pleaseEnterSvcCodeInDataSetting:hs,pleaseBindAtLeastOneDisplayValueInDataSetting:ys,rootNodeIsRequiredInDataSetting:ms,pleaseEnterMaxHeight:gs,pleaseEnter:vs,pleaseEnterWatermark:bs,pleaseEnterFileName:Es,pleaseUploadAtLeastOnePrintTemplate:Cs,pleaseAssignBusiness:_s,pleaseAssignExternal:Is},As="Please enter a number",Ss="Please enter a string",Bs="Please enter an object",Ts="Please enter an array",Rs="Please enter a boolean",Ps="{caption} Required",Ds="Please enter the title",xs="Please enter the bubble prompt",Fs="Please enter the prompt text",Os="Please bind data items",ks="Please bind the form",Ms="Please bind the list",Ns="Please bind the process",Ls="Please enter the displayed value",$s="Please enter the stored value",Vs="The document number is not bound to the data item",Hs="Please select at least one display field",js="Please enter a value greater than or equal to {min} and less than or equal to {max}",qs="Please enter a value greater than or equal to {min}",Us="Please enter a value less than or equal to {max}",Ws="The value range is set incorrectly",Ks="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",zs="The attachment size must be between 0MB and 1000MB",Gs="Please fill in the total score setting",Xs="The total score cannot be less than 1",Qs="The default value must be between {min} and {max}",Js="The number of attachments uploaded must be between {min} and {max}",Zs="Please re-select the optional quantity",Ys="The maximum length of the control must be greater than the minimum length",ps="The minimum length of the control must be less than the maximum length",ed="Please select the correct option setting",td="Option ID cannot be repeated",nd="Please enter at least one option",id="Please bind the data source",ud="Please bind the stored value",ad="Please bind the service",rd="At least one display value must be bound",ld="Please select a province",od="Please select a city",cd="Please select a district",sd="The minimum number of lines to fill in cannot be less than 0",dd="The number of rows cannot be less than {min} rows",fd="Please enter the column width",hd="Please set the logical relationship of all rule conditions",yd="Please complete all rules and conditions",md="please select control",gd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",vd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ed="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Cd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",_d="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Id="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ad="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Bd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Td="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Rd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Pd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Dd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Fd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Od="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",kd={isNotNumber:As,isNotString:Ss,isNotObject:Bs,isNotArray:Ts,isNotBoolean:Rs,runtimeRequired:Ps,pleaseEnterCaption:Ds,pleaseEnterCaptionTip:xs,pleaseEnterPlaceholder:Fs,pleaseEnterFieldCode:Os,pleaseEnterForm:ks,pleaseEnterList:Ms,pleaseEnterProcess:Ns,pleaseEnterLabel:Ls,pleaseEnterValue:$s,bizKeyNotBindFiled:Vs,pleaseSelectOneField:Hs,pleaseEnterNumberRange:js,pleaseEnterAValueGreaterThanMin:qs,pleaseEnterAValueLessThanMax:Us,numberRangeSetError:Ws,stringRangeError:Ks,attachmentMaxSize:zs,pleaseEnterTotalScoreSetting:Gs,theTotalScoreMustNotBeLessThan1:Xs,scoreDefaultValueRange:Qs,attachmentLimitError:Js,PleaseReselectTheOptionalQuantity:Zs,TheMaximumLengthIsGreaterThanTheMinimumLength:Ys,TheMinimumLengthIsGreaterThanTheMaximumLength:ps,PleaseSelectTheCorrectOptionSettings:ed,optionIdIsRepeat:td,optionIsRequired:nd,pleaseEnterDataCode:id,pleaseEnterValueFieldCode:ud,pleaseEnterSvcCode:ad,pleaseBindAtLeastOneDisplayValue:rd,pleaseSelectProvince:ld,pleaseSelectCity:od,pleaseSelectDistrict:cd,limitRowsCannotBeLessThan0:sd,TheNumberOfRowsCannotBeLessThanMinRows:dd,pleaseEnterColumnWidth:fd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:hd,pleaseCompleteAllRulesAndConditions:yd,pleaseSelectControl:md,pleaseSelectDashboard:gd,theViewNameCannotBeEmpty:vd,pleaseSelectOcrType:bd,pleaseSelectAtLeastOneFieldToFillIn:Ed,pleaseChooseAtLeastOne:Cd,pleaseEnterButtonContent:_d,pleaseEnterDataCodeInDataSetting:Id,pleaseEnterValueFieldCodeInDataSetting:wd,pleaseEnterSvcCodeInDataSetting:Ad,pleaseBindAtLeastOneDisplayValueInDataSetting:Sd,rootNodeIsRequiredInDataSetting:Bd,pleaseEnterMaxHeight:Td,pleaseEnter:Rd,pleaseEnterWatermark:Pd,pleaseEnterFileName:Dd,pleaseUploadAtLeastOnePrintTemplate:xd,pleaseAssignBusiness:Fd,pleaseAssignExternal:Od},Md="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ld="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$d="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hd="{caption}\u5FC5\u9808",jd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ud="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gd="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jd="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Zd="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yd="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pd="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ef="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",nf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",af="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",of="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",cf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sf="\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",df="\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",ff="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hf="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",mf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ef="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Cf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_f="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",If="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Af="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Bf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Tf="please select control",Rf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Df="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",xf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ff="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Of="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",kf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Mf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Nf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$f="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Vf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Hf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",jf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",qf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Uf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Wf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Kf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",zf={isNotNumber:Md,isNotString:Nd,isNotObject:Ld,isNotArray:$d,isNotBoolean:Vd,runtimeRequired:Hd,pleaseEnterCaption:jd,pleaseEnterCaptionTip:qd,pleaseEnterPlaceholder:Ud,pleaseEnterFieldCode:Wd,pleaseEnterForm:Kd,pleaseEnterList:zd,pleaseEnterProcess:Gd,pleaseEnterLabel:Xd,pleaseEnterValue:Qd,bizKeyNotBindFiled:Jd,pleaseSelectOneField:Zd,pleaseEnterNumberRange:Yd,pleaseEnterAValueGreaterThanMin:pd,pleaseEnterAValueLessThanMax:ef,numberRangeSetError:tf,stringRangeError:nf,attachmentMaxSize:uf,pleaseEnterTotalScoreSetting:af,theTotalScoreMustNotBeLessThan1:rf,scoreDefaultValueRange:lf,attachmentLimitError:of,PleaseReselectTheOptionalQuantity:cf,TheMaximumLengthIsGreaterThanTheMinimumLength:sf,TheMinimumLengthIsGreaterThanTheMaximumLength:df,PleaseSelectTheCorrectOptionSettings:ff,optionIdIsRepeat:hf,optionIsRequired:yf,pleaseEnterDataCode:mf,pleaseEnterValueFieldCode:gf,pleaseEnterSvcCode:vf,pleaseBindAtLeastOneDisplayValue:bf,pleaseSelectProvince:Ef,pleaseSelectCity:Cf,pleaseSelectDistrict:_f,limitRowsCannotBeLessThan0:If,TheNumberOfRowsCannotBeLessThanMinRows:wf,pleaseEnterColumnWidth:Af,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Sf,pleaseCompleteAllRulesAndConditions:Bf,pleaseSelectControl:Tf,pleaseSelectDashboard:Rf,theViewNameCannotBeEmpty:Pf,pleaseSelectOcrType:Df,pleaseSelectAtLeastOneFieldToFillIn:xf,pleaseChooseAtLeastOne:Ff,pleaseEnterButtonContent:Of,pleaseEnterDataCodeInDataSetting:kf,pleaseEnterValueFieldCodeInDataSetting:Mf,pleaseEnterSvcCodeInDataSetting:Nf,pleaseBindAtLeastOneDisplayValueInDataSetting:Lf,rootNodeIsRequiredInDataSetting:$f,pleaseEnterMaxHeight:Vf,pleaseEnter:Hf,pleaseEnterWatermark:jf,pleaseEnterFileName:qf,pleaseUploadAtLeastOnePrintTemplate:Uf,pleaseAssignBusiness:Wf,pleaseAssignExternal:Kf},Gf={zhCN:ws,enUS:kd,jaJP:zf},Oa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Oa||(Oa={}));var ka;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(ka||(ka={}));var Xf="zh-CN";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}var Ma;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Ma||(Ma={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var G;G={},Y(G,g.ARRAY,C.ARRAY_COLUMN),Y(G,g.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),Y(G,g.DECIMAL,C.DECIMAL_COLUMN),Y(G,g.DEPARTMENTS,C.DEPARTMENT_COLUMN),Y(G,g.FILE,C.FILE_COLUMN),Y(G,g.IMAGE,C.IMAGE_COLUMN),Y(G,g.ADDRESS,C.LOCATION_COLUMN),Y(G,g.EMPLOYEES,C.EMPLOYEE_COLUMN),Y(G,g.TEXT,C.TEXT_COLUMN),Y(G,g.TIMESCOPE,C.TIMESCOPE_COLUMN),Y(G,g.TIMESTAMP,C.TIMESTAMP_COLUMN),Y(G,g.VARCHAR,C.VARCHAR_COLUMN),Y(G,g.RELATION,C.VARCHAR_COLUMN);var me;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(me||(me={}));var Na="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Qf=Na+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Na:Qf,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Ti(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 Jf(t){if(Array.isArray(t))return Ti(t)}function Zf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function La(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yf(){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 an(t,e,n){return Yf()?an=Reflect.construct:an=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&<(o,r.prototype),o},an.apply(null,arguments)}function rt(t){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rt(t)}function $a(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&<(t,e)}function pf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function eh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function th(){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 nh(t,e){return e&&(ih(e)==="object"||typeof e=="function")?e:Zf(t)}function lt(t,e){return lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lt(t,e)}function Va(t){return Jf(t)||eh(t)||uh(t)||th()}var ih=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function uh(t,e){if(!!t){if(typeof t=="string")return Ti(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 Ti(t,e)}}function Ri(t){var e=typeof Map=="function"?new Map:void 0;return Ri=function(i){if(i===null||!pf(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,rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),lt(u,i)},Ri(t)}function ah(){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 Ha(t){var e=ah();return function(){var i=rt(t),u;if(e){var a=rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return nh(this,u)}}var Pi=console;function rh(){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=Pi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Va(u)))}function ja(){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=Pi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Va(u)))}function lh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Di=function(t){$a(n,t);var e=Ha(n);function n(i){La(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?lh(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ri(Error)),oh=function(t){$a(n,t);var e=Ha(n);function n(i){La(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Di);function qa(t){throw new Di(t)}function Ua(t){throw new oh(t)}function ch(t){Pi.error(new Di(t))}var sh=Object.prototype.toString;function Wa(t,e){return sh.call(t)==="[object "+e+"]"}function dh(t){return Wa(t,"String")}function fh(t){return Wa(t,"Promise")}var hh=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();fh(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!dh(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function yh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){yh(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xf;return new hh({locale:n,messages:Gf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function mh(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){rh("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var gh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},vh={exports:{}};(function(t){(function(e){var n=function(y,E,M){if(!o(E)||m(E)||v(E)||_(E)||c(E))return E;var B,F=0,ne=0;if(f(E))for(B=[],ne=E.length;F<ne;F++)B.push(n(y,E[F],M));else{B={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&(B[y(D,M)]=n(y,E[D],M))}return B},i=function(y,E){E=E||{};var M=E.separator||"_",B=E.split||/(?=[A-Z])/;return y.split(B).join(M)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,M){return M?M.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},a=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,c=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},v=function(y){return l.call(y)=="[object RegExp]"},_=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},b=function(y,E){var M=E&&"process"in E?E.process:E;return typeof M!="function"?y:function(B,F){return M(B,y,F)}},w={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(r,E),y,E)},pascalizeKeys:function(y,E){return n(b(a,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(gh)})(vh);var Ka={};Object.defineProperty(Ka,"__esModule",{value:!0});function xi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:xi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:xi(i)}return e}}var bh=Ka.default=xi;function ge(t){if(t!==void 0)return typeof t=="object"?bh(t):t}function Eh(t){return Object.prototype.toString.call(t)==="[object Object]"}function Fi(t){return Array.isArray(t)}function Ch(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Oi(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 _h(t){if(Array.isArray(t))return Oi(t)}function za(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Ih(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){za(a,i,u,r,l,"next",c)}function l(c){za(a,i,u,r,l,"throw",c)}r(void 0)})}}function wh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ah(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Sh(){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 ki(t){return _h(t)||Ah(t)||Bh(t)||Sh()}function Bh(t,e){if(!!t){if(typeof t=="string")return Oi(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 Oi(t,e)}}var Th=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Rh=function(){function t(){wh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return Ih(function(){var c,o,f,m,v,_,I,b,w,y,E,M;return Th(this,function(B){switch(B.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];f=c.slice(),m=!0,v=!1,_=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),I=f[Symbol.iterator](),B.label=2;case 2:if(m=(b=I.next()).done)return[3,7];if(w=b.value,!c.includes(w))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),l.debug&&ja.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(ki(a))),[4,w.apply(null,ki(a))];case 4:return y=B.sent(),l.debug&&ja.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ki(a),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=B.sent(),ch(String(E)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return M=B.sent(),v=!0,_=M,[3,10];case 9:try{!m&&I.return!=null&&I.return()}finally{if(v)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var a;(a=this._events.get(i))===null||a===void 0||a.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var a=this._events.get(i),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),Ph=[];new Set(Ph.map(function(t){return t.Designer.controlType}));function Ga(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}function ce(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&&Mi(t,e)}function Xa(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Dh(t,e){return e&&(xh(e)==="object"||typeof e=="function")?e:Ga(t)}function Mi(t,e){return Mi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mi(t,e)}var xh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Fh(){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 se(t){var e=Fh();return function(){var i=rn(t),u;if(e){var a=rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Dh(this,u)}}var ie=function t(e){A(this,t);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:""},Oh=function t(e){A(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Ni=function t(e){A(this,t);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:""},kh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Ni),Qa=function t(e){A(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Ja=function t(e){A(this,t);var n,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 Qa(r)}))!==null&&a!==void 0?a:[]},Mh=function t(e){A(this,t);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:g.VARCHAR},Nh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(Ni),Lh=function t(e){A(this,t);var n,i;this.type="sublist-page",this.formBind=new Ni(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 Mh(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 Nh(r)}))!==null&&a!==void 0?a:[]},$h=function t(e){A(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ot=function t(e){A(this,t);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:[]},Vh=function t(e){var n=this;A(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var f,m=new Za(l);(f=n.children)===null||f===void 0||f.push(m)}}))},Za=function t(e){A(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe();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 $h(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ot(e==null?void 0:e.rightVariableBo)},p=function t(e){A(this,t);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:""},Li=function t(e){A(this,t);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},Hh=function t(e){A(this,t);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 $i(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 Vh(a):new Za(a)}))!==null&&n!==void 0?n:[],Xa(this,X)||Xa(this,Vi)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(a){return new Hh(a)}))!==null&&u!==void 0?u:[]}}var X=function t(e){var n=this;A(this,t);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(c){var o;(o=n.displayBoList)===null||o===void 0||o.push(new Li(c))}));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:"",$i.call(this,e)},jh=function t(e){A(this,t);var n,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 Li(r)}))!==null&&a!==void 0?a:[]},ln=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u,a;u=e.call(this,i);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new jh(l)}))!==null&&r!==void 0?r:[],u}return n}(X),qh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this,i),u.rootNode=new ot(i==null?void 0:i.rootNode),u}return n}(ln),Ya=function t(e){A(this,t);var n,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 p(r)}))!==null&&a!==void 0?a:[]},Vi=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this,i),$i.call(Ga(u),i),u}return n}(Ya),pa=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;u=e.call(this,i);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}(Ya),er=function t(e){A(this,t);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:""},Uh=function t(e){A(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(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 de(t){var e;return(e=t==null?void 0:t.map(function(n){return new Uh(n)}))!==null&&e!==void 0?e:[]}var Hi=function t(){A(this,t)},Wh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this),u.amount=new ie(i==null?void 0:i.amount),u.currency=new ie(i==null?void 0:i.currency),u}return n}(Hi),Kh=function t(e){A(this,t);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:on.CNY},zh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this),u.min=new ie(i==null?void 0:i.min),u.max=new ie(i==null?void 0:i.max),u}return n}(Hi),Gh=function t(e){A(this,t);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:""},Xh=function t(e){A(this,t);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:""},Qh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this),u.result=new ie(i==null?void 0:i.result),u.unit=new ie(i==null?void 0:i.unit),u}return n}(Hi),Jh=function t(e){A(this,t);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:""},on;(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"})(on||(on={}));var s;(function(t){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"})(s||(s={}));var ji;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ji||(ji={}));var ve=function t(e){A(this,t);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},Zh=function t(e){A(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(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 Qa(r)}))!==null&&a!==void 0?a:[],$i.call(this,e)},Yh=function t(e){A(this,t);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 ph(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ey(){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 cn(t,e,n){return ey()?cn=Reflect.construct:cn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&st(o,r.prototype),o},cn.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function ty(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 ny(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function iy(t,e){return e&&(uy(e)==="object"||typeof e=="function")?e:ph(t)}function st(t,e){return st=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},st(t,e)}var uy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ui(t){var e=typeof Map=="function"?new Map:void 0;return Ui=function(i){if(i===null||!ny(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 cn(i,arguments,ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),st(u,i)},Ui(t)}function ay(){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 ry(t){var e=ay();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 iy(this,u)}}var $=function t(e){qi(this,t),this.isHide={type:"boolean"}},Ae=function(t){ty(n,t);var e=ry(n);function n(i){return qi(this,n),e.call(this)}return n}(Ui(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";qi(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Yh(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};q.Rules=$,q.RuntimeRules=Ae;function ae(){return ae=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ae.apply(this,arguments)}function ly(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Wi(t){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(t)}function sn(t,e){return sn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sn(t,e)}function oy(){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 oy()?dn=Reflect.construct:dn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&sn(o,r.prototype),o},dn.apply(null,arguments)}function cy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(i){if(i===null||!cy(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,Wi(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),sn(u,i)},Ki(t)}var sy=/%[sdj%]/g,tr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(tr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function zi(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 ee(){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(sy,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function dy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||dy(e)&&typeof t=="string"&&!t)}function fy(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 nr(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 hy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var ir=function(t){ly(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}(Ki(Error));function yy(t,e,n,i){if(e.first){var u=new Promise(function(m,v){var _=function(w){return i(w),w.length?v(new ir(w,zi(w))):m()},I=hy(t);nr(I,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],f=new Promise(function(m,v){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?v(new ir(o,zi(o))):m()};r.length||(i(o),m()),r.forEach(function(I){var b=t[I];a.indexOf(I)!==-1?nr(b,n,_):fy(b,n,_)})});return f.catch(function(m){return m}),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 ar(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ae(ae({},t[n]),i):t[n]=i}}return t}function rr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||V(e,a||t.type))&&i.push(ee(u.messages.required,t.fullField))}function my(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var Gi={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},dt={integer:function(e){return dt.number(e)&&parseInt(e,10)===e},float:function(e){return dt.number(e)&&!dt.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"&&!dt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Gi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Gi.url)},hex:function(e){return typeof e=="string"&&!!e.match(Gi.hex)}};function gy(t,e,n,i,u){if(t.required&&e===void 0){rr(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?dt[r](e)||i.push(ee(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ee(u.messages.types[r],t.fullField,t.type))}function vy(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,f=null,m=typeof e=="number",v=typeof e=="string",_=Array.isArray(e);if(m?f="number":v?f="string":_&&(f="array"),!f)return!1;_&&(o=e.length),v&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ee(u.messages[f].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[f].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[f].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[f].range,t.fullField,t.min,t.max))}var qe="enum";function by(t,e,n,i,u){t[qe]=Array.isArray(t[qe])?t[qe]:[],t[qe].indexOf(e)===-1&&i.push(ee(u.messages[qe],t.fullField,t[qe].join(", ")))}function Ey(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(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(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var S={required:rr,whitespace:my,type:gy,range:vy,enum:by,pattern:Ey};function Cy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();S.required(t,e,i,a,u,"string"),V(e,"string")||(S.type(t,e,i,a,u),S.range(t,e,i,a,u),S.pattern(t,e,i,a,u),t.whitespace===!0&&S.whitespace(t,e,i,a,u))}n(a)}function _y(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}function Iy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function wy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}function Ay(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),V(e)||S.type(t,e,i,a,u)}n(a)}function Sy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function By(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function Ty(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();S.required(t,e,i,a,u,"array"),e!=null&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function Ry(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}var Py="enum";function Dy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S[Py](t,e,i,a,u)}n(a)}function xy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();S.required(t,e,i,a,u),V(e,"string")||S.pattern(t,e,i,a,u)}n(a)}function Fy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"date")&&!t.required)return n();if(S.required(t,e,i,a,u),!V(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),S.type(t,l,i,a,u),l&&S.range(t,l.getTime(),i,a,u)}}n(a)}function Oy(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;S.required(t,e,i,a,u,r),n(a)}function Xi(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(V(e,a)&&!t.required)return n();S.required(t,e,i,r,u,a),V(e,a)||S.type(t,e,i,r,u)}n(r)}function ky(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u)}n(a)}var ft={string:Cy,method:_y,number:Iy,boolean:wy,regexp:Ay,integer:Sy,float:By,array:Ty,object:Ry,enum:Dy,pattern:xy,date:Fy,url:Xi,hex:Xi,email:Xi,required:Oy,any:ky};function Qi(){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 Ji=Qi();function be(t){this.rules=null,this._messages=Ji,this.define(t)}be.prototype={messages:function(e){return e&&(this._messages=ar(Qi(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(b){var w,y=[],E={};function M(B){if(Array.isArray(B)){var F;y=(F=y).concat.apply(F,B)}else y.push(B)}for(w=0;w<b.length;w++)M(b[w]);y.length?E=zi(y):(y=null,E=null),l(y,E)}if(r.messages){var o=this.messages();o===Ji&&(o=Qi()),ar(o,r.messages),r.messages=o}else r.messages=this.messages();var f,m,v={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){f=u.rules[b],m=a[b],f.forEach(function(w){var y=w;typeof y.transform=="function"&&(a===e&&(a=ae({},a)),m=a[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=ae({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(v[b]=v[b]||[],v[b].push({rule:y,value:m,source:a,field:b}))})});var I={};return yy(v,r,function(b,w){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function M(ne,D){return ae(ae({},D),{},{fullField:y.fullField+"."+ne})}function B(ne){ne===void 0&&(ne=[]);var D=ne;if(Array.isArray(D)||(D=[D]),!r.suppressWarning&&D.length&&be.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map(ur(y)),r.first&&D.length)return I[y.field]=1,w(D);if(!E)w(D);else{if(y.required&&!b.value)return y.message!==void 0?D=[].concat(y.message).map(ur(y)):r.error&&(D=[r.error(y,ee(r.messages.required,y.field))]),w(D);var re={};if(y.defaultField)for(var mc in b.value)b.value.hasOwnProperty(mc)&&(re[mc]=y.defaultField);re=ae(ae({},re),b.rule.fields);for(var nt in re)if(re.hasOwnProperty(nt)){var R0=Array.isArray(re[nt])?re[nt]:[re[nt]];re[nt]=R0.map(M.bind(null,nt))}var gc=new be(re);gc.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),gc.validate(b.value,b.rule.options||r,function(Da){var it=[];D&&D.length&&it.push.apply(it,D),Da&&Da.length&&it.push.apply(it,Da),w(it.length?it:null)})}}var F;y.asyncValidator?F=y.asyncValidator(y,b.value,B,b.source,r):y.validator&&(F=y.validator(y,b.value,B,b.source,r),F===!0?B():F===!1?B(y.message||y.field+" fails"):F instanceof Array?B(F):F instanceof Error&&B(F.message)),F&&F.then&&F.then(function(){return B()},function(ne){return B(ne)})},function(b){c(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ft.hasOwnProperty(e.type))throw new Error(ee("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"?ft.required:ft[this.getType(e)]||!1}},be.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ft[e]=n},be.warning=tr,be.messages=Ji,be.validators=ft;var My={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 Ny(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new be(t);return n.messages(Object.assign(My,e)),n}var Ly=new Rh;function Zi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function $y(t){if(Array.isArray(t))return t}function Vy(t){if(Array.isArray(t))return Zi(t)}function lr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function or(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){lr(a,i,u,r,l,"next",c)}function l(c){lr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Hy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function jy(t,e,n){return e&&cr(t.prototype,e),n&&cr(t,n),t}function qy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function dr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Uy(){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 Wy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function fr(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){qy(t,u,n[u])})}return t}function Ky(t){return $y(t)||dr(t)||hr(t)||Uy()}function Yi(t){return Vy(t)||dr(t)||hr(t)||Wy()}function hr(t,e){if(!!t){if(typeof t=="string")return Zi(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 Zi(t,e)}}var yr=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},x=function(){function e(i){var u=this;Hy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=gr,this.removeSetting=mr,this._callControlHooks("preInstance",i);var a=sr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,c=a.controlType,o=a.controlFieldType,f=a.controlEventKeys,m=a.controlCustomEvents,v=a.name,_=a.setting;r&&l&&c||Ua("The ".concat(v," controlName,controlIcon,controlType is not define"));var I;this.id=(I=i==null?void 0:i.id)!==null&&I!==void 0?I:oe(10),this.name=r,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:c,this.props=new q(i==null?void 0:i.props,(sr(this,e)?this.constructor:void 0).controlName);var w;this.controlType=(w=i==null?void 0:i.controlType)!==null&&w!==void 0?w:"base",this.setting=ge(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=ge(f),this.customEvents=ge(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,c=Ky(a),o=c[0],f=c.slice(1);return(l=Ly).emit.apply(l,[o,this].concat(Yi(f)))},n.preUpdate=function(u,a){this._callControlHooks("preUpdateProps",u,a)},n.postUpdate=function(u,a){this._callControlHooks("postUpdateProps",u,a)},n.updateProps=function(u,a){this.preUpdate(u,a),mh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return or(function(){var a,r,l;return yr(this,function(c){switch(c.label){case 0:return a=fr({},u.rules),[4,u._callControlHooks("preValidate",a)];case 1:return r=c.sent(),l=r[r.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,a){var r=this;return or(function(){var l,c,o,f;return yr(this,function(m){switch(m.label){case 0:return[4,r.preValidate()];case 1:l=m.sent(),c=l!==void 0?l:fr({},r.rules),Array.isArray(a)&&a.forEach(function(v){c.hasOwnProperty(v)&&delete c[v]}),o=Ny(c,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return m.sent(),[2,!0];case 4:throw f=m.sent(),f.control||(f.control=r),f;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,c=this.props,o=c.dataBind,f=c.datasourceBind,m=c.optionConfig,v=c.caption,_=c.required,I=c.maxLength,b=c.options,w=c.encrypted,y=c.encryptedMode;if(!(!a&&!o&&!f)){var E={parentId:u,fieldType:a,controlId:r,caption:v,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:f&&(E.datasourceBind=f);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),I!==void 0&&(E.maxLength=I),w!==void 0&&(E.encrypted=w),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ge(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Yi(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},jy(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();x.controlName="\u63A7\u4EF6",x.controlIcon="icon",x.controlType="control",x.controlEventKeys=[],x.controlCustomEvents=[],x.setting=[],x.__is_control__=!0,x.removeSettingItem=mr,x.updateSettingItem=gr;function mr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(c){return c.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function gr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Yi(e.showItems))}}}})}function zy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vr(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 Gy(t,e,n){return e&&vr(t.prototype,e),n&&vr(t,n),t}function Xy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){zy(this,e),this.customEvents=[],this.parent=null;var i=Xy(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Ua("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:oe(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new q(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var v;this.pageStatus=(v=n==null?void 0:n.pageStatus)!==null&&v!==void 0?v:ji.UNKNOWN}return Gy(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}();U.controlType="control",U.__is_control__=!0,U.controlCustomEvents=[];function pi(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=Ch(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 eu(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 br(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(t)}function yn(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 Qy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Jy(t,e){return e&&(Zy(e)==="object"||typeof e=="function")?e:br(t)}function tu(t,e){return tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tu(t,e)}var Zy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yy(){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 mn(t){var e=Yy();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 Jy(this,u)}}var Q=function(t){yn(n,t);var e=mn(n);function n(i){fn(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},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(Qy(i.dataBind,ie))u.dataBind={type:"object",required:!0,fields:ge(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:ge(a),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}($),k=function(t){yn(n,t);var e=mn(n);function n(i){fn(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}(Ae),T=function(t){yn(n,t);var e=mn(n);function n(i){fn(this,n);var u;u=e.call(this,i);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var f;u.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var v;u.required=(v=i==null?void 0:i.required)!==null&&v!==void 0?v:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new ie(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}(q);T.Rules=Q,T.RuntimeRules=k;var Ue=function(t){yn(n,t);var e=mn(n);function n(i){fn(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],pi.call(br(u),i),u}return n}(Q);function py(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function tm(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 nm(t,e){return e&&(im(e)==="object"||typeof e=="function")?e:py(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nu(t,e)}var im=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function um(){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 am(t){var e=um();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 nm(this,u)}}var R=function(t){tm(n,t);var e=am(n);function n(i){em(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(x);R.controlEventKeys=["on_change","on_focus","on_blur"];function rm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lm(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 om(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iu(t,e)}function cm(t,e){return e&&(sm(e)==="object"||typeof e=="function")?e:rm(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}var sm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dm(){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 fm(t){var e=dm();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 cm(this,u)}}var P=function(t){om(n,t);var e=fm(n);function n(i){lm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(U);function hm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ym(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function mm(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 gm(t,e){return e&&(vm(e)==="object"||typeof e=="function")?e:hm(t)}function uu(t,e){return uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},uu(t,e)}var vm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function bm(){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 Em(t){var e=bm();return function(){var i=bn(t),u;if(e){var a=bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return gm(this,u)}}var N=function(t){mm(n,t);var e=Em(n);function n(i){return ym(this,n),e.call(this,i)}return n}(q);function au(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 Cm(t){if(Array.isArray(t))return au(t)}function _m(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Im(){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 Er(t){return Cm(t)||_m(t)||wm(t)||Im()}function wm(t,e){if(!!t){if(typeof t=="string")return au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return au(t,e)}}function Am(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Cr(t,e){t.parent=e,Am(t,"parent")}function Sm(t,e){t.forEach(function(n){Cr(n,e)})}var _r=Symbol("targetKey");function Ir(t){var e;return(e=t[_r])!==null&&e!==void 0?e:t}function wr(t,e){return Sm(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var c;return u===_r?i:(c=Reflect).get.apply(c,[i,u].concat(Er(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(Fi(t)&&u==="length"&&a===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,a].concat(Er(l)));return Eh(a)&&Cr(a,e),f}})}function fe(t,e,n,i){var u=i!=null?i:t,a=wr(Ir(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=wr(Ir(l),u)},enumerable:!0})}function ru(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Bm(t){if(Array.isArray(t))return ru(t)}function Ar(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Tm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Sr(a,i,u,r,l,"next",c)}function l(c){Sr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Rm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function We(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?We=Reflect.get:We=function(u,a,r){var l=$m(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},We(t,e,n||t)}function Ee(t){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ee(t)}function Dm(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 xm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Fm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Om(){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 km(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){Pm(t,u,n[u])})}return t}function Mm(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 Nm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Mm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Lm(t,e){return e&&(Vm(e)==="object"||typeof e=="function")?e:Ar(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lu(t,e)}function $m(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ee(t),t!==null););return t}function Br(t){return Bm(t)||Fm(t)||Hm(t)||Om()}var Vm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hm(t,e){if(!!t){if(typeof t=="string")return ru(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ru(t,e)}}function jm(){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 qm(t){var e=jm();return function(){var i=Ee(t),u;if(e){var a=Ee(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lm(this,u)}}var Um=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Wm=1e4,H=function(e){Dm(i,e);var n=qm(i);function i(a){Rm(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=xm(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return r.props=new N(a==null?void 0:a.props),fe(Ar(r),"children",a==null?void 0:a.children),r.excludes=ge(c),r.childrenMaxLength=o,r}var u=i.prototype;return u.judgeExcludesChildren=function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)},u.judgeJoinChildren=function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length},u.validate=function(r,l){var c=this,o=this,f=function(){return We(Ee(i.prototype),"validate",c)};return Tm(function(){return Um(this,function(m){switch(m.label){case 0:return[4,f().call(o,r,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(v){return v.validate(r,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=We(Ee(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,f){var m=f.toDataBindModel(r);if(Array.isArray(m)){var v=m.filter(function(_){return!!_});return Br(o).concat(Br(v))}return m&&o.push(m),o},c)},u.toSchema=function(){var r=We(Ee(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return Nm(km({},r),{children:l})},i}(x);H.excludes=!1,H.childrenMaxLength=Wm;function Tr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Km(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function zm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ou(t,e)}function Gm(t,e){return e&&(Xm(e)==="object"||typeof e=="function")?e:Tr(t)}function ou(t,e){return ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ou(t,e)}var Xm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jm(t){var e=Qm();return function(){var i=En(t),u;if(e){var a=En(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Gm(this,u)}}var W=function(t){zm(n,t);var e=Jm(n);function n(i){Km(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new N(i==null?void 0:i.props),fe(Tr(u),"children",i==null?void 0:i.children),u}return n}(U);function Rr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function Ym(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cu(t,e)}function pm(t,e){return e&&(eg(e)==="object"||typeof e=="function")?e:Rr(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cu(t,e)}var eg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tg(){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 ng(t){var e=tg();return function(){var i=Cn(t),u;if(e){var a=Cn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return pm(this,u)}}var _n=function(t){Ym(n,t);var e=ng(n);function n(i,u){Zm(this,n);var a;return a=e.call(this,u),fe(Rr(a),"headers",u==null?void 0:u.headers,i),a}return n}(q);function su(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 ig(t){if(Array.isArray(t))return su(t)}function Pr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function ug(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Dr(a,i,u,r,l,"next",c)}function l(c){Dr(a,i,u,r,l,"throw",c)}r(void 0)})}}function ag(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 Ke(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ke=Reflect.get:Ke=function(u,a,r){var l=fg(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},Ke(t,e,n||t)}function Ce(t){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ce(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&&du(t,e)}function og(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){rg(t,u,n[u])})}return t}function sg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Fr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function dg(t,e){return e&&(hg(e)==="object"||typeof e=="function")?e:Pr(t)}function du(t,e){return du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},du(t,e)}function fg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ce(t),t!==null););return t}function Or(t){return ig(t)||og(t)||yg(t)||cg()}var hg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yg(t,e){if(!!t){if(typeof t=="string")return su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return su(t,e)}}function 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 gg(t){var e=mg();return function(){var i=Ce(t),u;if(e){var a=Ce(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return dg(this,u)}}var vg=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},fu=function(t){lg(n,t);var e=gg(n);function n(u){ag(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new _n(Pr(a),u==null?void 0:u.props),a}var i=n.prototype;return i.validate=function(a,r){var l=this,c=this,o=function(){return Ke(Ce(n.prototype),"validate",l)};return ug(function(){return vg(this,function(f){switch(f.label){case 0:return[4,o().call(c,a)];case 1:return f.sent(),[4,Promise.all(c.props.headers.map(function(m){return m.validate(a,r)}))];case 2:return f.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=Ke(Ce(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(c,o){var f=o.toDataBindModel(l);if(Array.isArray(f)){var m=f.filter(function(v){return!!v});return Or(c).concat(Or(m))}return f&&c.push(f),c},r)},i.toSchema=function(){var a=Ke(Ce(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Fr(xr({},a),{props:Fr(xr({},this.props),{headers:r})})},n}(x);fu.controlFieldType=g.LIST;function hu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Eg(t,e,n){return e&&kr(t.prototype,e),n&&kr(t,n),t}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function Cg(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 _g(t,e){return e&&(Ig(e)==="object"||typeof e=="function")?e:hu(t)}function yu(t,e){return yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},yu(t,e)}var Ig=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function wg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ag(t){var e=wg();return function(){var i=In(t),u;if(e){var a=In(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _g(this,u)}}var Mr=function(t){Cg(n,t);var e=Ag(n);function n(i){bg(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new _n(hu(u),i==null?void 0:i.props),fe(hu(u),"children",i==null?void 0:i.children),u}return Eg(n,[{key:"length",get:function(){return this.children.length}}]),n}(U);function Nr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function gu(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 Sg(t,e){return e&&(Bg(e)==="object"||typeof e=="function")?e:Nr(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vu(t,e)}var Bg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tg(){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 bu(t){var e=Tg();return function(){var i=wn(t),u;if(e){var a=wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sg(this,u)}}var Eu=function(t){gu(n,t);var e=bu(n);function n(i){mu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}($),j=function(t){gu(n,t);var e=bu(n);function n(i){mu(this,n);var u;u=e.call(this,i);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 Oh(i==null?void 0:i.autoWidth),u.dataBind=new ie(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(q);j.Rules=Eu;var Lr=function(t){gu(n,t);var e=bu(n);function n(i){mu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],pi.call(Nr(u),i),u}return n}(Eu);function Rg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(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&&Cu(t,e)}function xg(t,e){return e&&(Fg(e)==="object"||typeof e=="function")?e:Rg(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cu(t,e)}var Fg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Og(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function kg(t){var e=Og();return function(){var i=An(t),u;if(e){var a=An(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xg(this,u)}}var K=function(t){Dg(n,t);var e=kg(n);function n(i){Pg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(x);function Mg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ng(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(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&&_u(t,e)}function $g(t,e){return e&&(Vg(e)==="object"||typeof e=="function")?e:Mg(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var Vg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function jg(t){var e=Hg();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 $g(this,u)}}var z=function(t){Lg(n,t);var e=jg(n);function n(i){Ng(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(U);function qg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(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&&Iu(t,e)}function Kg(t,e){return e&&(zg(e)==="object"||typeof e=="function")?e:qg(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var zg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Xg(t){var e=Gg();return function(){var i=Bn(t),u;if(e){var a=Bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Kg(this,u)}}var wu=function(t){Wg(n,t);var e=Xg(n);function n(i){Ug(this,n);var u;return u=e.call(this,i),u.dataBind=new ie(i==null?void 0:i.dataBind),u}return n}(N);function Qg(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 Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function Zg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Au(t,e)}function Yg(t,e){return e&&(pg(e)==="object"||typeof e=="function")?e:Qg(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Au(t,e)}var pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ev(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function tv(t){var e=ev();return function(){var i=Tn(t),u;if(e){var a=Tn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Yg(this,u)}}var nv=function(t){Zg(n,t);var e=tv(n);function n(i){Jg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new wu(i==null?void 0:i.props),u}return n}(H);function iv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function av(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Su(t,e)}function rv(t,e){return e&&(lv(e)==="object"||typeof e=="function")?e:iv(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Su(t,e)}var lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ov(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cv(t){var e=ov();return function(){var i=Rn(t),u;if(e){var a=Rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return rv(this,u)}}var sv=function(t){av(n,t);var e=cv(n);function n(i){uv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new wu(i==null?void 0:i.props),u}return n}(W);class Bu extends q{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 $r extends x{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}$r.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class dv extends U{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"text"}}var Vr={Designer:$r,Runtime:dv,Property:Bu};class Tu extends q{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 Ru extends x{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ru.controlEventKeys=["on_click"],Ru.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class fv extends U{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlType(){return"link"}}var Hr={Designer:Ru,Runtime:fv,Property:Tu};class J extends q{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class Z extends x{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends U{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var jr={Designer:Z,Runtime:te,Property:J},_e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(_e||{}),qr=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(qr||{}),Ur=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Ur||{});class Pn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Pu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Pu||{});class Dn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Du=(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))(Du||{});class xu{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ot((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new ot((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new ot((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Wr{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new xu(c)))!=null?u:[new xu],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 Fu{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Ou{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 Kr{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 Ou(e==null?void 0:e.watermark),this.autoRename=new Ou(e==null?void 0:e.autoRename)}}const zr=480;function ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Gr{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 Xr{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 Qr=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Qr||{}),ku=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(ku||{}),Mu=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Mu||{}),ze=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ze||{}),Nu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Nu||{});class Lu extends q{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:Du.SOLID}}class Jr extends x{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Jr.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class hv extends U{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Zr={Designer:Jr,Runtime:hv,Property:Lu};class yv extends ${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(_e.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 xn extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new ie(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[_e.ShowSubmitUser,_e.ShowSubmitDept,_e.ShowSubmitTime,_e.ShowCurrentApprovar,_e.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ge==null?void 0:Ge.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}xn.Rules=yv;class Ge extends x{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ge.controlFieldType=g.AUTO_NUMBER,Ge.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class mv extends U{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Yr={Designer:Ge,Runtime:mv,Property:xn};class gv extends ${constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class Fn extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Fn.Rules=gv;class yt extends Z{constructor(e){super(e),this.props=new Fn(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"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.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 vv extends te{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var pr={Designer:yt,Runtime:vv,Property:Fn};class bv extends ${constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class On extends J{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.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:""}}On.Rules=bv;class mt extends Z{constructor(e){super(e),this.props=new On(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"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 Ev extends te{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var el={Designer:mt,Runtime:Ev,Property:On};class $u extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends Z{constructor(e){super(e),this.props=new $u(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"}}gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Cv extends te{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var tl={Designer:gt,Runtime:Cv,Property:$u};class Vu extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Fu(r)))!=null?a:[new Fu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Z{constructor(e){super(e),this.props=new Vu(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"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.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 _v extends te{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var nl={Designer:vt,Runtime:_v,Property:Vu};class Hu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon}}class bt extends Z{constructor(e){super(e),this.props=new Hu(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"}}bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Iv extends te{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var il={Designer:bt,Runtime:Iv,Property:Hu};class wv{constructor(e){this.dataCode=e.dataCode}}class ju extends J{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new wv(r)))!=null?a:[]}}class Et extends Z{constructor(e){super(e),this.props=new ju(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 Av extends te{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var ul={Designer:Et,Runtime:Av,Property:ju};function kn(){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 Sv extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ye({},kn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ye({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},kn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class Mn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Vi(e==null?void 0:e.fillPayload),this.formBind=new kh(e==null?void 0:e.formBind),this.fillBack=new pa(e==null?void 0:e.fillBack)}}Mn.Rules=Sv;class Ct extends Z{constructor(e){super(e),this.props=new Mn(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Bv extends te{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var al={Designer:Ct,Runtime:Bv,Property:Mn};class Tv extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ye({},kn())},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:ye({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},kn())}}}class Nn extends J{constructor(e){var n,i;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.fillPayload=new Vi(e==null?void 0:e.fillPayload),this.listPageBind=new Ja(e==null?void 0:e.listPageBind),this.fillBack=new pa(e==null?void 0:e.fillBack)}}Nn.Rules=Tv;class _t extends Z{constructor(e){super(e),this.props=new Nn(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"}}_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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Rv extends te{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var rl={Designer:_t,Runtime:Rv,Property:Nn};class Pv extends ${constructor(e){super(e)}}class Dv extends Ae{constructor(e){super(e)}}class It extends q{constructor(e){super(e)}}It.Rules=Pv,It.RuntimeRules=Dv;class ll extends x{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}ll.setting=[];class xv extends U{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var ol={Designer:ll,Runtime:xv,Property:It};class Fv extends ${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 Ln extends q{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"}}Ln.Rules=Fv;class cl extends x{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}cl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ov extends U{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var sl={Designer:cl,Runtime:Ov,Property:Ln};class kv extends ${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 $n extends q{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 Zh(a)))!=null?u:[]}}$n.Rules=kv;class dl extends x{constructor(e){super(e),this.props=new $n(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"}}dl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Mv extends U{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var fl={Designer:dl,Runtime:Mv,Property:$n};class Nv extends ${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 Vn extends J{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.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:Xe.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Xe.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(v=>new p(v)))!=null?m:[]}}Vn.Rules=Nv;class Xe extends Z{constructor(e){super(e),this.props=new Vn(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"}}Xe.controlEventKeys=["on_click","on_click_finish"],Xe.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Lv extends te{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var hl={Designer:Xe,Runtime:Lv,Property:Vn};class $v extends ${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 Hn extends J{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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:Qe.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Qe.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(v=>new p(v)))!=null?m:[]}}Hn.Rules=$v;class Qe extends Z{constructor(e){super(e),this.props=new Hn(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"}}Qe.controlEventKeys=["on_click","on_click_finish"],Qe.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Vv extends te{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var yl={Designer:Qe,Runtime:Vv,Property:Hn};class Hv extends ${constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class jn extends J{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Gr(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}jn.Rules=Hv;class wt extends Z{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class jv extends te{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ml={Designer:wt,Runtime:jv,Property:jn};class qu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends Z{constructor(e){super(e),this.props=new qu(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"}}At.controlEventKeys=["on_click"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class qv extends te{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var gl={Designer:At,Runtime:qv,Property:qu};class Uv extends ${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 qn extends q{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}}qn.Rules=Uv;class Un extends x{constructor(e){super(e),this.props=new qn(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"}}Un.controlEventKeys=["on_click"],Un.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Wv extends U{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var vl={Designer:Un,Runtime:Wv,Property:qn};class Uu extends q{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class St extends x{constructor(e){super(e),this.props=new Uu(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"}}St.controlEventKeys=["on_click"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Kv extends U{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var bl={Designer:St,Runtime:Kv,Property:Uu},zv=Object.freeze({__proto__:null,Text:Vr,Link:Hr,Button:jr,Divider:Zr,Title:Yr,CreateFormListButton:pr,BatchSubmissionListButton:el,SubmissionRecordListButton:tl,ExportListButton:nl,ExportRecordListButton:il,ImportRecordListButton:ul,FormSelectButton:al,ListSelectButton:rl,Pagination:ol,Dashboard:sl,ListViewSelect:fl,TextOcrButton:hl,InvoiceCheckButton:yl,BatchPrintListButton:ml,BatchPrintRecordListButton:gl,OperationButton:vl,BatchDeleteButton:bl});class Gv extends Q{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=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Xv extends k{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:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Je extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new er(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:Ze.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}Je.Rules=Gv,Je.RuntimeRules=Xv;class Ze extends R{constructor(e){super(e),this.props=new Je(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"}}Ze.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ze.controlFieldType=g.VARCHAR,Ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class El extends P{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"input"}}El.controlFieldType=g.VARCHAR;var Cl={Designer:Ze,Runtime:El,Property:Je};class Qv extends Ue{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 Jv extends k{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 Bt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new X(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:Tt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(v=e==null?void 0:e.optionsFormat)!=null?v:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!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(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))}))}}Bt.Rules=Qv,Bt.RuntimeRules=Jv;class Tt extends R{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Tt.controlEventKeys=["on_change","on_click"],Tt.controlFieldType=g.ARRAY,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class _l extends P{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}_l.controlFieldType=g.ARRAY;var Il={Designer:Tt,Runtime:_l,Property:Bt};class Zv extends Ue{constructor(e){super(e)}}class Wn extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new X(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:Rt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new p(_))}))}}Wn.Rules=Zv;class Rt extends R{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Rt.controlEventKeys=["on_change","on_click"],Rt.controlFieldType=g.VARCHAR,Rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class wl extends P{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"radio"}}wl.controlFieldType=g.VARCHAR;var Al={Designer:Rt,Runtime:wl,Property:Wn};class Yv extends Q{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=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class pv extends k{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:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Pt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,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=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(v=e==null?void 0:e.caption)!=null?v:Dt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new er(e==null?void 0:e.regularRules)}}Pt.Rules=Yv,Pt.RuntimeRules=pv;class Dt extends R{constructor(e){super(e),this.props=new Pt(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}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=g.DECIMAL,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Sl extends P{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlType(){return"number"}}Sl.controlFieldType=g.DECIMAL;var Bl={Designer:Dt,Runtime:Sl,Property:Pt};class Wu extends T{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Kn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitDateList=(c=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Pn(m)))!=null?c:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(f=e==null?void 0:e.filterWeekend)!=null?f:!1}}class Kn extends R{constructor(e){super(e),this.props=new Wu(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}}Kn.controlFieldType=g.TIMESTAMP,Kn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Tl extends P{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Tl.controlFieldType=g.TIMESTAMP;var Rl={Designer:Kn,Runtime:Tl,Property:Wu};class eb extends k{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 zn extends T{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dataBind=new zh(e==null?void 0:e.dataBind),this.defaultValue=new Gh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(c=e==null?void 0:e.caption)!=null?c:Gn.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Pn(m)))!=null?f:[]}}zn.RuntimeRules=eb;class Gn extends R{constructor(e){super(e),this.props=new zn(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}}Gn.controlFieldType=g.TIMESCOPE,Gn.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Pl extends P{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Pl.controlFieldType=g.TIMESCOPE;var Dl={Designer:Gn,Runtime:Pl,Property:zn};class tb extends Q{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 nb extends k{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:Ft.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=tb,xt.RuntimeRules=nb;class Ft 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"}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=g.TEXT,Ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class xl extends P{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}xl.controlFieldType=g.TEXT;var Fl={Designer:Ft,Runtime:xl,Property:xt};class ib extends Q{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 ub extends k{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 Ot 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:kt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}Ot.Rules=ib,Ot.RuntimeRules=ub;class kt extends R{constructor(e){super(e),this.props=new Ot(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"}}kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],kt.controlFieldType=g.TEXT,kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Ol extends P{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ol.controlFieldType=g.TEXT;var kl={Designer:kt,Runtime:Ol,Property:Ot};class ab extends Ue{constructor(e){super(e)}}class Xn extends T{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.options=de((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 X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Qn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var m;(m=this.multistageFilling)==null||m.push(new p(f))}))}}Xn.Rules=ab;class Qn extends R{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Qn.controlFieldType=g.VARCHAR,Qn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Ml extends P{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"select"}}Ml.controlFieldType=g.VARCHAR;var Nl={Designer:Qn,Runtime:Ml,Property:Xn};class rb extends Ue{constructor(e){super(e)}}class lb extends k{constructor(e){super(e),this[0].type="array"}}class Mt extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=de((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 X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Jn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new p(o))}))}}Mt.Rules=rb,Mt.RuntimeRules=lb;class Jn extends R{constructor(e){super(e),this.props=new Mt(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"}}Jn.controlFieldType=g.ARRAY,Jn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Ll extends P{constructor(e){super(e),this.props=new Mt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Ll.controlFieldType=g.ARRAY;var $l={Designer:Jn,Runtime:Ll,Property:Mt};class ob extends k{constructor(e){super(e),this[0].type="array"}}class Zn extends T{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Yn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var v;(v=this.multistageFilling)==null||v.push(new p(m))}))}}Zn.RuntimeRules=ob;class Yn extends R{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Yn.controlFieldType=g.EMPLOYEES,Yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Vl extends P{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"employee"}}Vl.controlFieldType=g.EMPLOYEES;var Hl={Designer:Yn,Runtime:Vl,Property:Zn};const cb=10485760,sb=104857600,db=1048576e3;class fb extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:db,message:d.getMessage("attachmentMaxSize")}}}class hb extends k{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 Ye extends T{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:sb,this.caption=(c=e==null?void 0:e.caption)!=null?c:pe.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Ye.Rules=fb,Ye.RuntimeRules=hb;class pe extends R{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}pe.controlEventKeys=["on_change"],pe.controlFieldType=g.FILE,pe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ku extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ku.controlFieldType=g.FILE;var jl={Designer:pe,Runtime:Ku,Property:Ye};const ql=class extends pe{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:ql.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let zu=ql;zu.controlFieldType=g.IMAGE,zu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class yb extends Ku{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 mb extends Ye{constructor(e){super(e)}}var Ul={Designer:zu,Runtime:yb,Property:mb};class gb extends Ue{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 vb extends k{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:[nn(ye({},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 Nt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v;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 Wh(e==null?void 0:e.dataBind),this.datasourceBind=new X((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Li({value:"name"})]}),this.defaultValue=new Kh((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:on.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Lt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(v=e==null?void 0:e.showUpperCase)!=null?v:!1}}Nt.Rules=gb,Nt.RuntimeRules=vb;class Lt extends R{constructor(e){super(e),this.props=new Nt(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}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=g.MONEY,Lt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Wl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Wl.controlFieldType=g.MONEY;var Kl={Designer:Lt,Runtime:Wl,Property:Nt};class bb extends Q{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 Eb extends k{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 $t extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Pu.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 Dn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Dn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:Vt.controlName}}$t.Rules=bb,$t.RuntimeRules=Eb;class Vt extends R{constructor(e){super(e),this.props=new $t(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 Dn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Vt.controlEventKeys=["on_change","on_click"],Vt.controlFieldType=g.DECIMAL,Vt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zl extends P{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"score"}}zl.controlFieldType=g.DECIMAL;var Gl={Designer:Vt,Runtime:zl,Property:$t};class Cb extends k{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 pn extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ei.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 Xh((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"}}pn.RuntimeRules=Cb;class ei extends R{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ei.controlFieldType=g.ADDRESS,ei.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Xl extends P{constructor(e){super(e),this.props=new pn(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"}}Xl.controlFieldType=g.ADDRESS;var Ql={Designer:ei,Runtime:Xl,Property:pn};class _b extends k{constructor(e){super(e),this[0].type="array"}}class ti extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:ni.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new p(_))}))}}ti.RuntimeRules=_b;class ni extends R{constructor(e){super(e),this.props=new ti(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}}ni.controlFieldType=g.DEPARTMENTS,ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Jl extends P{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"department"}}Jl.controlFieldType=g.DEPARTMENTS;var Zl={Designer:ni,Runtime:Jl,Property:ti};class Gu 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:Ht.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Ht extends R{constructor(e){super(e),this.props=new Gu(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"}}Ht.controlEventKeys=["on_change"],Ht.controlFieldType=g.AUTO_NUMBER,Ht.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Yl extends P{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Yl.controlFieldType=g.AUTO_NUMBER;var pl={Designer:Ht,Runtime:Yl,Property:Gu};class Ib extends Q{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class wb extends k{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 jt extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Qh(e==null?void 0:e.dataBind),this.defaultValue=new Jh(e==null?void 0:e.defaultValue),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.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}jt.Rules=Ib,jt.RuntimeRules=wb;class qt extends R{constructor(e){super(e),this.props=new jt(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}}qt.controlEventKeys=["on_change"],qt.controlFieldType=g.CALC,qt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class eo extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"calc"}}eo.controlFieldType=g.CALC;var to={Designer:qt,Runtime:eo,Property:jt};class Ab extends k{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 ii 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:ui.controlName}}ii.RuntimeRules=Ab;class ui extends R{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ui.controlFieldType=g.DECIMAL_RANGE,ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class no extends P{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}no.controlFieldType=g.DECIMAL_RANGE;var io={Designer:ui,Runtime:no,Property:ii};class Sb extends k{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 ai extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:me.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:ri.controlName,this.limitDateList=(m=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(v=>new Pn(v)))!=null?m:[]}}ai.RuntimeRules=Sb;class ri extends R{constructor(e){super(e),this.props=new ai(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=g.ARRAY,ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class uo extends P{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}uo.controlFieldType=g.ARRAY;var ao={Designer:ri,Runtime:uo,Property:ai};class Bb extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class Tb extends k{constructor(e){super(e),this[0].type="any"}}class Ut extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wt.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}}Ut.Rules=Bb,Ut.RuntimeRules=Tb;class Wt extends R{constructor(e){super(e),this.props=new Ut(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"}}Wt.controlFieldType=g.ANY,Wt.controlEventKeys=[],Wt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class ro extends P{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ro.controlFieldType=g.ANY;var lo={Designer:Wt,Runtime:ro,Property:Ut};class Rb extends Ue{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 li extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ja(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:oi.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 p(o))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1}}li.Rules=Rb;class oi extends R{constructor(e){super(e),this.props=new li(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"}}oi.controlFieldType=g.VARCHAR,oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];class oo extends P{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}oo.controlFieldType=g.VARCHAR;var co={Designer:oi,Runtime:oo,Property:li};class Xu extends Je{constructor(e){super(e)}}class so extends Ze{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}so.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class fo extends P{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}fo.controlFieldType=g.VARCHAR;var ho={Designer:so,Runtime:fo,Property:Xu};class Pb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],eu.call(this,e,Se.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 Db extends k{constructor(e){super(e),this[0].type="array"}}class Kt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I,b;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Se.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.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 qh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Se.controlCustomAttributes}),this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=(I=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(w=>new p(w)))!=null?I:[],this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[]}}Kt.Rules=Pb,Kt.RuntimeRules=Db;class Se extends R{constructor(e){super(e),this.props=new Kt(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}]}}Se.controlEventKeys=["on_change","on_click"],Se.controlFieldType=g.ARRAY,Se.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class yo extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"tree"}}yo.controlFieldType=g.ARRAY;var mo={Designer:Se,Runtime:yo,Property:Kt};class xb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},eu.call(this,e,et.controlCustomAttributes),e.externalType===ze.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class Fb extends k{constructor(e){super(e),this[0].type="array"}}class zt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:et.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 ln((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:et.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:ku.INTERNAL,this.insideType=(v=e==null?void 0:e.insideType)!=null?v:Nu.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:ze.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var y;(y=this.multistageFilling)==null||y.push(new p(w))}))}}zt.Rules=xb,zt.RuntimeRules=Fb;class et extends R{constructor(e){super(e),this.props=new zt(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}]}}et.controlFieldType=g.EMPLOYEES,et.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class go extends P{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}go.controlFieldType=g.EMPLOYEES;var vo={Designer:et,Runtime:go,Property:zt};class Ob extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,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"&&Fi(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")&&Fi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class ci 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:Gt.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 Wr(e==null?void 0:e.signatureConfig)}}ci.Rules=Ob;class Gt extends R{constructor(e){super(e),this.props=new ci(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"}}Gt.controlEventKeys=["on_click","on_click_finish"],Gt.controlFieldType=g.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class bo extends P{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}bo.controlFieldType=g.VARCHAR;var Eo={Designer:Gt,Runtime:bo,Property:ci};class kb extends Q{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 Mb extends k{constructor(e){super(e),this[0].type="array"}}class Xt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qt.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:cb,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.wpsSetting=new Kr(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Xt.Rules=kb,Xt.RuntimeRules=Mb;class Qt extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Qt.controlEventKeys=["on_change","on_wps_open"],Qt.controlFieldType=g.FILE,Qt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Co extends P{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"wps"}}Co.controlFieldType=g.FILE;var _o={Designer:Qt,Runtime:Co,Property:Xt};class Nb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},eu.call(this,e,tt.controlCustomAttributes),e.businessType===ze.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Lb extends k{constructor(e){super(e),this[0].type="array"}}class Jt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I,b,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:tt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new ln((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:tt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Mu.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ze.ALL,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var E;(E=this.multistageFilling)==null||E.push(new p(y))}))}}Jt.Rules=Nb,Jt.RuntimeRules=Lb;class tt extends R{constructor(e){super(e),this.props=new Jt(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}}tt.controlFieldType=g.DEPARTMENTS,tt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-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 Io extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"department2"}}Io.controlFieldType=g.DEPARTMENTS;var wo={Designer:tt,Runtime:Io,Property:Jt},$b=Object.freeze({__proto__:null,Input:Cl,Checkbox:Il,Radio:Al,Number:Bl,DatePicker:Rl,DateRange:Dl,Textarea:Fl,RichText:kl,Select:Nl,SelectMultiple:$l,Employee:Hl,Image:Ul,Attachment:jl,Amount:Kl,Score:Gl,Address:Ql,Department:Zl,AutoNumber:pl,Calc:to,SearchNumberRange:io,SearchDateRange:ao,VueFormItem:lo,SelectRelation:co,SearchInput:ho,Tree:mo,Employee2:vo,ElectronicSignature:Eo,WPS:_o,Department2:wo});class Ao extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ao.excludes=[C.GRID];class Vb extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var So={Designer:Ao,Runtime:Vb,Property:N};const Hb=24;class Be extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Hb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Zt extends H{constructor(e){super(e),this.props=new Be(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Zt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Zt.childrenMaxLength=1;class Qu extends W{constructor(e){super(e),this.props=new Be(e==null?void 0:e.props)}static get controlType(){return"col"}}var Bo={Designer:Zt,Runtime:Qu,Property:Be};class si extends N{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 di extends H{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}di.excludes=[C.ROW],di.setting=[{key:"col-setting",visible:!0}];class To extends W{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ro={Designer:di,Runtime:To,Property:si};const jb=4;class fi extends di{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)}}fi.excludes=[C.GRID_ROW],fi.setting=[],fi.childrenMaxLength=jb;class qb extends To{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Ub extends si{constructor(e){super(e)}}var Po={Designer:fi,Runtime:qb,Property:Ub};class Wb extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class hi extends N{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"}}hi.Rules=Wb;class Ju extends H{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Ju.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Ju.excludes=[C.CARD_GROUP];class Kb extends W{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Do={Designer:Ju,Runtime:Kb,Property:hi};class zb extends ${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")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class yi extends N{constructor(e){var n,i,u,a,r,l;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,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.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1}}yi.Rules=zb;class ue extends H{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}}ue.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ue.controlType="subtable-column",ue.controlIcon="subtable-column",ue.childrenMaxLength=1,ue.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],ue.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];class xo extends W{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}}xo.controlType="subtable-column";var Fo={Designer:ue,Runtime:xo,Property:yi};class Zu extends N{constructor(e){super(e)}}class Te extends H{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}}Te.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Te.controlType="subtable-row",Te.controlIcon="subtable-row",Te.childrenMaxLength=1,Te.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Te.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class Gb extends W{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Oo={Designer:Te,Runtime:Gb,Property:Zu};class Yu extends N{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:g.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:me.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Re extends H{constructor(e){super(e),this.props=new Yu(e==null?void 0:e.props)}}Re.controlName="\u5217\u8868\u5355\u5143\u683C",Re.controlType="gridtable-column",Re.controlIcon="gridtable-column",Re.childrenMaxLength=1,Re.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Re.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ko extends W{constructor(e){super(e),this.props=new Yu(e==null?void 0:e.props)}}ko.controlType="gridtable-column";var Mo={Designer:Re,Runtime:ko,Property:Yu};class pu extends N{constructor(e){super(e)}}class Xb extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class mi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pt.controlName}}mi.Rules=Xb;class Yt extends H{constructor(e){super(e),this.props=new mi(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"}}Yt.excludes=[C.TAB],Yt.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Qb extends W{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var No={Designer:Yt,Runtime:Qb,Property:mi};class pt extends H{constructor(e){var n;super(e),this.props=new pu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Yt,new Yt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}pt.excludes=[C.TAB],pt.controlEventKeys=["on_change_tab"],pt.setting=[{key:"super-setting",visible:!0}];class Jb extends W{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Lo={Designer:pt,Runtime:Jb,Property:pu};class $o extends N{constructor(e){super(e)}}class Vo extends H{constructor(e){super(e),this.props=new $o({}),this.children=(e==null?void 0:e.children)||[new Zt({props:new Be({span:12})}),new Zt({props:new Be({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Vo.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class Zb extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Qu({props:new Be({span:12})}),new Qu({props:new Be({span:12})})]}}var Ho={Designer:Vo,Runtime:Zb,Property:$o};class Yb extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pb extends ${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")}),pi.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 en extends N{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.datasourceBind=new X(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 Lh(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=(c=e==null?void 0:e.isFixedHeader)!=null?c:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0,this.countType=e==null?void 0:e.countType}}en.Rules=pb,en.RuntimeRules=Yb;class gi extends H{constructor(e){super(e),this.props=new en(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"}}gi.excludes=[C.ROW],gi.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"],gi.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 e0 extends W{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var jo={Designer:gi,Runtime:e0,Property:en};class t0 extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vi extends N{constructor(e){var n,i,u,a,r,l;super(e),this.save=new ve((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new ve((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new ve((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new ve((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new ve(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}vi.RuntimeRules=t0;class qo extends H{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"}}qo.excludes=[];class n0 extends W{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Uo={Designer:qo,Runtime:n0,Property:vi};class i0 extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class u0 extends W{static get controlType(){return"page"}constructor(e){super(e)}}class a0 extends N{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 Wo={Designer:i0,Runtime:u0,Property:a0};class r0 extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class l0 extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class o0 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Xr(e==null?void 0:e.flexConfig)}}var Ko={Designer:r0,Runtime:l0,Property:o0};class c0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class s0 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class d0 extends N{constructor(e){super(e)}}var zo={Designer:c0,Runtime:s0,Property:d0};class f0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class h0 extends W{static get controlType(){return"position"}constructor(e){super(e)}}class y0 extends N{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 Go={Designer:f0,Runtime:h0,Property:y0},m0=Object.freeze({__proto__:null,Grid:So,Col:Bo,Row:Ro,GridRow:Po,CardGroup:Do,SubTableColumn:Fo,SubTableRow:Oo,GridTableColumn:Mo,Tab:Lo,TabPane:No,Toolbox:Ho,ListView:jo,DataView:Uo,Page:Wo,AdvancedContainer:Ko,PositioningContainer:zo,Position:Go});class g0 extends ${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 v0 extends Ae{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 tn extends _n{constructor(e,n){var i,u,a,r,l,c,o,f,m,v,_,I,b,w,y,E,M,B,F,ne,D;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:bi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(f=n==null?void 0:n.maxHeight)!=null?f:zr,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(v=n==null?void 0:n.limitRows)!=null?v:1,this.defaultRows=(_=n==null?void 0:n.defaultRows)!=null?_:1,this.datasourceBind=new X(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(b=n==null?void 0:n.canDelete)!=null?b:!0,this.canCheck=(w=n==null?void 0:n.canCheck)!=null?w:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(E=n==null?void 0:n.canImport)!=null?E:!1,this.canExport=(M=n==null?void 0:n.canExport)!=null?M:!1,this.canClear=(B=n==null?void 0:n.canClear)!=null?B:!0,this.serverPagination=(F=n==null?void 0:n.serverPagination)!=null?F:!1,this.isShowCaptionTip=(ne=n==null?void 0:n.isShowCaptionTip)!=null?ne:!1,this.captionTip=(D=n==null?void 0:n.captionTip)!=null?D:""}}tn.Rules=g0,tn.RuntimeRules=v0;class bi extends fu{constructor(e){var n;super(e),this.props=new tn(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 ue,new ue,new ue])}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 ue,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}bi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],bi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];class b0 extends Mr{constructor(e){super(e),this.props=new tn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){qa("Method not implemented.")}getChildrenFormControl(){return[]}}var Xo={Designer:bi,Runtime:b0,Property:tn};class ea extends _n{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 E0 extends Eu{constructor(e){super(e),this.caption.required=!1}}class Ei extends j{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Pe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Ei.Rules=E0;class Pe extends K{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}}Pe.controlType="order-column",Pe.controlName="\u5E8F\u53F7",Pe.controlIcon="order-column",Pe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ta extends z{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}}ta.controlType="order-column",ta.controlFieldType=g.DECIMAL;var Qo={Designer:Pe,Runtime:ta,Property:Ei};class na extends j{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:he.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 he extends K{constructor(e){super(e),this.props=new na(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Un.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return nn(ye({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Fa(this,null,function*(){return yield xa(he.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}he.controlType="operation-column",he.controlName="\u64CD\u4F5C",he.controlIcon="operation-column",he.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class ia extends z{constructor(e){super(e),this.props=new na(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}ia.controlType="operation-column",ia.controlFieldType=g.FILE;var Jo={Designer:he,Runtime:ia,Property:na};class Ci extends fu{constructor(e){super(e),this.props=new ea(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Pe,new he])}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 nn(ye({},e),{children:n})}validate(e,n){return Fa(this,null,function*(){return yield xa(Ci.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ci.setting=[{key:"list-fixed-header",visible:!0}];class C0 extends Mr{constructor(e){super(e),this.props=new ea(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){qa("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Zo={Designer:Ci,Runtime:C0,Property:ea},_0=Object.freeze({__proto__:null,SubTable:Xo,GridTable:Zo});class I0 extends Lr{constructor(e){super(e)}}class _i extends j{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:De.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}_i.Rules=I0;class De extends K{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}De.controlType="varchar-column",De.controlName="\u77ED\u6587\u672C",De.controlIcon="varchar-column",De.controlFieldType=g.VARCHAR,De.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class ua extends z{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}ua.controlType="varchar-column",ua.controlFieldType=g.VARCHAR;var Yo={Designer:De,Runtime:ua,Property:_i};class aa extends j{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:xe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class xe extends K{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}xe.controlType="text-column",xe.controlName="\u957F\u6587\u672C",xe.controlIcon="text-column",xe.controlFieldType=g.TEXT,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class ra extends z{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}}ra.controlType="text-column",ra.controlFieldType=g.TEXT;var po={Designer:xe,Runtime:ra,Property:aa};class la extends j{constructor(e){var n,i,u,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.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 X(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}class Fe extends K{constructor(e){super(e),this.props=new la(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}}Fe.controlType="decimal-column",Fe.controlName="\u6570\u503C",Fe.controlIcon="decimal-column",Fe.controlFieldType=g.DECIMAL,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class oa extends z{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}oa.controlType="decimal-column",oa.controlFieldType=g.DECIMAL;var ec={Designer:Fe,Runtime:oa,Property:la};class ca extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Oe.controlName}}class Oe extends K{constructor(e){super(e),this.props=new ca(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}}Oe.controlType="timescope-column",Oe.controlName="\u65E5\u671F\u533A\u95F4",Oe.controlIcon="timescope-column",Oe.controlFieldType=g.TIMESCOPE,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class sa extends z{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}}sa.controlType="timescope-column",sa.controlFieldType=g.TIMESCOPE;var tc={Designer:Oe,Runtime:sa,Property:ca};class da extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ke.controlName}}class ke extends K{constructor(e){super(e),this.props=new da(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}}ke.controlType="timestamp-column",ke.controlName="\u65E5\u671F",ke.controlIcon="timestamp-column",ke.controlFieldType=g.TIMESTAMP,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class fa extends z{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}}fa.controlType="timestamp-column",fa.controlFieldType=g.TIMESTAMP;var nc={Designer:ke,Runtime:fa,Property:da};class w0 extends Lr{constructor(e){super(e)}}class Ii extends j{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}Ii.Rules=w0;class Me extends K{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}Me.controlType="array-column",Me.controlName="\u6570\u7EC4",Me.controlIcon="array-column",Me.controlFieldType=g.ARRAY,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ha extends z{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}ha.controlType="array-column",ha.controlFieldType=g.ARRAY;var ic={Designer:Me,Runtime:ha,Property:Ii};class ya extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Ne extends K{constructor(e){super(e),this.props=new ya(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}}Ne.controlType="department-column",Ne.controlName="\u90E8\u95E8",Ne.controlIcon="department-column",Ne.controlFieldType=g.DEPARTMENTS,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ma extends z{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}}ma.controlType="department-column",ma.controlFieldType=g.DEPARTMENTS;var uc={Designer:Ne,Runtime:ma,Property:ya};class ga extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName}}class Le extends K{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}}Le.controlType="auto-number-column",Le.controlName="\u81EA\u52A8\u7F16\u53F7",Le.controlIcon="auto-number-column",Le.controlFieldType=g.AUTO_NUMBER,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class va extends z{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}}va.controlType="auto-number-column",va.controlFieldType=g.AUTO_NUMBER;var ac={Designer:Le,Runtime:va,Property:ga};class ba extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName}}class $e extends K{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}}$e.controlType="file-column",$e.controlName="\u9644\u4EF6",$e.controlIcon="file-column",$e.controlFieldType=g.FILE,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ea extends z{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}}Ea.controlType="file-column",Ea.controlFieldType=g.FILE;var rc={Designer:$e,Runtime:Ea,Property:ba};class Ca extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends K{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}}Ve.controlType="image-column",Ve.controlName="\u56FE\u7247",Ve.controlIcon="image-column",Ve.controlFieldType=g.IMAGE,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class _a extends z{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}}_a.controlType="image-column",_a.controlFieldType=g.IMAGE;var lc={Designer:Ve,Runtime:_a,Property:Ca};class Ia extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends K{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}}He.controlType="people-column",He.controlName="\u4EBA\u5458",He.controlIcon="people-column",He.controlFieldType=g.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wa extends z{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}}wa.controlType="people-column",wa.controlFieldType=g.EMPLOYEES;var oc={Designer:He,Runtime:wa,Property:Ia};class Aa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends K{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}}je.controlType="location-column",je.controlName="\u5730\u5740",je.controlIcon="location-column",je.controlFieldType=g.ADDRESS,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Sa extends z{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}}Sa.controlType="location-column",Sa.controlFieldType=g.ADDRESS;var cc={Designer:je,Runtime:Sa,Property:Aa};class Ba extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ie.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const A0=1;class Ie extends K{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ba(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=ge(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 nn(ye({},e),{children:this.children.map(n=>n.toSchema())})}}Ie.controlType="custom-column",Ie.controlName="\u81EA\u5B9A\u4E49",Ie.controlIcon="custom-column",Ie.excludes=[],Ie.childrenMaxLength=A0,Ie.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class sc extends z{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}sc.controlType="custom-column";var dc={Designer:Ie,Runtime:sc,Property:Ba};class Ta extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:we.controlName,this.datasourceBind=new ln((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:we.controlCustomAttributes})}}class we extends K{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}we.controlType="employee-column",we.controlName="\u4EBA\u5458",we.controlIcon="employee-column",we.controlFieldType=g.EMPLOYEES,we.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ra extends z{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}}Ra.controlType="employee-column",Ra.controlFieldType=g.EMPLOYEES;var fc={Designer:we,Runtime:Ra,Property:Ta},S0=Object.freeze({__proto__:null,VarcharColumn:Yo,TextColumn:po,DecimalColumn:ec,TimescopeColumn:tc,TimestampColumn:nc,ArrayColumn:ic,DepartmentColumn:uc,AutoNumberColumn:ac,FileColumn:rc,ImageColumn:lc,PeopleColumn:oc,LocationColumn:cc,CustomColumn:dc,OrderColumn:Qo,OperationColumn:Jo,EmployeeColumn:fc});class B0 extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class wi extends wu{constructor(e){var n,i,u,a,r,l,c;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 ve((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new ve((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 ve(o)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[]}}wi.RuntimeRules=B0;class Pa extends nv{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}Pa.controlType="simple-search",Pa.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class hc extends sv{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:[]}}hc.controlType="simple-search";var yc={Designer:Pa,Runtime:hc,Property:wi},T0=Object.freeze({__proto__:null,SimpleSearch:yc});h.Address=Ql,h.AdvancedContainer=Ko,h.Amount=Kl,h.ArrayColumn=ic,h.AssignType=ze,h.Attachment=jl,h.AutoNumber=pl,h.AutoNumberColumn=ac,h.BatchDeleteButton=bl,h.BatchPrintListButton=ml,h.BatchPrintRecordListButton=gl,h.BatchSubmissionListButton=el,h.Button=jr,h.Calc=to,h.CardGroup=Do,h.Checkbox=Il,h.Col=Bo,h.CreateFormListButton=pr,h.CustomColumn=dc,h.DATE_CONFIG_TYPE=qr,h.DATE_LIMIT_TYPE=Ur,h.Dashboard=sl,h.DataView=Uo,h.DatePicker=Rl,h.DateRange=Dl,h.DecimalColumn=ec,h.Department=Zl,h.Department2=wo,h.DepartmentColumn=uc,h.DepartmentType=Mu,h.Divider=Zr,h.ElectronicSignature=Eo,h.ElectronicSignatureConfig=Wr,h.Employee=Hl,h.Employee2=vo,h.EmployeeColumn=fc,h.EncryptTypeEnum=Qr,h.Explain=Dn,h.ExportListButton=nl,h.ExportRecordListButton=il,h.ExportTemplate=Fu,h.FileColumn=rc,h.FlexStyleConfig=Xr,h.FormSelectButton=al,h.Grid=So,h.GridRow=Po,h.GridTable=Zo,h.GridTableColumn=Mo,h.Image=Ul,h.ImageColumn=lc,h.ImportRecordListButton=ul,h.Input=Cl,h.InternalType=Nu,h.InvoiceCheckButton=yl,h.LINE_STYLE=Du,h.LimitDate=Pn,h.Link=Hr,h.ListSelectButton=rl,h.ListView=jo,h.ListViewSelect=fl,h.LocationColumn=cc,h.Number=Bl,h.OperationButton=vl,h.OperationColumn=Jo,h.OrderColumn=Qo,h.OrganizeType=ku,h.Page=Wo,h.Pagination=ol,h.PeopleColumn=oc,h.Position=Go,h.PositioningContainer=zo,h.PrintTemplate=Gr,h.Radio=Al,h.RichText=kl,h.Row=Ro,h.SCORE_TYPE=Pu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=zr,h.Score=Gl,h.SearchDateRange=ao,h.SearchInput=ho,h.SearchNumberRange=io,h.Select=Nl,h.SelectMultiple=$l,h.SelectRelation=co,h.SimpleSearch=yc,h.SubTable=Xo,h.SubTableColumn=Fo,h.SubTableRow=Oo,h.SubmissionRecordListButton=tl,h.Tab=Lo,h.TabPane=No,h.Text=Vr,h.TextColumn=po,h.TextOcrButton=hl,h.Textarea=Fl,h.TimescopeColumn=tc,h.TimestampColumn=nc,h.Title=Yr,h.TitleConfigEnum=_e,h.Toolbox=Ho,h.Tree=mo,h.UndersignedPerson=xu,h.VarcharColumn=Yo,h.VueFormItem=lo,h.WPS=_o,h.WPSSetting=Kr,h.WpsOperationItem=Ou,h.baseControls=zv,h.columnControls=S0,h.formControls=$b,h.initExpression=ht,h.layoutControls=m0,h.listControls=_0,h.searchControls=T0,Object.defineProperty(h,"__esModule",{value:!0})});
|