@byteluck-fe/model-driven-controls 2.8.2-beta.6 → 2.8.2-beta.8
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/CustomColumn/designer.js +0 -50
- package/dist/esm/columnControls/OperationColumn/designer.js +10 -54
- package/dist/esm/columnControls/OperationColumn/runtime.js +1 -3
- package/dist/index.umd.js +1 -1
- package/dist/types/columnControls/CustomColumn/designer.d.ts +0 -9
- package/dist/types/columnControls/OperationColumn/designer.d.ts +1 -11
- package/dist/types/columnControls/OperationColumn/runtime.d.ts +1 -2
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var ew=Object.defineProperty,tw=Object.defineProperties;var nw=Object.getOwnPropertyDescriptors;var js=Object.getOwnPropertySymbols,iw=Object.getPrototypeOf,uw=Object.prototype.hasOwnProperty,aw=Object.prototype.propertyIsEnumerable,rw=Reflect.get;var qs=(y,j,K)=>j in y?ew(y,j,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[j]=K,Be=(y,j)=>{for(var K in j||(j={}))uw.call(j,K)&&qs(y,K,j[K]);if(js)for(var K of js(j))aw.call(j,K)&&qs(y,K,j[K]);return y},kn=(y,j)=>tw(y,nw(j));var $r=(y,j,K)=>rw(iw(y),K,j);var Lr=(y,j,K)=>new Promise((vu,On)=>{var gu=Ce=>{try{Bt(K.next(Ce))}catch(Tt){On(Tt)}},bu=Ce=>{try{Bt(K.throw(Ce))}catch(Tt){On(Tt)}},Bt=Ce=>Ce.done?vu(Ce.value):Promise.resolve(Ce.value).then(gu,bu);Bt((K=K.apply(y,j)).next())});(function(y,j){typeof exports=="object"&&typeof module!="undefined"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):(y=typeof globalThis!="undefined"?globalThis:y||self,j(y.modelDrivenControls={}))})(this,function(y){"use strict";var j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",bu="{caption}\u5FC5\u586B",Bt="\u8BF7\u8F93\u5165\u6807\u9898",Ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Tt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Us="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ws="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ks="\u8BF7\u7ED1\u5B9A\u8868\u5355",zs="\u8BF7\u7ED1\u5B9A\u5217\u8868",Gs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Qs="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Xs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Js="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Zs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ys="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ps="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ed="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",td="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",nd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",id="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ud="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ad="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",rd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ld="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",od="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",cd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",sd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",dd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",fd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",hd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",yd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",md="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",vd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",gd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",bd="\u8BF7\u9009\u62E9\u7701",_d="\u8BF7\u9009\u62E9\u5E02",Cd="\u8BF7\u9009\u62E9\u533A",wd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ed="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Id="\u8BF7\u8F93\u5165\u5217\u5BBD",Sd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ad="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Rd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Bd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Td="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Dd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",xd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Fd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",kd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Od="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Md="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",$d="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ld="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Nd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",jd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",qd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ud="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Wd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Kd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",zd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Gd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Qd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Xd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Jd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Zd="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Yd="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",pd="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ef={isNotNumber:j,isNotString:K,isNotObject:vu,isNotArray:On,isNotBoolean:gu,runtimeRequired:bu,pleaseEnterCaption:Bt,pleaseEnterCaptionTip:Ce,pleaseEnterRowCaption:Tt,pleaseEnterPlaceholder:Us,pleaseEnterFieldCode:Ws,pleaseEnterForm:Ks,pleaseEnterList:zs,pleaseEnterProcess:Gs,pleaseEnterLabel:Qs,pleaseEnterValue:Xs,bizKeyNotBindFiled:Js,pleaseSelectOneField:Zs,pleaseEnterNumberRange:Ys,pleaseEnterAValueGreaterThanMin:ps,pleaseEnterAValueLessThanMax:ed,numberRangeSetError:td,stringRangeError:nd,attachmentMaxSize:id,pleaseEnterTotalScoreSetting:ud,theTotalScoreMustNotBeLessThan1:ad,scoreDefaultValueRange:rd,attachmentLimitError:ld,PleaseReselectTheOptionalQuantity:od,TheMaximumLengthIsGreaterThanTheMinimumLength:cd,TheMinimumLengthIsGreaterThanTheMaximumLength:sd,PleaseSelectTheCorrectOptionSettings:dd,optionIdIsRepeat:fd,optionIsRequired:hd,pleaseEnterDataCode:yd,pleaseEnterValueFieldCode:md,pleaseEnterSvcCode:vd,pleaseBindAtLeastOneDisplayValue:gd,pleaseSelectProvince:bd,pleaseSelectCity:_d,pleaseSelectDistrict:Cd,limitRowsCannotBeLessThan0:wd,TheNumberOfRowsCannotBeLessThanMinRows:Ed,pleaseEnterColumnWidth:Id,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Sd,pleaseCompleteAllRulesAndConditions:Ad,pleaseSelectControl:Rd,pleaseSelectAtLeastOneColumn:Bd,pleaseSelectFillBackMode:Td,pleaseSelectDashboard:Dd,rootNodeIsRequired:Pd,theViewNameCannotBeEmpty:xd,pleaseSelectOcrType:Fd,pleaseSelectAtLeastOneFieldToFillIn:kd,pleaseChooseAtLeastOne:Od,pleaseEnterButtonContent:Md,pleaseEnterDataCodeInDataSetting:$d,pleaseEnterValueFieldCodeInDataSetting:Ld,pleaseEnterSvcCodeInDataSetting:Nd,pleaseBindAtLeastOneDisplayValueInDataSetting:Vd,rootNodeIsRequiredInDataSetting:Hd,pleaseEnterMaxHeight:jd,pleaseEnter:qd,pleaseEnterWatermark:Ud,pleaseEnterFileName:Wd,pleaseUploadAtLeastOnePrintTemplate:Kd,pleaseAssignBusiness:zd,pleaseAssignExternal:Gd,pleaseEnterAliasCode:Qd,pleaseSelectDataCode:Xd,pleaseSelectSvcCode:Jd,pleaseSelectJoinFieldCode:Zd,pleaseSelectMainFieldCode:Yd,pleaseSelectSortFieldCode:pd},tf="Please enter a number",nf="Please enter a string",uf="Please enter an object",af="Please enter an array",rf="Please enter a boolean",lf="{caption} Required",of="Please enter the title",cf="Please enter the bubble prompt",sf="Please enter the row title",df="Please enter the prompt text",ff="Please bind data items",hf="Please bind the form",yf="Please bind the list",mf="Please bind the process",vf="Please enter the displayed value",gf="Please enter the stored value",bf="The document number is not bound to the data item",_f="Please select at least one display field",Cf="Please enter a value greater than or equal to {min} and less than or equal to {max}",wf="Please enter a value greater than or equal to {min}",Ef="Please enter a value less than or equal to {max}",If="The value range is set incorrectly",Sf="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Af="The attachment size must be between 0MB and 1000MB",Rf="Please fill in the total score setting",Bf="The total score cannot be less than 1",Tf="The default value must be between {min} and {max}",Df="The number of attachments uploaded must be between {min} and {max}",Pf="Please re-select the optional quantity",xf="The maximum length of the control must be greater than the minimum length",Ff="The minimum length of the control must be less than the maximum length",kf="Please select the correct option setting",Of="Option ID cannot be repeated",Mf="Please enter at least one option",$f="Please bind the data source",Lf="Please bind the stored value",Nf="Please bind the service",Vf="At least one display value must be bound",Hf="Please select a province",jf="Please select a city",qf="Please select a district",Uf="The minimum number of lines to fill in cannot be less than 0",Wf="The number of rows cannot be less than {min} rows",Kf="Please enter the column width",zf="Please set the logical relationship of all rule conditions",Gf="Please complete all rules and conditions",Qf="please select control",Xf="Please select the dashboard",Jf="View name cannot be empty",Zf="Please select recognition type",Yf="Please select at least one field to fill in",pf="Please select at least one",eh="Please enter the button title",th="Please bind the business model in the data settings",nh="Please bind storage values in data settings",ih="Please bind the service in the data settings",uh="Please bind at least one display value in the data settings",ah="Please select the root node in the data settings",rh="Please enter the maximum height",lh="The input content cannot be empty",oh="Watermark cannot be empty",ch="File name cannot be empty",sh="Please upload at least one printing template!\uFF01",dh="Please select a specific business department",fh="Please select a specified external organization",hh="Please enter a sub table alias",yh="Please select the associated table to set the business model",mh="Please select the association table to set the binding service",vh="Select associated sub table fields",gh="Please select the associated main table field",bh="Please select the sort field",_h={isNotNumber:tf,isNotString:nf,isNotObject:uf,isNotArray:af,isNotBoolean:rf,runtimeRequired:lf,pleaseEnterCaption:of,pleaseEnterCaptionTip:cf,pleaseEnterRowCaption:sf,pleaseEnterPlaceholder:df,pleaseEnterFieldCode:ff,pleaseEnterForm:hf,pleaseEnterList:yf,pleaseEnterProcess:mf,pleaseEnterLabel:vf,pleaseEnterValue:gf,bizKeyNotBindFiled:bf,pleaseSelectOneField:_f,pleaseEnterNumberRange:Cf,pleaseEnterAValueGreaterThanMin:wf,pleaseEnterAValueLessThanMax:Ef,numberRangeSetError:If,stringRangeError:Sf,attachmentMaxSize:Af,pleaseEnterTotalScoreSetting:Rf,theTotalScoreMustNotBeLessThan1:Bf,scoreDefaultValueRange:Tf,attachmentLimitError:Df,PleaseReselectTheOptionalQuantity:Pf,TheMaximumLengthIsGreaterThanTheMinimumLength:xf,TheMinimumLengthIsGreaterThanTheMaximumLength:Ff,PleaseSelectTheCorrectOptionSettings:kf,optionIdIsRepeat:Of,optionIsRequired:Mf,pleaseEnterDataCode:$f,pleaseEnterValueFieldCode:Lf,pleaseEnterSvcCode:Nf,pleaseBindAtLeastOneDisplayValue:Vf,pleaseSelectProvince:Hf,pleaseSelectCity:jf,pleaseSelectDistrict:qf,limitRowsCannotBeLessThan0:Uf,TheNumberOfRowsCannotBeLessThanMinRows:Wf,pleaseEnterColumnWidth:Kf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zf,pleaseCompleteAllRulesAndConditions:Gf,pleaseSelectControl:Qf,pleaseSelectDashboard:Xf,theViewNameCannotBeEmpty:Jf,pleaseSelectOcrType:Zf,pleaseSelectAtLeastOneFieldToFillIn:Yf,pleaseChooseAtLeastOne:pf,pleaseEnterButtonContent:eh,pleaseEnterDataCodeInDataSetting:th,pleaseEnterValueFieldCodeInDataSetting:nh,pleaseEnterSvcCodeInDataSetting:ih,pleaseBindAtLeastOneDisplayValueInDataSetting:uh,rootNodeIsRequiredInDataSetting:ah,pleaseEnterMaxHeight:rh,pleaseEnter:lh,pleaseEnterWatermark:oh,pleaseEnterFileName:ch,pleaseUploadAtLeastOnePrintTemplate:sh,pleaseAssignBusiness:dh,pleaseAssignExternal:fh,pleaseEnterAliasCode:hh,pleaseSelectDataCode:yh,pleaseSelectSvcCode:mh,pleaseSelectJoinFieldCode:vh,pleaseSelectMainFieldCode:gh,pleaseSelectSortFieldCode:bh},Ch="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ih="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ah="{caption}\u5FC5\u9808",Rh="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Th="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Dh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ph="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Oh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$h="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Lh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",qh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Kh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",zh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Qh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xh="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Jh="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Zh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ph="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ey="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ty="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ny="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",iy="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",uy="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ay="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ry="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ly="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oy="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",cy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sy="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",fy="please select control",hy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yy="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",my="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vy="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gy="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",by="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_y="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Cy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",wy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ey="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Iy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ay="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ry="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",By="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ty="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",Dy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",ky="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Oy="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",My="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$y="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ly={isNotNumber:Ch,isNotString:wh,isNotObject:Eh,isNotArray:Ih,isNotBoolean:Sh,runtimeRequired:Ah,pleaseEnterCaption:Rh,pleaseEnterCaptionTip:Bh,pleaseEnterRowCaption:Th,pleaseEnterPlaceholder:Dh,pleaseEnterFieldCode:Ph,pleaseEnterForm:xh,pleaseEnterList:Fh,pleaseEnterProcess:kh,pleaseEnterLabel:Oh,pleaseEnterValue:Mh,bizKeyNotBindFiled:$h,pleaseSelectOneField:Lh,pleaseEnterNumberRange:Nh,pleaseEnterAValueGreaterThanMin:Vh,pleaseEnterAValueLessThanMax:Hh,numberRangeSetError:jh,stringRangeError:qh,attachmentMaxSize:Uh,pleaseEnterTotalScoreSetting:Wh,theTotalScoreMustNotBeLessThan1:Kh,scoreDefaultValueRange:zh,attachmentLimitError:Gh,PleaseReselectTheOptionalQuantity:Qh,TheMaximumLengthIsGreaterThanTheMinimumLength:Xh,TheMinimumLengthIsGreaterThanTheMaximumLength:Jh,PleaseSelectTheCorrectOptionSettings:Zh,optionIdIsRepeat:Yh,optionIsRequired:ph,pleaseEnterDataCode:ey,pleaseEnterValueFieldCode:ty,pleaseEnterSvcCode:ny,pleaseBindAtLeastOneDisplayValue:iy,pleaseSelectProvince:uy,pleaseSelectCity:ay,pleaseSelectDistrict:ry,limitRowsCannotBeLessThan0:ly,TheNumberOfRowsCannotBeLessThanMinRows:oy,pleaseEnterColumnWidth:cy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sy,pleaseCompleteAllRulesAndConditions:dy,pleaseSelectControl:fy,pleaseSelectDashboard:hy,theViewNameCannotBeEmpty:yy,pleaseSelectOcrType:my,pleaseSelectAtLeastOneFieldToFillIn:vy,pleaseChooseAtLeastOne:gy,pleaseEnterButtonContent:by,pleaseEnterDataCodeInDataSetting:_y,pleaseEnterValueFieldCodeInDataSetting:Cy,pleaseEnterSvcCodeInDataSetting:wy,pleaseBindAtLeastOneDisplayValueInDataSetting:Ey,rootNodeIsRequiredInDataSetting:Iy,pleaseEnterMaxHeight:Sy,pleaseEnter:Ay,pleaseEnterWatermark:Ry,pleaseEnterFileName:By,pleaseUploadAtLeastOnePrintTemplate:Ty,pleaseAssignBusiness:Dy,pleaseAssignExternal:Py,pleaseEnterAliasCode:xy,pleaseSelectDataCode:Fy,pleaseSelectSvcCode:ky,pleaseSelectJoinFieldCode:Oy,pleaseSelectMainFieldCode:My,pleaseSelectSortFieldCode:$y},Ny={zhCN:ef,enUS:_h,jaJP:Ly},Nr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Nr||(Nr={}));var Vr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Vr||(Vr={}));var Vy="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var st;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(st||(st={}));var Hr;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Hr||(Hr={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap"})(S||(S={}));var jr;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(jr||(jr={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(b||(b={}));var ne;ne={},re(ne,"array","array-column"),re(ne,"auto_number","auto-number-column"),re(ne,"decimal","decimal-column"),re(ne,"department","department-column"),re(ne,"file","file-column"),re(ne,"image","image-column"),re(ne,"location","location-column"),re(ne,"people","employee-column"),re(ne,"text","text-column"),re(ne,"timescope","timescope-column"),re(ne,"timestamp","timestamp-column"),re(ne,"varchar","varchar-column"),re(ne,"relation","varchar-column");var Te;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Te||(Te={}));var qr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Hy=qr+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?qr:Hy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function _u(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function jy(t){if(Array.isArray(t))return _u(t)}function qy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ur(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return zr()?Mn=Reflect.construct:Mn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Pt(o,r.prototype),o},Mn.apply(null,arguments)}function Dt(t){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dt(t)}function Wr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pt(t,e)}function Uy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ky(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zy(t,e){return e&&(Gy(e)==="object"||typeof e=="function")?e:qy(t)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pt(t,e)}function Kr(t){return jy(t)||Wy(t)||Qy(t)||Ky()}function Gy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qy(t,e){if(!!t){if(typeof t=="string")return _u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _u(t,e)}}function Cu(t){var e=typeof Map=="function"?new Map:void 0;return Cu=function(i){if(i===null||!Uy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Mn(i,arguments,Dt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Pt(u,i)},Cu(t)}function zr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gr(t){var e=zr();return function(){var i=Dt(t),u;if(e){var a=Dt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zy(this,u)}}var wu=console;function Eu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=wu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Kr(u)))}function Qr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=wu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Kr(u)))}function Xy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Iu=function(t){Wr(n,t);var e=Gr(n);function n(i){Ur(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Xy(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Cu(Error)),Jy=function(t){Wr(n,t);var e=Gr(n);function n(i){Ur(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Iu);function xt(t){throw new Iu(t)}function Xr(t){throw new Jy(t)}function Zy(t){wu.error(new Iu(t))}var Yy=Object.prototype.toString;function Jr(t,e){return Yy.call(t)==="[object "+e+"]"}function py(t){return Jr(t,"String")}function em(t){return Jr(t,"Promise")}var tm=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();em(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!py(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function nm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function im(t,e,n){return e&&Zr(t.prototype,e),n&&Zr(t,n),t}function um(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){nm(this,t)}return im(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vy;return new tm({locale:n,messages:Ny})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();um(f,"$i18n",f.resetI18n());function am(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Eu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var rm=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},lm={exports:{}};(function(t){(function(e){var n=function(v,w,R){if(!o(w)||m(w)||g(w)||C(w)||c(w))return w;var T,F=0,se=0;if(d(w))for(T=[],se=w.length;F<se;F++)T.push(n(v,w[F],R));else{T={};for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&(T[v(k,R)]=n(v,w[k],R))}return T},i=function(v,w){w=w||{};var R=w.separator||"_",T=w.split||/(?=[A-Z])/;return v.split(T).join(R)},u=function(v){return E(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(w,R){return R?R.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var w=u(v);return w.substr(0,1).toUpperCase()+w.substr(1)},r=function(v,w){return i(v,w).toLowerCase()},l=Object.prototype.toString,c=function(v){return typeof v=="function"},o=function(v){return v===Object(v)},d=function(v){return l.call(v)=="[object Array]"},m=function(v){return l.call(v)=="[object Date]"},g=function(v){return l.call(v)=="[object RegExp]"},C=function(v){return l.call(v)=="[object Boolean]"},E=function(v){return v=v-0,v===v},_=function(v,w){var R=w&&"process"in w?w.process:w;return typeof R!="function"?v:function(T,F){return R(T,v,F)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(v,w){return n(_(u,w),v)},decamelizeKeys:function(v,w){return n(_(r,w),v,w)},pascalizeKeys:function(v,w){return n(_(a,w),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(rm)})(lm);var Yr={};Object.defineProperty(Yr,"__esModule",{value:!0});function Su(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Su(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Su(i)}return e}}var om=Yr.default=Su;function De(t){if(t!==void 0)return typeof t=="object"?om(t):t}function cm(t){return Object.prototype.toString.call(t)==="[object Object]"}function Au(t){return Array.isArray(t)}function sm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ru(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function dm(t){if(Array.isArray(t))return Ru(t)}function pr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function fm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){pr(a,i,u,r,l,"next",c)}function l(c){pr(a,i,u,r,l,"throw",c)}r(void 0)})}}function hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function el(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ym(t,e,n){return e&&el(t.prototype,e),n&&el(t,n),t}function tl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Bu(t){return dm(t)||mm(t)||gm(t)||vm()}function gm(t,e){if(!!t){if(typeof t=="string")return Ru(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ru(t,e)}}function bm(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var _m=function(){function t(){hm(this,t),tl(this,"_events",new Map),tl(this,"debug",!1)}return ym(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return fm(function(){var l,c,o,d,m,g,C,E,_,I,v,w;return bm(this,function(R){switch(R.label){case 0:if(l=r._events.get(n),c=[],!l)return[3,10];o=l.slice(),d=!0,m=!1,g=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),C=o[Symbol.iterator](),R.label=2;case 2:if(d=(E=C.next()).done)return[3,7];if(_=E.value,!l.includes(_))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),r.debug&&Qr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Bu(u))),[4,_.apply(null,Bu(u))];case 4:return I=R.sent(),r.debug&&Qr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Bu(u),[I])),c.push(I),I===!1?[3,7]:[3,6];case 5:return v=R.sent(),Zy(String(v)+":"+String(v.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return w=R.sent(),m=!0,g=w,[3,10];case 9:try{!d&&C.return!=null&&C.return()}finally{if(m)throw g}return[7];case 10:return[2,c]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Cm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function wm(t,e,n){return e&&nl(t.prototype,e),n&&nl(t,n),t}function Em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Im=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Sm=function(){function t(){Cm(this,t)}return wm(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();Em(Sm,"events",Im);function Tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Am(t){if(Array.isArray(t))return Tu(t)}function Rm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Bm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function il(t){return Am(t)||Rm(t)||Tm(t)||Bm()}function Tm(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function Du(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ul(t,e,n){n!=="Runtime"&&(t.parent=e,Du(t,"parent"))}function Dm(t,e,n){t.forEach(function(i){ul(i,e,n)})}var al=Symbol("targetKey");function rl(t){var e;return(e=t[al])!==null&&e!==void 0?e:t}function ll(t,e,n){return Dm(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),c=2;c<r;c++)l[c-2]=arguments[c];var o;return a===al?u:(o=Reflect).get.apply(o,[u,a].concat(il(l)))},set:function(u,a,r){for(var l=arguments.length,c=new Array(l>3?l-3:0),o=3;o<l;o++)c[o-3]=arguments[o];var d;if(Au(t)&&a==="length"&&r===t.length)return!0;var m=(d=Reflect).set.apply(d,[u,a,r].concat(il(c)));return cm(r)&&ul(r,e,n),m}})}function ve(t,e,n,i,u){var a=i!=null?i:t,r=ll(rl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(c){r=ll(rl(c),a,u)},enumerable:!0})}function Pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ol(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function xm(t,e,n){return e&&ol(t.prototype,e),n&&ol(t,n),t}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var cl=[],$n=function(){function t(e){Pm(this,t),Pe(this,"registeredControlTypes",new Set),Pe(this,"controlConfigMap",new Map),Pe(this,"_controls",[]),Pe(this,"_type",void 0),this._type=e,this._initControls(e)}return xm(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||xt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Eu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===st.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===st.FORM}},{key:"isListControl",value:function(n){return n.controlType===st.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===st.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)})),a.footers&&(a.footers=a.footers.map(function(d){var m;return d&&(m=u.createControl(d,i)),m}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var c=i(l);c&&(l=c)}var o;return r.mode==="Runtime"?(o=l,o.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(o,this)):o=new r(l),o}else xt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Du(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var c=r[a],o=l[a];if(!(!c&&!o)){var d=o.findIndex(function(C){return C==n}),m=l[c]||[],g;return m.length!==o.length?g=m[0]:g=m[d],g}}}}),Du(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&xt("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(c){return c.Designer.controlType===u.controlType});return l>-1&&(Eu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Pe($n,"staticControlsRuntimeRules",new Map),Pe($n,"staticControls",cl),Pe($n,"staticRegisteredTypes",new Set(cl.map(function(t){return t.Designer.controlType}))),Pe($n,"staticRegisteredConfigs",new Map);function O(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function he(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pu(t,e)}function Fm(t,e){return e&&(km(e)==="object"||typeof e=="function")?e:O(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pu(t,e)}function km(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Om(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ye(t){var e=Om();return function(){var i=Ln(t),u;if(e){var a=Ln(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Fm(this,u)}}var ge=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},sl=function t(e){A(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},xu=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"width",void 0),h(O(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(sl),Mm=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new xu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new xu(e==null?void 0:e.mobile):new xu({width:130,minWidth:180})},$m=function t(e){A(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},dt=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Lm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(dt),dl=function t(e){A(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Fu=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new dl(r)}))!==null&&a!==void 0?a:[]},Nm=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},Vm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"title",void 0),h(O(u),"svcCode",void 0),h(O(u),"isOpenFilter",void 0),h(O(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(dt),Hm=function t(e){A(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new dt(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Nm(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new Vm(r)}))!==null&&a!==void 0?a:[]},jm=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Ft=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},ku=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,m=new Nn(l);(d=n.children)===null||d===void 0||d.push(m)}}))},Nn=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new jm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ft(e==null?void 0:e.rightVariableBo)},qm=function t(e){A(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ae=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Ou=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Um=function t(e){A(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Mu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new ku(l):new Nn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new ku(l):new Nn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new Um(l)}))!==null&&r!==void 0?r:[]}var p=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var m;(m=n.displayBoList)===null||m===void 0||m.push(new Ou(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Mu.call(this,e)},$u=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},we=function t(e){A(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},fl=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Ou(r)}))!==null&&a!==void 0?a:[]},Vn=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new fl(l)}))!==null&&r!==void 0?r:[],u}return n}(p),Wm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0),h(O(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new fl(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(p),hl=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"rootNode",void 0),h(O(u),"filterCode",void 0),u.rootNode=new Ft(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(Vn),yl=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new ae(r)}))!==null&&a!==void 0?a:[]},ml=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(O(u),"filters",void 0),h(O(u),"viewFilters",void 0),h(O(u),"orders",void 0),Mu.call(O(u),i),u}return n}(yl),vl=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"mode",void 0),h(O(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(yl),gl=function t(e){A(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Km=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function Ee(t){var e;return(e=t==null?void 0:t.map(function(n){return new Km(n)}))!==null&&e!==void 0?e:[]}var Lu=function t(){A(this,t)},zm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"amount",void 0),h(O(u),"currency",void 0),u.amount=new ge(i==null?void 0:i.amount),u.currency=new ge(i==null?void 0:i.currency),u}return n}(Lu),Gm=function t(e){A(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},Qm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"min",void 0),h(O(u),"max",void 0),u.min=new ge(i==null?void 0:i.min),u.max=new ge(i==null?void 0:i.max),u}return n}(Lu),Xm=function t(e){A(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Jm=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Zm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"result",void 0),h(O(u),"unit",void 0),u.result=new ge(i==null?void 0:i.result),u.unit=new ge(i==null?void 0:i.unit),u}return n}(Lu),Ym=function t(e){A(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Nu;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Nu||(Nu={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(s||(s={}));var Vu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vu||(Vu={}));var xe=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},pm=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new dl(r)}))!==null&&a!==void 0?a:[],Mu.call(this,e)},ev=function t(e){A(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},tv=function t(e){A(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},nv=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"name",void 0),h(this,"color",void 0),h(this,"filters",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe();var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:"theme";var r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new ku(l):new Nn(l)}))!==null&&r!==void 0?r:[]},iv=function t(e){A(this,t),h(this,"id",void 0),h(this,"script",void 0),h(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:fe();var i;this.script=(i=e.script)!==null&&i!==void 0?i:"";var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme"};function uv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t,e,n){return bl()?Hn=Reflect.construct:Hn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Ot(o,r.prototype),o},Hn.apply(null,arguments)}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function av(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ot(t,e)}function rv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function lv(t,e){return e&&(ov(e)==="object"||typeof e=="function")?e:uv(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function ov(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!rv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Hn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},ju(t)}function bl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cv(t){var e=bl();return function(){var i=kt(t),u;if(e){var a=kt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return lv(this,u)}}var z=function t(e){Hu(this,t),Fe(this,"isHide",{type:"boolean"})},Ue=function(t){av(n,t);var e=cv(n);function n(i){return Hu(this,n),e.call(this)}return n}(ju(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),Fe(this,"isHide",void 0),Fe(this,"className",void 0),Fe(this,"style",void 0),Fe(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new ev(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Fe(G,"mode",void 0),Fe(G,"Rules",z),Fe(G,"RuntimeRules",Ue);function be(){return be=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},be.apply(this,arguments)}function sv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function qu(t){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(t)}function jn(t,e){return jn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jn(t,e)}function dv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function qn(t,e,n){return dv()?qn=Reflect.construct:qn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&jn(o,r.prototype),o},qn.apply(null,arguments)}function fv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!fv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return qn(i,arguments,qu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),jn(u,i)},Uu(t)}var hv=/%[sdj%]/g,_l=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(_l=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Wu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(hv,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function yv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Q(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||yv(e)&&typeof t=="string"&&!t)}function mv(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function Cl(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function vv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var wl=function(t){sv(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Uu(Error));function gv(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var C=function(I){return i(I),I.length?g(new wl(I,Wu(I))):m()},E=vv(t);Cl(E,n,C)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(m,g){var C=function(_){if(o.push.apply(o,_),c++,c===l)return i(o),o.length?g(new wl(o,Wu(o))):m()};r.length||(i(o),m()),r.forEach(function(E){var _=t[E];a.indexOf(E)!==-1?Cl(_,n,C):mv(_,n,C)})});return d.catch(function(m){return m}),d}function El(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Il(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=be(be({},t[n]),i):t[n]=i}}return t}function Sl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||Q(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function bv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var Ku={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Mt={integer:function(e){return Mt.number(e)&&parseInt(e,10)===e},float:function(e){return Mt.number(e)&&!Mt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Mt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function _v(t,e,n,i,u){if(t.required&&e===void 0){Sl(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Mt[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function Cv(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,m=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(m?d="number":g?d="string":C&&(d="array"),!d)return!1;C&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var ft="enum";function wv(t,e,n,i,u){t[ft]=Array.isArray(t[ft])?t[ft]:[],t[ft].indexOf(e)===-1&&i.push(le(u.messages[ft],t.fullField,t[ft].join(", ")))}function Ev(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var B={required:Sl,whitespace:bv,type:_v,range:Cv,enum:wv,pattern:Ev};function Iv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"string")&&!t.required)return n();B.required(t,e,i,a,u,"string"),Q(e,"string")||(B.type(t,e,i,a,u),B.range(t,e,i,a,u),B.pattern(t,e,i,a,u),t.whitespace===!0&&B.whitespace(t,e,i,a,u))}n(a)}function Sv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function Av(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Rv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function Bv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),Q(e)||B.type(t,e,i,a,u)}n(a)}function Tv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Dv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Pv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();B.required(t,e,i,a,u,"array"),e!=null&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function xv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}var Fv="enum";function kv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B[Fv](t,e,i,a,u)}n(a)}function Ov(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"string")&&!t.required)return n();B.required(t,e,i,a,u),Q(e,"string")||B.pattern(t,e,i,a,u)}n(a)}function Mv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"date")&&!t.required)return n();if(B.required(t,e,i,a,u),!Q(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),B.type(t,l,i,a,u),l&&B.range(t,l.getTime(),i,a,u)}}n(a)}function $v(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;B.required(t,e,i,a,u,r),n(a)}function zu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Q(e,a)&&!t.required)return n();B.required(t,e,i,r,u,a),Q(e,a)||B.type(t,e,i,r,u)}n(r)}function Lv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u)}n(a)}var $t={string:Iv,method:Sv,number:Av,boolean:Rv,regexp:Bv,integer:Tv,float:Dv,array:Pv,object:xv,enum:kv,pattern:Ov,date:Mv,url:zu,hex:zu,email:zu,required:$v,any:Lv};function Gu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Qu=Gu();function ke(t){this.rules=null,this._messages=Qu,this.define(t)}ke.prototype={messages:function(e){return e&&(this._messages=Il(Gu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(_){var I,v=[],w={};function R(T){if(Array.isArray(T)){var F;v=(F=v).concat.apply(F,T)}else v.push(T)}for(I=0;I<_.length;I++)R(_[I]);v.length?w=Wu(v):(v=null,w=null),l(v,w)}if(r.messages){var o=this.messages();o===Qu&&(o=Gu()),Il(o,r.messages),r.messages=o}else r.messages=this.messages();var d,m,g={},C=r.keys||Object.keys(this.rules);C.forEach(function(_){d=u.rules[_],m=a[_],d.forEach(function(I){var v=I;typeof v.transform=="function"&&(a===e&&(a=be({},a)),m=a[_]=v.transform(m)),typeof v=="function"?v={validator:v}:v=be({},v),v.validator=u.getValidationMethod(v),v.field=_,v.fullField=v.fullField||_,v.type=u.getType(v),v.validator&&(g[_]=g[_]||[],g[_].push({rule:v,value:m,source:a,field:_}))})});var E={};return gv(g,r,function(_,I){var v=_.rule,w=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");w=w&&(v.required||!v.required&&_.value),v.field=_.field;function R(se,k){return be(be({},k),{},{fullField:v.fullField+"."+se})}function T(se){se===void 0&&(se=[]);var k=se;if(Array.isArray(k)||(k=[k]),!r.suppressWarning&&k.length&&ke.warning("async-validator:",k),k.length&&v.message!==void 0&&(k=[].concat(v.message)),k=k.map(El(v)),r.first&&k.length)return E[v.field]=1,I(k);if(!w)I(k);else{if(v.required&&!_.value)return v.message!==void 0?k=[].concat(v.message).map(El(v)):r.error&&(k=[r.error(v,le(r.messages.required,v.field))]),I(k);var de={};if(v.defaultField)for(var xn in _.value)_.value.hasOwnProperty(xn)&&(de[xn]=v.defaultField);de=be(be({},de),_.rule.fields);for(var Ae in de)if(de.hasOwnProperty(Ae)){var mu=Array.isArray(de[Ae])?de[Ae]:[de[Ae]];de[Ae]=mu.map(R.bind(null,Ae))}var Fn=new ke(de);Fn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Fn.validate(_.value,_.rule.options||r,function(Rt){var Re=[];k&&k.length&&Re.push.apply(Re,k),Rt&&Rt.length&&Re.push.apply(Re,Rt),I(Re.length?Re:null)})}}var F;v.asyncValidator?F=v.asyncValidator(v,_.value,T,_.source,r):v.validator&&(F=v.validator(v,_.value,T,_.source,r),F===!0?T():F===!1?T(v.message||v.field+" fails"):F instanceof Array?T(F):F instanceof Error&&T(F.message)),F&&F.then&&F.then(function(){return T()},function(se){return T(se)})},function(_){c(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!$t.hasOwnProperty(e.type))throw new Error(le("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?$t.required:$t[this.getType(e)]||!1}},ke.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");$t[e]=n},ke.warning=_l,ke.messages=Qu,ke.validators=$t;var Nv={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Vv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ke(t);return n.messages(Object.assign(Nv,e)),n}var Hv=new _m;function Xu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function jv(t){if(Array.isArray(t))return t}function qv(t){if(Array.isArray(t))return Xu(t)}function Al(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Rl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Al(a,i,u,r,l,"next",c)}function l(c){Al(a,i,u,r,l,"throw",c)}r(void 0)})}}function Uv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Wv(t,e,n){return e&&Bl(t.prototype,e),n&&Bl(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Dl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Kv(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){M(t,u,n[u])})}return t}function Gv(t){return jv(t)||Dl(t)||xl(t)||Kv()}function Ju(t){return qv(t)||Dl(t)||xl(t)||zv()}function xl(t,e){if(!!t){if(typeof t=="string")return Xu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xu(t,e)}}function Fl(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var $=function(){function e(n){var i=this;Uv(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",Ol),M(this,"removeSetting",kl),this._callControlHooks("preInstance",n);var u=Tl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,c=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,m=u.name,g=u.setting;a&&r&&l||Xr("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:fe(10),this.name=a,this.icon=r;var E;this.type=(E=n==null?void 0:n.type)!==null&&E!==void 0?E:l,this.props=new G(n==null?void 0:n.props,(Tl(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=De(g);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:c,this.eventKeys=De(o),this.customEvents=De(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Wv(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=Gv(u),c=l[0],o=l.slice(1);return(r=Hv).emit.apply(r,[c,this].concat(Ju(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),am(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Rl(function(){var u,a,r;return Fl(this,function(l){switch(l.label){case 0:return u=Pl({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return Rl(function(){var r,l,c,o;return Fl(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:Pl({},a.rules),Array.isArray(u)&&u.forEach(function(m){l.hasOwnProperty(m)&&delete l[m]}),c=Vv(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,c.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,c=l.dataBind,o=l.datasourceBind,d=l.optionConfig,m=l.caption,g=l.required,C=l.maxLength,E=l.options,_=l.encrypted,I=l.encryptedMode;if(!(!u&&!c&&!o)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(c&&(v.dataBind=c),d){case"datasource":case void 0:o&&(v.datasourceBind=o);break;case"custom":v.props.options=E;break}return g!==void 0&&(v.required=g),C!==void 0&&(v.maxLength=C),_!==void 0&&(v.encrypted=_),I!==void 0&&(v.encryptedMode=I),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:De(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Ju(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M($,"mode","Designer"),M($,"controlName","\u63A7\u4EF6"),M($,"controlIcon","icon"),M($,"controlType","control"),M($,"controlFieldType",void 0),M($,"controlEventKeys",[]),M($,"controlCustomEvents",[]),M($,"setting",[]),M($,"__is_control__",!0),M($,"removeSettingItem",kl),M($,"updateSettingItem",Ol);function kl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,c;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((c=e.setting[r].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(r,1)}})}function Ol(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Ju(e.showItems))}}}})}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ml(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Xv(t,e,n){return e&&Ml(t.prototype,e),n&&Ml(t,n),t}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Qv(this,e),oe(this,"id",void 0),oe(this,"type",void 0),oe(this,"controlType",void 0),oe(this,"props",void 0),oe(this,"fieldType",void 0),oe(this,"customEvents",[]),oe(this,"pageStatus",void 0),oe(this,"parent",null);var i=Jv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Xr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:fe(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vu.UNKNOWN}return Xv(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();oe(X,"mode","Runtime"),oe(X,"controlType","control"),oe(X,"controlFieldType",void 0),oe(X,"__is_control__",!0),oe(X,"controlCustomEvents",[]);function Zu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=sm(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function Un(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function Zv(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function zn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yu(t,e)}function Yv(t,e){return e&&(pv(e)==="object"||typeof e=="function")?e:L(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}function pv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gn(t){var e=eg();return function(){var i=Kn(t),u;if(e){var a=Kn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Yv(this,u)}}var ee=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;u=e.call(this,i),N(L(u),"dataBind",{}),N(L(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),N(L(u),"isHideCaption",{type:"boolean"}),N(L(u),"labelPosition",{type:"enum",enum:["top","left"]}),N(L(u),"defaultState",{type:"enum",enum:["default","readonly"]}),N(L(u),"required",{type:"boolean"}),N(L(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Zv(i.dataBind))u.dataBind={type:"object",required:!0,fields:De(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:De(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(z),V=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;u=e.call(this,i);var a=i.isHide?!1:i.required;return a&&u.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ue),D=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;u=e.call(this,i),N(L(u),"caption",void 0),N(L(u),"isHideCaption",void 0),N(L(u),"isShowCaptionTip",void 0),N(L(u),"captionTip",void 0),N(L(u),"labelPosition",void 0),N(L(u),"dataBind",void 0),N(L(u),"defaultValue",void 0),N(L(u),"placeholder",void 0),N(L(u),"defaultState",void 0),N(L(u),"required",void 0),N(L(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",u.dataBind=new ge(i==null?void 0:i.dataBind);var E;return u.defaultValue=(E=i==null?void 0:i.defaultValue)!==null&&E!==void 0?E:"",u}return n}(G);N(D,"Rules",ee),N(D,"RuntimeRules",V);var ht=function(t){zn(n,t);var e=Gn(n);function n(i){Wn(this,n);var u;return u=e.call(this,i),N(L(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),N(L(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),N(L(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Zu.call(L(u),i),u}return n}(ee);function pu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function ng(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function ig(t,e){return e&&(ug(e)==="object"||typeof e=="function")?e:pu(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function ug(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rg(t){var e=ag();return function(){var i=Xn(t),u;if(e){var a=Xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ig(this,u)}}var P=function(t){ng(n,t);var e=rg(n);function n(i){tg(this,n);var u;return u=e.call(this,i),Qn(pu(u),"controlType","form"),Qn(pu(u),"props",void 0),u.props=new D(i==null?void 0:i.props),u}return n}($);Qn(P,"controlEventKeys",["on_change","on_focus","on_blur"]),Qn(P,"controlCustomAttributes",void 0);function Jn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function og(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function cg(t,e){return e&&(sg(e)==="object"||typeof e=="function")?e:Jn(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function sg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fg(t){var e=dg();return function(){var i=Zn(t),u;if(e){var a=Zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cg(this,u)}}var x=function(t){og(n,t);var e=fg(n);function n(i){lg(this,n);var u;return u=e.call(this,i),ta(Jn(u),"controlType","form"),ta(Jn(u),"props",void 0),ta(Jn(u),"value",void 0),u.props=new D(i==null?void 0:i.props),u}return n}(X);function hg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function mg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function vg(t,e){return e&&(gg(e)==="object"||typeof e=="function")?e:hg(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function gg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _g(t){var e=bg();return function(){var i=Yn(t),u;if(e){var a=Yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return vg(this,u)}}var H=function(t){mg(n,t);var e=_g(n);function n(i){return yg(this,n),e.call(this,i)}return n}(G);function ua(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Cg(t){if(Array.isArray(t))return ua(t)}function We(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $l(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function wg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){$l(a,i,u,r,l,"next",c)}function l(c){$l(a,i,u,r,l,"throw",c)}r(void 0)})}}function Eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ll(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ig(t,e,n){return e&&Ll(t.prototype,e),n&&Ll(t,n),t}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(u,a,r){var l=Fg(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},yt(t,e,n||t)}function Me(t){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Me(t)}function Sg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function Ag(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Rg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Bg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Tg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Oe(t,u,n[u])})}return t}function Dg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Pg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Dg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function xg(t,e){return e&&(kg(e)==="object"||typeof e=="function")?e:We(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function Fg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Me(t),t!==null););return t}function Nl(t){return Cg(t)||Rg(t)||Og(t)||Bg()}function kg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Og(t,e){if(!!t){if(typeof t=="string")return ua(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ua(t,e)}}function Mg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $g(t){var e=Mg();return function(){var i=Me(t),u;if(e){var a=Me(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xg(this,u)}}function Lg(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Ng=1e4,q=function(e){Sg(i,e);var n=$g(i);function i(u){Eg(this,i);var a;a=n.call(this,u),Oe(We(a),"controlType","layout"),Oe(We(a),"children",void 0),Oe(We(a),"excludes",void 0),Oe(We(a),"childrenMaxLength",void 0),Oe(We(a),"props",void 0);var r=Ag(this,i)?this.constructor:void 0,l=r.excludes,c=r.childrenMaxLength;return a.props=new H(u==null?void 0:u.props),ve(We(a),"children",u==null?void 0:u.children,void 0,"Designer"),a.excludes=De(l),a.childrenMaxLength=c,a}return Ig(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,c=this,o=function(){return yt(Me(i.prototype),"validate",l)};return wg(function(){return Lg(this,function(d){switch(d.label){case 0:return[4,o().call(c,a,r)];case 1:return d.sent(),[4,Promise.all(c.children.map(function(m){return m.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=yt(Me(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(c,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var m=d.filter(function(g){return!!g});return Nl(c).concat(Nl(m))}return d&&c.push(d),c},l)}},{key:"toSchema",value:function(){var a=yt(Me(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var c=l.toSchema();return c});return Pg(Tg({},a),{children:r})}}]),i}($);Oe(q,"excludes",!1),Oe(q,"childrenMaxLength",Ng);function Lt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ra(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function Hg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&la(t,e)}function jg(t,e){return e&&(qg(e)==="object"||typeof e=="function")?e:Lt(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function qg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ug(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wg(t){var e=Ug();return function(){var i=pn(t),u;if(e){var a=pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return jg(this,u)}}var U=function(t){Hg(n,t);var e=Wg(n);function n(i){Vg(this,n);var u;return u=e.call(this,i),ra(Lt(u),"controlType","layout"),ra(Lt(u),"children",void 0),ra(Lt(u),"props",void 0),u.props=new H(i==null?void 0:i.props),ve(Lt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(X);function Ie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function zg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function Gg(t,e){return e&&(Qg(e)==="object"||typeof e=="function")?e:Ie(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function Qg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jg(t){var e=Xg();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Gg(this,u)}}var ti=function(t){zg(n,t);var e=Jg(n);function n(i,u,a){Kg(this,n);var r;r=e.call(this,u),mt(Ie(r),"headers",void 0),mt(Ie(r),"footers",void 0),mt(Ie(r),"pageIndex",void 0),mt(Ie(r),"pageSize",void 0),mt(Ie(r),"pageSizeOptions",void 0),mt(Ie(r),"totalCount",void 0),ve(Ie(r),"headers",u==null?void 0:u.headers,i,a),ve(Ie(r),"footers",u==null?void 0:u.footers,i);var l;r.pageIndex=(l=u==null?void 0:u.pageIndex)!==null&&l!==void 0?l:1;var c;r.pageSize=(c=u==null?void 0:u.pageSize)!==null&&c!==void 0?c:20;var o;r.pageSizeOptions=(o=u==null?void 0:u.pageSizeOptions)!==null&&o!==void 0?o:[20];var d;return r.totalCount=(d=u==null?void 0:u.totalCount)!==null&&d!==void 0?d:0,r}return n}(G);function ca(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Zg(t){if(Array.isArray(t))return ca(t)}function ni(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Yg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Vl(a,i,u,r,l,"next",c)}function l(c){Vl(a,i,u,r,l,"throw",c)}r(void 0)})}}function pg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e0(t,e,n){return e&&Hl(t.prototype,e),n&&Hl(t,n),t}function ii(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vt=Reflect.get:vt=function(u,a,r){var l=r0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},vt(t,e,n||t)}function $e(t){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$e(t)}function t0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function n0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function i0(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function jl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ii(t,u,n[u])})}return t}function u0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function ql(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):u0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function a0(t,e){return e&&(l0(e)==="object"||typeof e=="function")?e:ni(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function r0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=$e(t),t!==null););return t}function Ul(t){return Zg(t)||n0(t)||o0(t)||i0()}function l0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function o0(t,e){if(!!t){if(typeof t=="string")return ca(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ca(t,e)}}function c0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function s0(t){var e=c0();return function(){var i=$e(t),u;if(e){var a=$e(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return a0(this,u)}}function d0(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var da=function(t){t0(n,t);var e=s0(n);function n(i){pg(this,n);var u;return u=e.call(this,i),ii(ni(u),"controlType","list"),ii(ni(u),"props",void 0),u.props=new ti(ni(u),i==null?void 0:i.props,"Designer"),u}return e0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return vt($e(n.prototype),"validate",r)};return Yg(function(){return d0(this,function(o){switch(o.label){case 0:return[4,c().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=vt($e(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,c){var o=c.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(m){return!!m});return Ul(l).concat(Ul(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u,a,r=vt($e(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()}),c=(a=this.props)===null||a===void 0||(u=a.footers)===null||u===void 0?void 0:u.map(function(o){if(o)return o.toSchema()});return ql(jl({},r),{props:ql(jl({},this.props),{headers:l,footers:c})})}}]),n}($);ii(da,"controlFieldType",b.LIST);function gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function h0(t,e,n){return e&&Wl(t.prototype,e),n&&Wl(t,n),t}function fa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function y0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function m0(t,e){return e&&(v0(e)==="object"||typeof e=="function")?e:gt(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function v0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function g0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function b0(t){var e=g0();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return m0(this,u)}}var Kl=function(t){y0(n,t);var e=b0(n);function n(i){f0(this,n);var u;return u=e.call(this,i),fa(gt(u),"controlType","list"),fa(gt(u),"children",void 0),fa(gt(u),"props",void 0),u.props=new ti(gt(u),i==null?void 0:i.props,"Runtime"),ve(gt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return h0(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function ma(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&va(t,e)}function _0(t,e){return e&&(C0(e)==="object"||typeof e=="function")?e:J(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function C0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ga(t){var e=w0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _0(this,u)}}var _e=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),te(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(z),W=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;u=e.call(this,i),te(J(u),"widthType",void 0),te(J(u),"width",void 0),te(J(u),"caption",void 0),te(J(u),"dataBind",void 0),te(J(u),"autoWidth",void 0),te(J(u),"fixed",void 0),te(J(u),"sort",void 0),te(J(u),"align",void 0),te(J(u),"colSpan",void 0),te(J(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new sl(i==null?void 0:i.autoWidth),u.dataBind=new ge(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);te(W,"Rules",_e);var zl=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),te(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Zu.call(J(u),i),u}return n}(_e);function ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function I0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function S0(t,e){return e&&(A0(e)==="object"||typeof e=="function")?e:ba(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function A0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function R0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function B0(t){var e=R0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return S0(this,u)}}var Z=function(t){I0(n,t);var e=B0(n);function n(i){E0(this,n);var u;return u=e.call(this,i),Gl(ba(u),"controlType","column"),Gl(ba(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}($);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function D0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wa(t,e)}function P0(t,e){return e&&(x0(e)==="object"||typeof e=="function")?e:Ca(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function x0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function F0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function k0(t){var e=F0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return P0(this,u)}}var Y=function(t){D0(n,t);var e=k0(n);function n(i){T0(this,n);var u;return u=e.call(this,i),Ql(Ca(u),"controlType","column"),Ql(Ca(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}(X);function Xl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function $0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function L0(t,e){return e&&(N0(e)==="object"||typeof e=="function")?e:Xl(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function N0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function H0(t){var e=V0();return function(){var i=oi(t),u;if(e){var a=oi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return L0(this,u)}}var Ia=function(t){$0(n,t);var e=H0(n);function n(i){O0(this,n);var u;return u=e.call(this,i),M0(Xl(u),"dataBind",void 0),u.dataBind=new ge(i==null?void 0:i.dataBind),u}return n}(H);function Sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function q0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}function U0(t,e){return e&&(W0(e)==="object"||typeof e=="function")?e:Sa(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function W0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function K0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function z0(t){var e=K0();return function(){var i=ci(t),u;if(e){var a=ci(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return U0(this,u)}}var G0=function(t){q0(n,t);var e=z0(n);function n(i){j0(this,n);var u;return u=e.call(this,i),Jl(Sa(u),"controlType","search"),Jl(Sa(u),"props",void 0),u.props=new Ia(i==null?void 0:i.props),u}return n}(q);function Ra(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function X0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ba(t,e)}function J0(t,e){return e&&(Z0(e)==="object"||typeof e=="function")?e:Ra(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function Z0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function p0(t){var e=Y0();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return J0(this,u)}}var eb=function(t){X0(n,t);var e=p0(n);function n(i){Q0(this,n);var u;return u=e.call(this,i),Zl(Ra(u),"controlType","search"),Zl(Ra(u),"props",void 0),u.props=new Ia(i==null?void 0:i.props),u}return n}(U);function tb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function ib(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function ub(t,e){return e&&(ab(e)==="object"||typeof e=="function")?e:tb(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function ab(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function lb(t){var e=rb();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ub(this,u)}}var Da=function(t){ib(n,t);var e=lb(n);function n(i){return nb(this,n),e.call(this,i)}return n}(H);function Pa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ob(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function cb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xa(t,e)}function sb(t,e){return e&&(db(e)==="object"||typeof e=="function")?e:Pa(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function db(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function hb(t){var e=fb();return function(){var i=fi(t),u;if(e){var a=fi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return sb(this,u)}}var yb=function(t){cb(n,t);var e=hb(n);function n(i){ob(this,n);var u;return u=e.call(this,i),Yl(Pa(u),"controlType","wrap"),Yl(Pa(u),"props",void 0),u.props=new Da(i==null?void 0:i.props),u}return n}(q);function Fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function vb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ka(t,e)}function gb(t,e){return e&&(bb(e)==="object"||typeof e=="function")?e:Fa(t)}function ka(t,e){return ka=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ka(t,e)}function bb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _b(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Cb(t){var e=_b();return function(){var i=hi(t),u;if(e){var a=hi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return gb(this,u)}}var wb=function(t){vb(n,t);var e=Cb(n);function n(i){mb(this,n);var u;return u=e.call(this,i),pl(Fa(u),"controlType","wrap"),pl(Fa(u),"props",void 0),u.props=new Da(i==null?void 0:i.props),u}return n}(U);function Le(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Oa extends G{constructor(e){var n,i,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57",this.align=(l=e==null?void 0:e.align)!=null?l:""}}class eo extends ${constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}eo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Eb extends X{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"text"}}var to={Designer:eo,Runtime:Eb,Property:Oa};class Ma extends G{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class $a extends ${constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}$a.controlEventKeys=["on_click"],$a.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Ib extends X{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"link"}}var no={Designer:$a,Runtime:Ib,Property:Ma};class ie extends G{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new tv((d=e==null?void 0:e.optObj)!=null?d:{})}}class ue extends ${constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ce extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var io={Designer:ue,Runtime:ce,Property:ie},Ne=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Ne||{}),uo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(uo||{}),ao=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(ao||{});class yi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var La=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(La||{});class mi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Na=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Na||{});class Va{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Ft((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new Ft((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new Ft((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class ro{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Va(c)))!=null?u:[new Va],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Ha{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class ja{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class lo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new ja(e==null?void 0:e.watermark),this.autoRename=new ja(e==null?void 0:e.autoRename)}}const oo=480;function Nt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class co{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class so{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var fo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(fo||{}),qa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(qa||{}),vi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(vi||{}),Ve=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Ve||{}),Ua=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ua||{});class Wa extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Na.SOLID}}class ho extends ${constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}ho.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Sb extends X{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var yo={Designer:ho,Runtime:Sb,Property:Wa};class Ab extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Ne.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class gi extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new ge(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ne.ShowSubmitUser,Ne.ShowSubmitDept,Ne.ShowSubmitTime,Ne.ShowCurrentApprovar,Ne.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:bt==null?void 0:bt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}gi.Rules=Ab;class bt extends ${constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}bt.controlFieldType=b.AUTO_NUMBER,bt.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Rb extends X{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"title"}}var mo={Designer:bt,Runtime:Rb,Property:gi};class Bb extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class bi extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Vt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}bi.Rules=Bb;class Vt extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Tb extends ce{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var vo={Designer:Vt,Runtime:Tb,Property:bi};class Db extends z{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class _i extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ht.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}_i.Rules=Db;class Ht extends ue{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Pb extends ce{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var go={Designer:Ht,Runtime:Pb,Property:_i};class Ka extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon}}class jt extends ue{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}jt.controlEventKeys=["on_click"],jt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class xb extends ce{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var bo={Designer:jt,Runtime:xb,Property:Ka};class za extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:qt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Ha(l)))!=null?r:[new Ha({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class qt extends ue{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Fb extends ce{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var _o={Designer:qt,Runtime:Fb,Property:za};class Ga extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon}}class Ut extends ue{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Ut.controlEventKeys=["on_click"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class kb extends ce{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Co={Designer:Ut,Runtime:kb,Property:Ga};class Ob{constructor(e){this.dataCode=e.dataCode}}class Qa extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new Ob(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Wt extends ue{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class Mb extends ce{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var wo={Designer:Wt,Runtime:Mb,Property:Qa};function Ci(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class $b extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Be({},Ci())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Be({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ci())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class wi extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Kt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new ml(e==null?void 0:e.fillPayload),this.formBind=new Lm(e==null?void 0:e.formBind),this.fillBack=new vl(e==null?void 0:e.fillBack)}}wi.Rules=$b;class Kt extends ue{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Kt.controlEventKeys=["on_click","on_click_finish"],Kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Lb extends ce{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Eo={Designer:Kt,Runtime:Lb,Property:wi};class Nb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Be({},Ci())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Be({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ci())}}}class Ei extends ie{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new ml(e==null?void 0:e.fillPayload),this.listPageBind=new Fu(e==null?void 0:e.listPageBind),this.fillBack=new vl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}Ei.Rules=Nb;class zt extends ue{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Vb extends ce{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Io={Designer:zt,Runtime:Vb,Property:Ei};class Hb extends z{constructor(e){super(e)}}class jb extends Ue{constructor(e){super(e)}}class Gt extends G{constructor(e){super(e)}}Gt.Rules=Hb,Gt.RuntimeRules=jb;class So extends ${constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}So.setting=[];class qb extends X{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Ao={Designer:So,Runtime:qb,Property:Gt};class Ub extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ii extends G{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Ii.Rules=Ub;class Ro extends ${constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ro.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Wb extends X{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Bo={Designer:Ro,Runtime:Wb,Property:Ii};class Kb extends z{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Si extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new pm(a)))!=null?u:[]}}Si.Rules=Kb;class To extends ${constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}To.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class zb extends X{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Do={Designer:To,Runtime:zb,Property:Si};class Gb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ai extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_t.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:_t.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:_t.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ae(g)))!=null?m:[]}}Ai.Rules=Gb;class _t extends ue{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Qb extends ce{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Po={Designer:_t,Runtime:Qb,Property:Ai};class Xb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ri extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ct.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Ct.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ae(g)))!=null?m:[]}}Ri.Rules=Xb;class Ct extends ue{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Jb extends ce{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var xo={Designer:Ct,Runtime:Jb,Property:Ri};class Zb extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Bi extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Qt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new co(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Bi.Rules=Zb;class Qt extends ue{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Qt.controlEventKeys=["on_click","on_click_finish"],Qt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Yb extends ce{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Fo={Designer:Qt,Runtime:Yb,Property:Bi};class Xa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.controlIcon}}class Xt extends ue{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Xt.controlEventKeys=["on_click"],Xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class pb extends ce{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var ko={Designer:Xt,Runtime:pb,Property:Xa};class e_ extends z{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Ti extends G{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Ti.Rules=e_;class Di extends ${constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Di.controlEventKeys=["on_click"],Di.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class t_ extends X{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Oo={Designer:Di,Runtime:t_,Property:Ti};class Ja extends G{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Jt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Jt extends ${constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Jt.controlEventKeys=["on_click"],Jt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class n_ extends X{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Mo={Designer:Jt,Runtime:n_,Property:Ja},i_=Object.freeze({__proto__:null,Text:to,Link:no,Button:io,Divider:yo,Title:mo,CreateFormListButton:vo,BatchSubmissionListButton:go,SubmissionRecordListButton:bo,ExportListButton:_o,ExportRecordListButton:Co,ImportRecordListButton:wo,FormSelectButton:Eo,ListSelectButton:Io,Pagination:Ao,Dashboard:Bo,ListViewSelect:Do,TextOcrButton:Po,InvoiceCheckButton:xo,BatchPrintListButton:Fo,BatchPrintRecordListButton:ko,OperationButton:Oo,BatchDeleteButton:Mo});class u_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class a_ extends V{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new gl(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Et.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}wt.Rules=u_,wt.RuntimeRules=a_;class Et extends P{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Et.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Et.controlFieldType=b.VARCHAR,Et.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class $o extends x{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}$o.controlFieldType=b.VARCHAR;var Lo={Designer:Et,Runtime:$o,Property:wt};class r_ extends ht{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class l_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Zt extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Yt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new ae(_))}))}}Zt.Rules=r_,Zt.RuntimeRules=l_;class Yt extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=b.ARRAY,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class No extends x{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}No.controlFieldType=b.ARRAY;var Vo={Designer:Yt,Runtime:No,Property:Zt};class o_ extends ht{constructor(e){super(e)}}class Pi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:pt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var E;(E=this.multistageFilling)==null||E.push(new ae(C))}))}}Pi.Rules=o_;class pt extends P{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}pt.controlEventKeys=["on_change","on_click"],pt.controlFieldType=b.VARCHAR,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Ho extends x{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Ho.controlFieldType=b.VARCHAR;var jo={Designer:pt,Runtime:Ho,Property:Pi};class c_ extends ee{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class s_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class en extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:tn.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new gl(e==null?void 0:e.regularRules)}}en.Rules=c_,en.RuntimeRules=s_;class tn extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=b.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class qo extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"number"}}qo.controlFieldType=b.DECIMAL;var Uo={Designer:tn,Runtime:qo,Property:en};class Za extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:xi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(C=>new yi(C)))!=null?d:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class xi extends P{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}xi.controlFieldType=b.TIMESTAMP,xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wo extends x{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Wo.controlFieldType=b.TIMESTAMP;var Ko={Designer:xi,Runtime:Wo,Property:Za};class d_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Fi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.dataBind=new Qm(e==null?void 0:e.dataBind),this.defaultValue=new Xm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:ki.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(C=>new yi(C)))!=null?g:[]}}Fi.RuntimeRules=d_;class ki extends P{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}ki.controlFieldType=b.TIMESCOPE,ki.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zo extends x{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}zo.controlFieldType=b.TIMESCOPE;var Go={Designer:ki,Runtime:zo,Property:Fi};class f_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class h_ extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class nn extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:un.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4,this.autoSize=(c=e==null?void 0:e.autoSize)!=null?c:!1,this.maxRows=e==null?void 0:e.maxRows}}nn.Rules=f_,nn.RuntimeRules=h_;class un extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=b.TEXT,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Qo extends x{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Qo.controlFieldType=b.TEXT;var Xo={Designer:un,Runtime:Qo,Property:nn};class y_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class m_ extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class an extends D{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:rn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}an.Rules=y_,an.RuntimeRules=m_;class rn extends P{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=b.TEXT,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Jo extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Jo.controlFieldType=b.TEXT;var Zo={Designer:rn,Runtime:Jo,Property:an};class v_ extends ht{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Oi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Mi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var C;(C=this.multistageFilling)==null||C.push(new ae(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}Oi.Rules=v_;class Mi extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Mi.controlFieldType=b.VARCHAR,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Yo extends x{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"select"}}Yo.controlFieldType=b.VARCHAR;var po={Designer:Mi,Runtime:Yo,Property:Oi};class g_ extends ht{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class b_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ln extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:$i.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}ln.Rules=g_,ln.RuntimeRules=b_;class $i extends P{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}$i.controlFieldType=b.ARRAY,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class ec extends x{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ec.controlFieldType=b.ARRAY;var tc={Designer:$i,Runtime:ec,Property:ln};class __ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Li extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Ni.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))}))}}Li.RuntimeRules=__;class Ni extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ni.controlFieldType=b.EMPLOYEES,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class nc extends x{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"employee"}}nc.controlFieldType=b.EMPLOYEES;var ic={Designer:Ni,Runtime:nc,Property:Li};const C_=10485760,w_=104857600,E_=1048576e3;class I_ extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:E_,message:f.getMessage("attachmentMaxSize")}}}class S_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class It extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:w_,this.caption=(o=e==null?void 0:e.caption)!=null?o:St.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{}}}It.Rules=I_,It.RuntimeRules=S_;class St extends P{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}St.controlEventKeys=["on_change"],St.controlFieldType=b.FILE,St.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ya extends x{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ya.controlFieldType=b.FILE;var uc={Designer:St,Runtime:Ya,Property:It};const ac=class extends St{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:ac.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let pa=ac;pa.controlFieldType=b.IMAGE,pa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class A_ extends Ya{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class R_ extends It{constructor(e){super(e)}}var rc={Designer:pa,Runtime:A_,Property:R_};class B_ extends ht{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class T_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[kn(Be({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class on extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new zm(e==null?void 0:e.dataBind),this.datasourceBind=new p((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Ou({value:"name"})]}),this.defaultValue=new Gm((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:Nu.CNY}),this.options=Ee(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:cn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}on.Rules=B_,on.RuntimeRules=T_;class cn extends P{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],cn.controlFieldType=b.MONEY,cn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class lc extends x{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"amount"}}lc.controlFieldType=b.MONEY;var oc={Designer:cn,Runtime:lc,Property:on};class D_ extends ee{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class P_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class sn extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:La.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new mi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new mi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:dn.controlName}}sn.Rules=D_,sn.RuntimeRules=P_;class dn extends P{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new mi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}dn.controlEventKeys=["on_change","on_click"],dn.controlFieldType=b.DECIMAL,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cc extends x{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"score"}}cc.controlFieldType=b.DECIMAL;var sc={Designer:dn,Runtime:cc,Property:sn};class x_ extends V{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Vi extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new Jm((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}Vi.RuntimeRules=x_;class Hi extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Hi.controlFieldType=b.ADDRESS,Hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class dc extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}dc.controlFieldType=b.ADDRESS;var fc={Designer:Hi,Runtime:dc,Property:Vi};class F_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ji extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:fn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var E;(E=this.multistageFilling)==null||E.push(new ae(C))}))}}ji.RuntimeRules=F_;class fn extends P{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}fn.controlName="\u90E8\u95E8",fn.controlFieldType=b.DEPARTMENTS,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class hc extends x{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"department"}}hc.controlFieldType=b.DEPARTMENTS;var yc={Designer:fn,Runtime:hc,Property:ji};class er extends D{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:hn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class hn extends P{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}hn.controlEventKeys=["on_change"],hn.controlFieldType=b.AUTO_NUMBER,hn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class mc extends x{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}mc.controlFieldType=b.AUTO_NUMBER;var vc={Designer:hn,Runtime:mc,Property:er};class k_ extends ee{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class O_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class yn extends D{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Zm(e==null?void 0:e.dataBind),this.defaultValue=new Ym(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:mn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(o=e==null?void 0:e.calcOnMounted)!=null?o:!1}}yn.Rules=k_,yn.RuntimeRules=O_;class mn extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}mn.controlEventKeys=["on_change"],mn.controlFieldType=b.CALC,mn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class gc extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"calc"}}gc.controlFieldType=b.CALC;var bc={Designer:mn,Runtime:gc,Property:yn};class M_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class qi extends D{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ui.controlName}}qi.RuntimeRules=M_;class Ui extends P{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Ui.controlFieldType=b.DECIMAL_RANGE,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _c extends x{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}_c.controlFieldType=b.DECIMAL_RANGE;var Cc={Designer:Ui,Runtime:_c,Property:qi};class $_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Wi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Te.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:Ki.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new yi(E)))!=null?C:[]}}Wi.RuntimeRules=$_;class Ki extends P{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ki.controlFieldType=b.ARRAY,Ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class wc extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}wc.controlFieldType=b.ARRAY;var Ec={Designer:Ki,Runtime:wc,Property:Wi};class L_ extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class N_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class vn extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}vn.Rules=L_,vn.RuntimeRules=N_;class gn extends P{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}gn.controlFieldType=b.ANY,gn.controlEventKeys=[],gn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ic extends x{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ic.controlFieldType=b.ANY;var Sc={Designer:gn,Runtime:Ic,Property:vn};class V_ extends ht{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class zi extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Fu(e==null?void 0:e.listPageBind),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:bn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}zi.Rules=V_;class bn extends P{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}bn.controlFieldType=b.VARCHAR,bn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],bn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Ac extends x{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Ac.controlFieldType=b.VARCHAR;var Rc={Designer:bn,Runtime:Ac,Property:zi};class tr extends wt{constructor(e){super(e)}}class Bc extends Et{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Bc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Tc extends x{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Tc.controlFieldType=b.VARCHAR;var Dc={Designer:Bc,Runtime:Tc,Property:tr};class H_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Un.call(this,e,He.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class j_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class _n extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_,I,v,w,R,T;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new hl((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:He.controlCustomAttributes}),this.filterItemDatasourceBind=new hl((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:He.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(R=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(F=>new ae(F)))!=null?R:[],this.defaultValue=(T=e==null?void 0:e.defaultValue)!=null?T:[]}}_n.Rules=H_,_n.RuntimeRules=j_;class He extends P{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}He.controlEventKeys=["on_change","on_click"],He.controlFieldType=b.ARRAY,He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Pc extends x{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"tree"}}Pc.controlFieldType=b.ARRAY;var xc={Designer:He,Runtime:Pc,Property:_n};class q_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Un.call(this,e,At.controlCustomAttributes),e.externalType===Ve.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class U_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:At.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Vn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:At.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:qa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ua.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Ve.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var v;(v=this.multistageFilling)==null||v.push(new ae(I))}))}}Cn.Rules=q_,Cn.RuntimeRules=U_;class At extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}At.controlFieldType=b.EMPLOYEES,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Fc extends x{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Fc.controlFieldType=b.EMPLOYEES;var kc={Designer:At,Runtime:Fc,Property:Cn};class W_ extends ee{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&Au(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Au(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Gi extends D{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new ro(e==null?void 0:e.signatureConfig)}}Gi.Rules=W_;class wn extends P{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}wn.controlEventKeys=["on_click","on_click_finish"],wn.controlFieldType=b.VARCHAR,wn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Oc extends x{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Oc.controlFieldType=b.VARCHAR;var Mc={Designer:wn,Runtime:Oc,Property:Gi};class K_ extends ee{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class z_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:In.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:C_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new lo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}En.Rules=K_,En.RuntimeRules=z_;class In extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}In.controlEventKeys=["on_change","on_wps_open"],In.controlFieldType=b.FILE,In.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends x{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"wps"}}$c.controlFieldType=b.FILE;var Lc={Designer:In,Runtime:$c,Property:En};class G_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Un.call(this,e,Ke.controlCustomAttributes),e.businessType===Ve.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Q_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Sn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vi.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Ve.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var w;(w=this.multistageFilling)==null||w.push(new ae(v))}))}}Sn.Rules=G_,Sn.RuntimeRules=Q_;class Ke extends P{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ke.controlName="\u90E8\u95E8",Ke.controlFieldType=b.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Nc extends x{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Nc.controlFieldType=b.DEPARTMENTS;var Vc={Designer:Ke,Runtime:Nc,Property:Sn};class X_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Un.call(this,e,ze.controlCustomAttributes),e.businessType===Ve.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class J_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_,I,v,w,R;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Fu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ze.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new Wm((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vi.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Ve.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(w=e==null?void 0:e.showSelectedDetail)!=null?w:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(T=>{var F;(F=this.multistageFilling)==null||F.push(new ae(T))}))}}An.Rules=X_,An.RuntimeRules=J_;class ze extends P{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ze.controlName="\u4E1A\u52A1\u7EC4\u7EC7",ze.controlFieldType=b.DEPARTMENTS,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Hc extends x{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Hc.controlFieldType=b.DEPARTMENTS;var jc={Designer:ze,Runtime:Hc,Property:An},Z_=Object.freeze({__proto__:null,Input:Lo,Checkbox:Vo,Radio:jo,Number:Uo,DatePicker:Ko,DateRange:Go,Textarea:Xo,RichText:Zo,Select:po,SelectMultiple:tc,Employee:ic,Image:rc,Attachment:uc,Amount:oc,Score:sc,Address:fc,Department:yc,AutoNumber:vc,Calc:bc,SearchNumberRange:Cc,SearchDateRange:Ec,VueFormItem:Sc,SelectRelation:Rc,SearchInput:Dc,Tree:xc,Employee2:kc,ElectronicSignature:Mc,WPS:Lc,Department2:Vc,OrganizationSelection:jc});class qc extends q{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}qc.excludes=[S.GRID];class Y_ extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Uc={Designer:qc,Runtime:Y_,Property:H};const p_=24;class Ge extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:p_,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Rn extends q{constructor(e){super(e),this.props=new Ge(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Rn.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],Rn.childrenMaxLength=1;class nr extends U{constructor(e){super(e),this.props=new Ge(e==null?void 0:e.props)}static get controlType(){return"col"}}var Wc={Designer:Rn,Runtime:nr,Property:Ge};class Qi extends H{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Xi extends q{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Xi.excludes=[S.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class Kc extends U{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"row"}}var zc={Designer:Xi,Runtime:Kc,Property:Qi};const eC=4;class Ji extends Xi{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Ji.excludes=[S.GRID_ROW],Ji.setting=[],Ji.childrenMaxLength=eC;class tC extends Kc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class nC extends Qi{constructor(e){super(e)}}var Gc={Designer:Ji,Runtime:tC,Property:nC};class iC extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Zi extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}Zi.Rules=iC;class ir extends q{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ir.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ir.excludes=[S.CARD_GROUP];class uC extends U{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Qc={Designer:ir,Runtime:uC,Property:Zi};class aC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Yi extends H{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new Mm(e==null?void 0:e.metaAutoWidth)}}Yi.Rules=aC;class me extends q{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}me.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",me.controlType="subtable-column",me.controlIcon="subtable-column",me.childrenMaxLength=1,me.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Xc extends U{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}Xc.controlType="subtable-column";var Jc={Designer:me,Runtime:Xc,Property:Yi};class ur extends H{constructor(e){super(e)}}class Qe extends q{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}Qe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Qe.controlType="subtable-row",Qe.controlIcon="subtable-row",Qe.childrenMaxLength=1,Qe.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Qe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class rC extends U{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Zc={Designer:Qe,Runtime:rC,Property:ur};class ar extends H{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Te.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Xe extends q{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Xe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Yc extends U{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}Yc.controlType="gridtable-column";var pc={Designer:Xe,Runtime:Yc,Property:ar};class rr extends H{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class lr extends q{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}lr.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],lr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class lC extends U{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var es={Designer:lr,Runtime:lC,Property:rr};class or extends H{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class oC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class pi extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName}}pi.Rules=oC;class Bn extends q{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[S.TAB],Bn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class cC extends U{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ts={Designer:Bn,Runtime:cC,Property:pi};class Tn extends q{constructor(e){var n;super(e),this.props=new or(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Tn.excludes=[S.TAB],Tn.controlEventKeys=["on_change_tab"],Tn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class sC extends U{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ns={Designer:Tn,Runtime:sC,Property:or};class is extends H{constructor(e){super(e)}}class us extends q{constructor(e){super(e),this.props=new is({}),this.children=(e==null?void 0:e.children)||[new Rn({props:new Ge({span:12})}),new Rn({props:new Ge({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}us.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class dC extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new nr({props:new Ge({span:12})}),new nr({props:new Ge({span:12})})]}}var as={Designer:us,Runtime:dC,Property:is};class fC extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class hC extends z{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Zu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Dn extends H{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_,I,v,w,R;super(e),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Hm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new qm(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyleType=(E=e==null?void 0:e.rowStyleType)!=null?E:"none",this.rowStyleBgColor=(_=e==null?void 0:e.rowStyleBgColor)!=null?_:"theme",this.rowStyleRules=(e==null?void 0:e.rowStyleRules)&&Array.isArray(e==null?void 0:e.rowStyleRules)?(v=(I=e==null?void 0:e.rowStyleRules)==null?void 0:I.map(T=>new nv(T)))!=null?v:[]:[],this.rowStyleRulesScript=(e==null?void 0:e.rowStyleRulesScript)&&Array.isArray(e==null?void 0:e.rowStyleRulesScript)?(R=(w=e==null?void 0:e.rowStyleRulesScript)==null?void 0:w.map(T=>new iv(T)))!=null?R:[]:[]}}Dn.Rules=hC,Dn.RuntimeRules=fC;class eu extends q{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}eu.excludes=[S.ROW],eu.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],eu.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class yC extends U{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var rs={Designer:eu,Runtime:yC,Property:Dn};class mC extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class tu extends H{constructor(e){var n,i,u,a,r,l;super(e),this.save=new xe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new xe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new xe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new xe((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new xe(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind)}}tu.RuntimeRules=mC;class ls extends q{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ls.excludes=[];class vC extends U{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var os={Designer:ls,Runtime:vC,Property:tu};class gC extends q{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class bC extends U{static get controlType(){return"page"}constructor(e){super(e)}}class _C extends H{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var cs={Designer:gC,Runtime:bC,Property:_C};class CC extends q{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class wC extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class EC extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new so(e==null?void 0:e.flexConfig)}}var ss={Designer:CC,Runtime:wC,Property:EC};class IC extends q{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class SC extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class AC extends H{constructor(e){super(e)}}var ds={Designer:IC,Runtime:SC,Property:AC};class RC extends q{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class BC extends U{static get controlType(){return"position"}constructor(e){super(e)}}class TC extends H{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var fs={Designer:RC,Runtime:BC,Property:TC};class cr extends H{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class sr extends q{constructor(e){var n;super(e),this.props=new cr((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}sr.excludes=[],sr.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class DC extends U{constructor(e){var n;super(e),this.props=new cr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var hs={Designer:sr,Runtime:DC,Property:cr},PC=Object.freeze({__proto__:null,Grid:Uc,Col:Wc,Row:zc,GridRow:Gc,CardGroup:Qc,SubTableColumn:Jc,SubTableRow:Zc,GridTableColumn:pc,GridLayoutContainer:es,Tab:ns,TabPane:ts,Toolbox:as,ListView:rs,DataView:os,Page:cs,AdvancedContainer:ss,PositioningContainer:ds,Position:fs,ActionBar:hs});class xC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class FC extends Ue{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const ys=class extends ti{constructor(t,e){var n,i,u,a,r,l,c,o,d,m,g,C,E,_,I,v,w,R,T,F,se,k,de,xn,Ae,mu,Fn,Rt,Re,Vs,Hs;super(t,e,ys.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:nu.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(o=e==null?void 0:e.maxHeight)!=null?o:oo,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(_=e==null?void 0:e.canDelete)!=null?_:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(w=e==null?void 0:e.canImport)!=null?w:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(T=e==null?void 0:e.canClear)!=null?T:!0,this.serverPagination=(F=e==null?void 0:e.serverPagination)!=null?F:!1,this.isShowCaptionTip=(se=e==null?void 0:e.isShowCaptionTip)!=null?se:!1,this.captionTip=(k=e==null?void 0:e.captionTip)!=null?k:"",this.mobileShowType=(de=e==null?void 0:e.mobileShowType)!=null?de:"list",this.mobileDefaultNum=(xn=e==null?void 0:e.mobileDefaultNum)!=null?xn:10,this.dataStorageDoc=(Ae=e==null?void 0:e.dataStorageDoc)!=null?Ae:new $m,this.fixedColumn=(mu=e==null?void 0:e.fixedColumn)!=null?mu:[],this.mobileRowCaption=(Fn=e==null?void 0:e.mobileRowCaption)!=null?Fn:"\u660E\u7EC6",this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(Re=e==null?void 0:e.isPaste)!=null?Re:!1,this.pageSize=(Vs=e==null?void 0:e.pageSize)!=null?Vs:10,this.pageSizeOptions=(Hs=e==null?void 0:e.pageSizeOptions)!=null?Hs:[10,20,50,100]}};let Pn=ys;Pn.Rules=xC,Pn.RuntimeRules=FC;class nu extends da{constructor(e){var n,i;super(e),this.props=new Pn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new me,new me,new me]),((i=e==null?void 0:e.props)==null?void 0:i.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new me,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}nu.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],nu.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class kC extends Kl{constructor(e){super(e),this.props=new Pn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){xt("Method not implemented.")}getChildrenFormControl(){return[]}}var ms={Designer:nu,Runtime:kC,Property:Pn};class dr extends ti{constructor(e,n){var i,u,a,r,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class OC extends _e{constructor(e){super(e),this.caption.required=!1}}class iu extends W{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}iu.Rules=OC;class Je extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}Je.controlType="order-column",Je.controlName="\u5E8F\u53F7",Je.controlIcon="order-column",Je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class fr extends Y{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}fr.controlType="order-column",fr.controlFieldType=b.DECIMAL;var vs={Designer:Je,Runtime:fr,Property:iu};class hr extends W{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Se.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Se extends Z{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer")}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Di.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return kn(Be({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Lr(this,null,function*(){return yield $r(Se.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Se.controlType="operation-column",Se.controlName="\u64CD\u4F5C",Se.controlIcon="operation-column",Se.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class yr extends Y{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}yr.controlType="operation-column",yr.controlFieldType=b.FILE;var gs={Designer:Se,Runtime:yr,Property:hr};class uu extends da{constructor(e){var n;super(e),this.props=new dr(this,e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Je,new Se]),((n=e==null?void 0:e.props)==null?void 0:n.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return kn(Be({},e),{children:n})}validate(e,n){return Lr(this,null,function*(){return yield $r(uu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}uu.setting=[{key:"list-fixed-header",visible:!0}];class MC extends Kl{constructor(e){super(e),this.props=new dr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){xt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var bs={Designer:uu,Runtime:MC,Property:dr},$C=Object.freeze({__proto__:null,SubTable:ms,GridTable:bs});class LC extends zl{constructor(e){super(e),Le.call(this,e)}}class au extends W{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}au.Rules=LC;class Ze extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Ze.controlType="varchar-column",Ze.controlName="\u77ED\u6587\u672C",Ze.controlIcon="varchar-column",Ze.controlFieldType=b.VARCHAR,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class mr extends Y{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}mr.controlType="varchar-column",mr.controlFieldType=b.VARCHAR;var _s={Designer:Ze,Runtime:mr,Property:au};class NC extends _e{constructor(e){super(e),Le.call(this,e)}}class ru extends W{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ye.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}ru.Rules=NC;class Ye extends Z{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ye.controlType="text-column",Ye.controlName="\u957F\u6587\u672C",Ye.controlIcon="text-column",Ye.controlFieldType=b.TEXT,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class vr extends Y{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}vr.controlType="text-column",vr.controlFieldType=b.TEXT;var Cs={Designer:Ye,Runtime:vr,Property:ru};class VC extends _e{constructor(e){super(e),Le.call(this,e)}}class lu extends W{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Ee((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}lu.Rules=VC;class pe extends Z{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}pe.controlType="decimal-column",pe.controlName="\u6570\u503C",pe.controlIcon="decimal-column",pe.controlFieldType=b.DECIMAL,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class gr extends Y{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}gr.controlType="decimal-column",gr.controlFieldType=b.DECIMAL;var ws={Designer:pe,Runtime:gr,Property:lu};class HC extends _e{constructor(e){super(e),Le.call(this,e)}}class ou extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}ou.Rules=HC;class et extends Z{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}et.controlType="timescope-column",et.controlName="\u65E5\u671F\u533A\u95F4",et.controlIcon="timescope-column",et.controlFieldType=b.TIMESCOPE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class br extends Y{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}br.controlType="timescope-column",br.controlFieldType=b.TIMESCOPE;var Es={Designer:et,Runtime:br,Property:ou};class jC extends _e{constructor(e){super(e),Le.call(this,e)}}class cu extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:tt.controlName}}cu.Rules=jC;class tt extends Z{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}tt.controlType="timestamp-column",tt.controlName="\u65E5\u671F",tt.controlIcon="timestamp-column",tt.controlFieldType=b.TIMESTAMP,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class _r extends Y{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}_r.controlType="timestamp-column",_r.controlFieldType=b.TIMESTAMP;var Is={Designer:tt,Runtime:_r,Property:cu};class qC extends zl{constructor(e){super(e),Le.call(this,e)}}class su extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.options=Ee((a=e==null?void 0:e.options)!=null?a:[{}])}}su.Rules=qC;class nt extends Z{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}nt.controlType="array-column",nt.controlName="\u6570\u7EC4",nt.controlIcon="array-column",nt.controlFieldType=b.ARRAY,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Cr extends Y{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Cr.controlType="array-column",Cr.controlFieldType=b.ARRAY;var Ss={Designer:nt,Runtime:Cr,Property:su};class wr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class it extends Z{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}it.controlType="department-column",it.controlName="\u90E8\u95E8",it.controlIcon="department-column",it.controlFieldType=b.DEPARTMENTS,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Er extends Y{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Er.controlType="department-column",Er.controlFieldType=b.DEPARTMENTS;var As={Designer:it,Runtime:Er,Property:wr};class UC extends _e{constructor(e){super(e),Le.call(this,e)}}class du extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}du.Rules=UC;class ut extends Z{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}ut.controlType="auto-number-column",ut.controlName="\u81EA\u52A8\u7F16\u53F7",ut.controlIcon="auto-number-column",ut.controlFieldType=b.AUTO_NUMBER,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Ir extends Y{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Ir.controlType="auto-number-column",Ir.controlFieldType=b.AUTO_NUMBER;var Rs={Designer:ut,Runtime:Ir,Property:du};class Sr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends Z{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}at.controlType="file-column",at.controlName="\u9644\u4EF6",at.controlIcon="file-column",at.controlFieldType=b.FILE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ar extends Y{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Ar.controlType="file-column",Ar.controlFieldType=b.FILE;var Bs={Designer:at,Runtime:Ar,Property:Sr};class Rr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends Z{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}rt.controlType="image-column",rt.controlName="\u56FE\u7247",rt.controlIcon="image-column",rt.controlFieldType=b.IMAGE,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Br extends Y{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}Br.controlType="image-column",Br.controlFieldType=b.IMAGE;var Ts={Designer:rt,Runtime:Br,Property:Rr};class Tr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends Z{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}lt.controlType="people-column",lt.controlName="\u4EBA\u5458",lt.controlIcon="people-column",lt.controlFieldType=b.EMPLOYEES,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Dr extends Y{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}Dr.controlType="people-column",Dr.controlFieldType=b.EMPLOYEES;var Ds={Designer:lt,Runtime:Dr,Property:Tr};class WC extends _e{constructor(e){super(e),Le.call(this,e)}}class fu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}fu.Rules=WC;class ot extends Z{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}ot.controlType="location-column",ot.controlName="\u5730\u5740",ot.controlIcon="location-column",ot.controlFieldType=b.ADDRESS,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Pr extends Y{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Pr.controlType="location-column",Pr.controlFieldType=b.ADDRESS;var Ps={Designer:ot,Runtime:Pr,Property:fu};class KC extends _e{constructor(e){super(e),this.sortFieldCode={type:"string",message:f.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class hu extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}hu.Rules=KC;const zC=1;class je extends Z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new hu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=De(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return kn(Be({},e),{children:this.children.map(n=>n.toSchema())})}}je.controlType="custom-column",je.controlName="\u81EA\u5B9A\u4E49",je.controlIcon="custom-column",je.excludes=[],je.childrenMaxLength=zC,je.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class xs extends Y{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}xs.controlType="custom-column";var Fs={Designer:je,Runtime:xs,Property:hu};class xr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:qe.controlCustomAttributes})}}class qe extends Z{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}qe.controlType="employee-column",qe.controlName="\u4EBA\u5458",qe.controlIcon="employee-column",qe.controlFieldType=b.EMPLOYEES,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Fr extends Y{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}}Fr.controlType="employee-column",Fr.controlFieldType=b.EMPLOYEES;var ks={Designer:qe,Runtime:Fr,Property:xr};class kr extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ct extends Z{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}}ct.controlType="approval-status-column",ct.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ct.controlIcon="approval-status-column",ct.excludes=[],ct.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Os extends Y{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}}Os.controlType="approval-status-column";var Ms={Designer:ct,Runtime:Os,Property:kr},GC=Object.freeze({__proto__:null,VarcharColumn:_s,TextColumn:Cs,DecimalColumn:ws,TimescopeColumn:Es,TimestampColumn:Is,ArrayColumn:Ss,DepartmentColumn:As,AutoNumberColumn:Rs,FileColumn:Bs,ImageColumn:Ts,PeopleColumn:Ds,LocationColumn:Ps,CustomColumn:Fs,OrderColumn:vs,OperationColumn:gs,EmployeeColumn:ks,ApprovalStatusColumn:Ms});class QC extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class yu extends Ia{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new xe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new xe((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(g=>new xe(g)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24}}yu.RuntimeRules=QC;class Or extends G0{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Or.controlType="simple-search",Or.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class $s extends eb{constructor(e){var n;super(e),this.props=new yu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}$s.controlType="simple-search";var Ls={Designer:Or,Runtime:$s,Property:yu},XC=Object.freeze({__proto__:null,SimpleSearch:Ls});class Mr extends Da{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class JC extends yb{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class ZC extends wb{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function lw(t){return t}var YC={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Ns={Designer:JC,Runtime:ZC,Property:Mr,Setting:YC},pC=Object.freeze({__proto__:null,GridLayoutWrap:Ns});y.ActionBar=hs,y.Address=fc,y.AdvancedContainer=ss,y.Amount=oc,y.ApprovalStatusColumn=Ms,y.ArrayColumn=Ss,y.AssignType=Ve,y.Attachment=uc,y.AutoNumber=vc,y.AutoNumberColumn=Rs,y.BatchDeleteButton=Mo,y.BatchPrintListButton=Fo,y.BatchPrintRecordListButton=ko,y.BatchSubmissionListButton=go,y.Button=io,y.Calc=bc,y.CardGroup=Qc,y.Checkbox=Vo,y.Col=Wc,y.CreateFormListButton=vo,y.CustomColumn=Fs,y.DATE_CONFIG_TYPE=uo,y.DATE_LIMIT_TYPE=ao,y.Dashboard=Bo,y.DataView=os,y.DatePicker=Ko,y.DateRange=Go,y.DecimalColumn=ws,y.Department=yc,y.Department2=Vc,y.DepartmentColumn=As,y.DepartmentType=vi,y.Divider=yo,y.ElectronicSignature=Mc,y.ElectronicSignatureConfig=ro,y.Employee=ic,y.Employee2=kc,y.EmployeeColumn=ks,y.EncryptTypeEnum=fo,y.Explain=mi,y.ExportListButton=_o,y.ExportRecordListButton=Co,y.ExportTemplate=Ha,y.FileColumn=Bs,y.FlexStyleConfig=so,y.FormSelectButton=Eo,y.Grid=Uc,y.GridLayoutContainer=es,y.GridLayoutWrap=Ns,y.GridRow=Gc,y.GridTable=bs,y.GridTableColumn=pc,y.Image=rc,y.ImageColumn=Ts,y.ImportRecordListButton=wo,y.Input=Lo,y.InternalType=Ua,y.InvoiceCheckButton=xo,y.LINE_STYLE=Na,y.LimitDate=yi,y.Link=no,y.ListSelectButton=Io,y.ListView=rs,y.ListViewSelect=Do,y.LocationColumn=Ps,y.Number=Uo,y.OperationButton=Oo,y.OperationColumn=gs,y.OrderColumn=vs,y.OrganizationSelection=jc,y.OrganizeType=qa,y.Page=cs,y.Pagination=Ao,y.PeopleColumn=Ds,y.Position=fs,y.PositioningContainer=ds,y.PrintTemplate=co,y.Radio=jo,y.RichText=Zo,y.Row=zc,y.SCORE_TYPE=La,y.SUBTABLE_DEFAULT_MAX_HEIGHT=oo,y.Score=sc,y.SearchDateRange=Ec,y.SearchInput=Dc,y.SearchNumberRange=Cc,y.Select=po,y.SelectMultiple=tc,y.SelectRelation=Rc,y.SimpleSearch=Ls,y.SubTable=ms,y.SubTableColumn=Jc,y.SubTableRow=Zc,y.SubmissionRecordListButton=bo,y.Tab=ns,y.TabPane=ts,y.Text=to,y.TextColumn=Cs,y.TextOcrButton=Po,y.Textarea=Xo,y.TimescopeColumn=Es,y.TimestampColumn=Is,y.Title=mo,y.TitleConfigEnum=Ne,y.Toolbox=as,y.Tree=xc,y.UndersignedPerson=Va,y.VarcharColumn=_s,y.VueFormItem=Sc,y.WPS=Lc,y.WPSSetting=lo,y.WpsOperationItem=ja,y.baseControls=i_,y.columnControls=GC,y.formControls=Z_,y.initExpression=Nt,y.layoutControls=PC,y.listControls=$C,y.searchControls=XC,y.wrapControls=pC,Object.defineProperty(y,"__esModule",{value:!0})});
|
|
1
|
+
var lC=Object.defineProperty,oC=Object.defineProperties;var cC=Object.getOwnPropertyDescriptors;var Us=Object.getOwnPropertySymbols,sC=Object.getPrototypeOf,dC=Object.prototype.hasOwnProperty,fC=Object.prototype.propertyIsEnumerable,hC=Reflect.get;var Ws=(y,H,K)=>H in y?lC(y,H,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[H]=K,ct=(y,H)=>{for(var K in H||(H={}))dC.call(H,K)&&Ws(y,K,H[K]);if(Us)for(var K of Us(H))fC.call(H,K)&&Ws(y,K,H[K]);return y},Nr=(y,H)=>oC(y,cC(H));var Vr=(y,H,K)=>hC(sC(y),K,H);var jr=(y,H,K)=>new Promise((_u,$n)=>{var wu=we=>{try{Tt(K.next(we))}catch(Dt){$n(Dt)}},Cu=we=>{try{Tt(K.throw(we))}catch(Dt){$n(Dt)}},Tt=we=>we.done?_u(we.value):Promise.resolve(we.value).then(wu,Cu);Tt((K=K.apply(y,H)).next())});(function(y,H){typeof exports=="object"&&typeof module!="undefined"?H(exports):typeof define=="function"&&define.amd?define(["exports"],H):(y=typeof globalThis!="undefined"?globalThis:y||self,H(y.modelDrivenControls={}))})(this,function(y){"use strict";var H="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",_u="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",$n="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",wu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Cu="{caption}\u5FC5\u586B",Tt="\u8BF7\u8F93\u5165\u6807\u9898",we="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Dt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Ks="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",zs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Gs="\u8BF7\u7ED1\u5B9A\u8868\u5355",Qs="\u8BF7\u7ED1\u5B9A\u5217\u8868",Xs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Js="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Zs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ys="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ps="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ed="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",td="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",nd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",id="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ud="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ad="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",rd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ld="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",od="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",cd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",sd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",dd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",fd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",hd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",yd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",md="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",vd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",gd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",bd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",_d="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",wd="\u8BF7\u9009\u62E9\u7701",Cd="\u8BF7\u9009\u62E9\u5E02",Ed="\u8BF7\u9009\u62E9\u533A",Id="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Sd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ad="\u8BF7\u8F93\u5165\u5217\u5BBD",Rd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Bd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Td="\u8BF7\u9009\u62E9\u63A7\u4EF6",Dd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Pd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",xd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Fd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Od="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",$d="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ld="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Nd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Hd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ud="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Wd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Kd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",zd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Gd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Qd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Xd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Jd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Zd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Yd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",pd="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",ef="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",tf="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",nf={isNotNumber:H,isNotString:K,isNotObject:_u,isNotArray:$n,isNotBoolean:wu,runtimeRequired:Cu,pleaseEnterCaption:Tt,pleaseEnterCaptionTip:we,pleaseEnterRowCaption:Dt,pleaseEnterPlaceholder:Ks,pleaseEnterFieldCode:zs,pleaseEnterForm:Gs,pleaseEnterList:Qs,pleaseEnterProcess:Xs,pleaseEnterLabel:Js,pleaseEnterValue:Zs,bizKeyNotBindFiled:Ys,pleaseSelectOneField:ps,pleaseEnterNumberRange:ed,pleaseEnterAValueGreaterThanMin:td,pleaseEnterAValueLessThanMax:nd,numberRangeSetError:id,stringRangeError:ud,attachmentMaxSize:ad,pleaseEnterTotalScoreSetting:rd,theTotalScoreMustNotBeLessThan1:ld,scoreDefaultValueRange:od,attachmentLimitError:cd,PleaseReselectTheOptionalQuantity:sd,TheMaximumLengthIsGreaterThanTheMinimumLength:dd,TheMinimumLengthIsGreaterThanTheMaximumLength:fd,PleaseSelectTheCorrectOptionSettings:hd,optionIdIsRepeat:yd,optionIsRequired:md,pleaseEnterDataCode:vd,pleaseEnterValueFieldCode:gd,pleaseEnterSvcCode:bd,pleaseBindAtLeastOneDisplayValue:_d,pleaseSelectProvince:wd,pleaseSelectCity:Cd,pleaseSelectDistrict:Ed,limitRowsCannotBeLessThan0:Id,TheNumberOfRowsCannotBeLessThanMinRows:Sd,pleaseEnterColumnWidth:Ad,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Rd,pleaseCompleteAllRulesAndConditions:Bd,pleaseSelectControl:Td,pleaseSelectAtLeastOneColumn:Dd,pleaseSelectFillBackMode:Pd,pleaseSelectDashboard:xd,rootNodeIsRequired:Fd,theViewNameCannotBeEmpty:Od,pleaseSelectOcrType:kd,pleaseSelectAtLeastOneFieldToFillIn:Md,pleaseChooseAtLeastOne:$d,pleaseEnterButtonContent:Ld,pleaseEnterDataCodeInDataSetting:Nd,pleaseEnterValueFieldCodeInDataSetting:Vd,pleaseEnterSvcCodeInDataSetting:jd,pleaseBindAtLeastOneDisplayValueInDataSetting:Hd,rootNodeIsRequiredInDataSetting:qd,pleaseEnterMaxHeight:Ud,pleaseEnter:Wd,pleaseEnterWatermark:Kd,pleaseEnterFileName:zd,pleaseUploadAtLeastOnePrintTemplate:Gd,pleaseAssignBusiness:Qd,pleaseAssignExternal:Xd,pleaseEnterAliasCode:Jd,pleaseSelectDataCode:Zd,pleaseSelectSvcCode:Yd,pleaseSelectJoinFieldCode:pd,pleaseSelectMainFieldCode:ef,pleaseSelectSortFieldCode:tf},uf="Please enter a number",af="Please enter a string",rf="Please enter an object",lf="Please enter an array",of="Please enter a boolean",cf="{caption} Required",sf="Please enter the title",df="Please enter the bubble prompt",ff="Please enter the row title",hf="Please enter the prompt text",yf="Please bind data items",mf="Please bind the form",vf="Please bind the list",gf="Please bind the process",bf="Please enter the displayed value",_f="Please enter the stored value",wf="The document number is not bound to the data item",Cf="Please select at least one display field",Ef="Please enter a value greater than or equal to {min} and less than or equal to {max}",If="Please enter a value greater than or equal to {min}",Sf="Please enter a value less than or equal to {max}",Af="The value range is set incorrectly",Rf="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Bf="The attachment size must be between 0MB and 1000MB",Tf="Please fill in the total score setting",Df="The total score cannot be less than 1",Pf="The default value must be between {min} and {max}",xf="The number of attachments uploaded must be between {min} and {max}",Ff="Please re-select the optional quantity",Of="The maximum length of the control must be greater than the minimum length",kf="The minimum length of the control must be less than the maximum length",Mf="Please select the correct option setting",$f="Option ID cannot be repeated",Lf="Please enter at least one option",Nf="Please bind the data source",Vf="Please bind the stored value",jf="Please bind the service",Hf="At least one display value must be bound",qf="Please select a province",Uf="Please select a city",Wf="Please select a district",Kf="The minimum number of lines to fill in cannot be less than 0",zf="The number of rows cannot be less than {min} rows",Gf="Please enter the column width",Qf="Please set the logical relationship of all rule conditions",Xf="Please complete all rules and conditions",Jf="please select control",Zf="Please select the dashboard",Yf="View name cannot be empty",pf="Please select recognition type",eh="Please select at least one field to fill in",th="Please select at least one",nh="Please enter the button title",ih="Please bind the business model in the data settings",uh="Please bind storage values in data settings",ah="Please bind the service in the data settings",rh="Please bind at least one display value in the data settings",lh="Please select the root node in the data settings",oh="Please enter the maximum height",ch="The input content cannot be empty",sh="Watermark cannot be empty",dh="File name cannot be empty",fh="Please upload at least one printing template!\uFF01",hh="Please select a specific business department",yh="Please select a specified external organization",mh="Please enter a sub table alias",vh="Please select the associated table to set the business model",gh="Please select the association table to set the binding service",bh="Select associated sub table fields",_h="Please select the associated main table field",wh="Please select the sort field",Ch={isNotNumber:uf,isNotString:af,isNotObject:rf,isNotArray:lf,isNotBoolean:of,runtimeRequired:cf,pleaseEnterCaption:sf,pleaseEnterCaptionTip:df,pleaseEnterRowCaption:ff,pleaseEnterPlaceholder:hf,pleaseEnterFieldCode:yf,pleaseEnterForm:mf,pleaseEnterList:vf,pleaseEnterProcess:gf,pleaseEnterLabel:bf,pleaseEnterValue:_f,bizKeyNotBindFiled:wf,pleaseSelectOneField:Cf,pleaseEnterNumberRange:Ef,pleaseEnterAValueGreaterThanMin:If,pleaseEnterAValueLessThanMax:Sf,numberRangeSetError:Af,stringRangeError:Rf,attachmentMaxSize:Bf,pleaseEnterTotalScoreSetting:Tf,theTotalScoreMustNotBeLessThan1:Df,scoreDefaultValueRange:Pf,attachmentLimitError:xf,PleaseReselectTheOptionalQuantity:Ff,TheMaximumLengthIsGreaterThanTheMinimumLength:Of,TheMinimumLengthIsGreaterThanTheMaximumLength:kf,PleaseSelectTheCorrectOptionSettings:Mf,optionIdIsRepeat:$f,optionIsRequired:Lf,pleaseEnterDataCode:Nf,pleaseEnterValueFieldCode:Vf,pleaseEnterSvcCode:jf,pleaseBindAtLeastOneDisplayValue:Hf,pleaseSelectProvince:qf,pleaseSelectCity:Uf,pleaseSelectDistrict:Wf,limitRowsCannotBeLessThan0:Kf,TheNumberOfRowsCannotBeLessThanMinRows:zf,pleaseEnterColumnWidth:Gf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Qf,pleaseCompleteAllRulesAndConditions:Xf,pleaseSelectControl:Jf,pleaseSelectDashboard:Zf,theViewNameCannotBeEmpty:Yf,pleaseSelectOcrType:pf,pleaseSelectAtLeastOneFieldToFillIn:eh,pleaseChooseAtLeastOne:th,pleaseEnterButtonContent:nh,pleaseEnterDataCodeInDataSetting:ih,pleaseEnterValueFieldCodeInDataSetting:uh,pleaseEnterSvcCodeInDataSetting:ah,pleaseBindAtLeastOneDisplayValueInDataSetting:rh,rootNodeIsRequiredInDataSetting:lh,pleaseEnterMaxHeight:oh,pleaseEnter:ch,pleaseEnterWatermark:sh,pleaseEnterFileName:dh,pleaseUploadAtLeastOnePrintTemplate:fh,pleaseAssignBusiness:hh,pleaseAssignExternal:yh,pleaseEnterAliasCode:mh,pleaseSelectDataCode:vh,pleaseSelectSvcCode:gh,pleaseSelectJoinFieldCode:bh,pleaseSelectMainFieldCode:_h,pleaseSelectSortFieldCode:wh},Eh="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ih="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ah="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bh="{caption}\u5FC5\u9808",Th="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ph="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Oh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$h="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Vh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Wh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",zh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Gh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Jh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zh="\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",Yh="\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",ph="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ey="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ty="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ny="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",iy="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uy="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ay="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ry="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ly="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oy="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cy="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",sy="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",dy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fy="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",yy="please select control",my="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vy="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gy="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",by="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_y="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wy="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ey="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Iy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ay="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ry="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",By="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ty="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Dy="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Py="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",xy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Oy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ky="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",My="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$y="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ly="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ny="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Vy={isNotNumber:Eh,isNotString:Ih,isNotObject:Sh,isNotArray:Ah,isNotBoolean:Rh,runtimeRequired:Bh,pleaseEnterCaption:Th,pleaseEnterCaptionTip:Dh,pleaseEnterRowCaption:Ph,pleaseEnterPlaceholder:xh,pleaseEnterFieldCode:Fh,pleaseEnterForm:Oh,pleaseEnterList:kh,pleaseEnterProcess:Mh,pleaseEnterLabel:$h,pleaseEnterValue:Lh,bizKeyNotBindFiled:Nh,pleaseSelectOneField:Vh,pleaseEnterNumberRange:jh,pleaseEnterAValueGreaterThanMin:Hh,pleaseEnterAValueLessThanMax:qh,numberRangeSetError:Uh,stringRangeError:Wh,attachmentMaxSize:Kh,pleaseEnterTotalScoreSetting:zh,theTotalScoreMustNotBeLessThan1:Gh,scoreDefaultValueRange:Qh,attachmentLimitError:Xh,PleaseReselectTheOptionalQuantity:Jh,TheMaximumLengthIsGreaterThanTheMinimumLength:Zh,TheMinimumLengthIsGreaterThanTheMaximumLength:Yh,PleaseSelectTheCorrectOptionSettings:ph,optionIdIsRepeat:ey,optionIsRequired:ty,pleaseEnterDataCode:ny,pleaseEnterValueFieldCode:iy,pleaseEnterSvcCode:uy,pleaseBindAtLeastOneDisplayValue:ay,pleaseSelectProvince:ry,pleaseSelectCity:ly,pleaseSelectDistrict:oy,limitRowsCannotBeLessThan0:cy,TheNumberOfRowsCannotBeLessThanMinRows:sy,pleaseEnterColumnWidth:dy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fy,pleaseCompleteAllRulesAndConditions:hy,pleaseSelectControl:yy,pleaseSelectDashboard:my,theViewNameCannotBeEmpty:vy,pleaseSelectOcrType:gy,pleaseSelectAtLeastOneFieldToFillIn:by,pleaseChooseAtLeastOne:_y,pleaseEnterButtonContent:wy,pleaseEnterDataCodeInDataSetting:Cy,pleaseEnterValueFieldCodeInDataSetting:Ey,pleaseEnterSvcCodeInDataSetting:Iy,pleaseBindAtLeastOneDisplayValueInDataSetting:Sy,rootNodeIsRequiredInDataSetting:Ay,pleaseEnterMaxHeight:Ry,pleaseEnter:By,pleaseEnterWatermark:Ty,pleaseEnterFileName:Dy,pleaseUploadAtLeastOnePrintTemplate:Py,pleaseAssignBusiness:xy,pleaseAssignExternal:Fy,pleaseEnterAliasCode:Oy,pleaseSelectDataCode:ky,pleaseSelectSvcCode:My,pleaseSelectJoinFieldCode:$y,pleaseSelectMainFieldCode:Ly,pleaseSelectSortFieldCode:Ny},jy={zhCN:nf,enUS:Ch,jaJP:Vy},Hr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Hr||(Hr={}));var qr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(qr||(qr={}));var Hy="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var st;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(st||(st={}));var Ur;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Ur||(Ur={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap"})(S||(S={}));var Wr;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Wr||(Wr={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(b||(b={}));var ne;ne={},re(ne,"array","array-column"),re(ne,"auto_number","auto-number-column"),re(ne,"decimal","decimal-column"),re(ne,"department","department-column"),re(ne,"file","file-column"),re(ne,"image","image-column"),re(ne,"location","location-column"),re(ne,"people","employee-column"),re(ne,"text","text-column"),re(ne,"timescope","timescope-column"),re(ne,"timestamp","timestamp-column"),re(ne,"varchar","varchar-column"),re(ne,"relation","varchar-column");var Be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Be||(Be={}));var Kr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",qy=Kr+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Kr:qy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Eu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Uy(t){if(Array.isArray(t))return Eu(t)}function Wy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return Xr()?Ln=Reflect.construct:Ln=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&xt(o,r.prototype),o},Ln.apply(null,arguments)}function Pt(t){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pt(t)}function Gr(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&&xt(t,e)}function Ky(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function zy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Qy(t,e){return e&&(Xy(e)==="object"||typeof e=="function")?e:Wy(t)}function xt(t,e){return xt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xt(t,e)}function Qr(t){return Uy(t)||zy(t)||Jy(t)||Gy()}function Xy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jy(t,e){if(!!t){if(typeof t=="string")return Eu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Eu(t,e)}}function Iu(t){var e=typeof Map=="function"?new Map:void 0;return Iu=function(i){if(i===null||!Ky(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Pt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),xt(u,i)},Iu(t)}function Xr(){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 Jr(t){var e=Xr();return function(){var i=Pt(t),u;if(e){var a=Pt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Qy(this,u)}}var Su=console;function Au(){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=Su).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Qr(u)))}function Zr(){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=Su).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Qr(u)))}function Zy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ru=function(t){Gr(n,t);var e=Jr(n);function n(i){zr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Zy(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Iu(Error)),Yy=function(t){Gr(n,t);var e=Jr(n);function n(i){zr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Ru);function Ft(t){throw new Ru(t)}function Yr(t){throw new Yy(t)}function py(t){Su.error(new Ru(t))}var em=Object.prototype.toString;function pr(t,e){return em.call(t)==="[object "+e+"]"}function tm(t){return pr(t,"String")}function nm(t){return pr(t,"Promise")}var im=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();nm(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&&!tm(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 um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function el(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function am(t,e,n){return e&&el(t.prototype,e),n&&el(t,n),t}function rm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){um(this,t)}return am(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hy;return new im({locale:n,messages:jy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();rm(f,"$i18n",f.resetI18n());function lm(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)){Au("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 om=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},cm={exports:{}};(function(t){(function(e){var n=function(v,C,R){if(!o(C)||m(C)||g(C)||w(C)||c(C))return C;var T,F=0,se=0;if(d(C))for(T=[],se=C.length;F<se;F++)T.push(n(v,C[F],R));else{T={};for(var O in C)Object.prototype.hasOwnProperty.call(C,O)&&(T[v(O,R)]=n(v,C[O],R))}return T},i=function(v,C){C=C||{};var R=C.separator||"_",T=C.split||/(?=[A-Z])/;return v.split(T).join(R)},u=function(v){return E(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(C,R){return R?R.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var C=u(v);return C.substr(0,1).toUpperCase()+C.substr(1)},r=function(v,C){return i(v,C).toLowerCase()},l=Object.prototype.toString,c=function(v){return typeof v=="function"},o=function(v){return v===Object(v)},d=function(v){return l.call(v)=="[object Array]"},m=function(v){return l.call(v)=="[object Date]"},g=function(v){return l.call(v)=="[object RegExp]"},w=function(v){return l.call(v)=="[object Boolean]"},E=function(v){return v=v-0,v===v},_=function(v,C){var R=C&&"process"in C?C.process:C;return typeof R!="function"?v:function(T,F){return R(T,v,F)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(v,C){return n(_(u,C),v)},decamelizeKeys:function(v,C){return n(_(r,C),v,C)},pascalizeKeys:function(v,C){return n(_(a,C),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(om)})(cm);var tl={};Object.defineProperty(tl,"__esModule",{value:!0});function Bu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Bu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Bu(i)}return e}}var sm=tl.default=Bu;function Te(t){if(t!==void 0)return typeof t=="object"?sm(t):t}function dm(t){return Object.prototype.toString.call(t)==="[object Object]"}function Tu(t){return Array.isArray(t)}function fm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}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 hm(t){if(Array.isArray(t))return Du(t)}function nl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function ym(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){nl(a,i,u,r,l,"next",c)}function l(c){nl(a,i,u,r,l,"throw",c)}r(void 0)})}}function mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function vm(t,e,n){return e&&il(t.prototype,e),n&&il(t,n),t}function ul(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pu(t){return hm(t)||gm(t)||_m(t)||bm()}function _m(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 wm(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Cm=function(){function t(){mm(this,t),ul(this,"_events",new Map),ul(this,"debug",!1)}return vm(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return ym(function(){var l,c,o,d,m,g,w,E,_,I,v,C;return wm(this,function(R){switch(R.label){case 0:if(l=r._events.get(n),c=[],!l)return[3,10];o=l.slice(),d=!0,m=!1,g=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),w=o[Symbol.iterator](),R.label=2;case 2:if(d=(E=w.next()).done)return[3,7];if(_=E.value,!l.includes(_))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),r.debug&&Zr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Pu(u))),[4,_.apply(null,Pu(u))];case 4:return I=R.sent(),r.debug&&Zr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Pu(u),[I])),c.push(I),I===!1?[3,7]:[3,6];case 5:return v=R.sent(),py(String(v)+":"+String(v.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return C=R.sent(),m=!0,g=C,[3,10];case 9:try{!d&&w.return!=null&&w.return()}finally{if(m)throw g}return[7];case 10:return[2,c]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function al(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Im(t,e,n){return e&&al(t.prototype,e),n&&al(t,n),t}function Sm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Am=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Rm=function(){function t(){Em(this,t)}return Im(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();Sm(Rm,"events",Am);function xu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Bm(t){if(Array.isArray(t))return xu(t)}function Tm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rl(t){return Bm(t)||Tm(t)||Pm(t)||Dm()}function Pm(t,e){if(!!t){if(typeof t=="string")return xu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xu(t,e)}}function Fu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ll(t,e,n){n!=="Runtime"&&(t.parent=e,Fu(t,"parent"))}function xm(t,e,n){t.forEach(function(i){ll(i,e,n)})}var ol=Symbol("targetKey");function cl(t){var e;return(e=t[ol])!==null&&e!==void 0?e:t}function sl(t,e,n){return xm(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),c=2;c<r;c++)l[c-2]=arguments[c];var o;return a===ol?u:(o=Reflect).get.apply(o,[u,a].concat(rl(l)))},set:function(u,a,r){for(var l=arguments.length,c=new Array(l>3?l-3:0),o=3;o<l;o++)c[o-3]=arguments[o];var d;if(Tu(t)&&a==="length"&&r===t.length)return!0;var m=(d=Reflect).set.apply(d,[u,a,r].concat(rl(c)));return dm(r)&&ll(r,e,n),m}})}function ve(t,e,n,i,u){var a=i!=null?i:t,r=sl(cl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(c){r=sl(cl(c),a,u)},enumerable:!0})}function Fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Om(t,e,n){return e&&dl(t.prototype,e),n&&dl(t,n),t}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var fl=[],Nn=function(){function t(e){Fm(this,t),De(this,"registeredControlTypes",new Set),De(this,"controlConfigMap",new Map),De(this,"_controls",[]),De(this,"_type",void 0),this._type=e,this._initControls(e)}return Om(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Ft("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Au("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===st.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===st.FORM}},{key:"isListControl",value:function(n){return n.controlType===st.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===st.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)})),a.footers&&(a.footers=a.footers.map(function(d){var m;return d&&(m=u.createControl(d,i)),m}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var c=i(l);c&&(l=c)}var o;return r.mode==="Runtime"?(o=l,o.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(o,this)):o=new r(l),o}else Ft("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Fu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var c=r[a],o=l[a];if(!(!c&&!o)){var d=o.findIndex(function(w){return w==n}),m=l[c]||[],g;return m.length!==o.length?g=m[0]:g=m[d],g}}}}),Fu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Ft("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(c){return c.Designer.controlType===u.controlType});return l>-1&&(Au("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();De(Nn,"staticControlsRuntimeRules",new Map),De(Nn,"staticControls",fl),De(Nn,"staticRegisteredTypes",new Set(fl.map(function(t){return t.Designer.controlType}))),De(Nn,"staticRegisteredConfigs",new Map);function k(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function he(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ou(t,e)}function km(t,e){return e&&(Mm(e)==="object"||typeof e=="function")?e:k(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}function Mm(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 ye(t){var e=$m();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 km(this,u)}}var ge=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},hl=function t(e){A(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},ku=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"width",void 0),h(k(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(hl),Lm=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new ku(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ku(e==null?void 0:e.mobile):new ku({width:130,minWidth:180})},Nm=function t(e){A(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},dt=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Vm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(dt),yl=function t(e){A(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Mu=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new yl(r)}))!==null&&a!==void 0?a:[]},jm=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},Hm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"title",void 0),h(k(u),"svcCode",void 0),h(k(u),"isOpenFilter",void 0),h(k(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(dt),qm=function t(e){A(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new dt(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new jm(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 Hm(r)}))!==null&&a!==void 0?a:[]},Um=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Ot=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},$u=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,m=new jn(l);(d=n.children)===null||d===void 0||d.push(m)}}))},jn=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Um(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ot(e==null?void 0:e.rightVariableBo)},Wm=function t(e){A(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new ee(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ae=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Lu=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Km=function t(e){A(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Nu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new $u(l):new jn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new $u(l):new jn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new Km(l)}))!==null&&r!==void 0?r:[]}var ee=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var m;(m=n.displayBoList)===null||m===void 0||m.push(new Lu(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Nu.call(this,e)},Vu=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},Ce=function t(e){A(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},ml=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Lu(r)}))!==null&&a!==void 0?a:[]},Hn=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(k(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new ml(l)}))!==null&&r!==void 0?r:[],u}return n}(ee),zm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(k(u),"attributes",void 0),h(k(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new ml(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(ee),vl=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"rootNode",void 0),h(k(u),"filterCode",void 0),u.rootNode=new Ot(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(Hn),gl=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new ae(r)}))!==null&&a!==void 0?a:[]},bl=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(k(u),"filters",void 0),h(k(u),"viewFilters",void 0),h(k(u),"orders",void 0),Nu.call(k(u),i),u}return n}(gl),_l=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"mode",void 0),h(k(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(gl),wl=function t(e){A(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Gm=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function Ee(t){var e;return(e=t==null?void 0:t.map(function(n){return new Gm(n)}))!==null&&e!==void 0?e:[]}var ju=function t(){A(this,t)},Qm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(k(u),"amount",void 0),h(k(u),"currency",void 0),u.amount=new ge(i==null?void 0:i.amount),u.currency=new ge(i==null?void 0:i.currency),u}return n}(ju),Xm=function t(e){A(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},Jm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(k(u),"min",void 0),h(k(u),"max",void 0),u.min=new ge(i==null?void 0:i.min),u.max=new ge(i==null?void 0:i.max),u}return n}(ju),Zm=function t(e){A(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Ym=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},pm=function(t){he(n,t);var e=ye(n);function n(i){A(this,n);var u;return u=e.call(this),h(k(u),"result",void 0),h(k(u),"unit",void 0),u.result=new ge(i==null?void 0:i.result),u.unit=new ge(i==null?void 0:i.unit),u}return n}(ju),ev=function t(e){A(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Hu;(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"})(Hu||(Hu={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(s||(s={}));var qu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(qu||(qu={}));var Pe=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},tv=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new yl(r)}))!==null&&a!==void 0?a:[],Nu.call(this,e)},nv=function t(e){A(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},iv=function t(e){A(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},uv=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"name",void 0),h(this,"color",void 0),h(this,"filters",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:fe();var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:"theme";var r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new $u(l):new jn(l)}))!==null&&r!==void 0?r:[]},av=function t(e){A(this,t),h(this,"id",void 0),h(this,"script",void 0),h(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:fe();var i;this.script=(i=e.script)!==null&&i!==void 0?i:"";var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme"};function rv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qn(t,e,n){return Cl()?qn=Reflect.construct:qn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Mt(o,r.prototype),o},qn.apply(null,arguments)}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function lv(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&&Mt(t,e)}function ov(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function cv(t,e){return e&&(sv(e)==="object"||typeof e=="function")?e:rv(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function sv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wu(t){var e=typeof Map=="function"?new Map:void 0;return Wu=function(i){if(i===null||!ov(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return qn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Wu(t)}function Cl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function dv(t){var e=Cl();return function(){var i=kt(t),u;if(e){var a=kt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cv(this,u)}}var z=function t(e){Uu(this,t),xe(this,"isHide",{type:"boolean"})},qe=function(t){lv(n,t);var e=dv(n);function n(i){return Uu(this,n),e.call(this)}return n}(Wu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Uu(this,t),xe(this,"isHide",void 0),xe(this,"className",void 0),xe(this,"style",void 0),xe(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new nv(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};xe(G,"mode",void 0),xe(G,"Rules",z),xe(G,"RuntimeRules",qe);function be(){return be=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},be.apply(this,arguments)}function fv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ku(t){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ku(t)}function Un(t,e){return Un=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Un(t,e)}function hv(){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 Wn(t,e,n){return hv()?Wn=Reflect.construct:Wn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Un(o,r.prototype),o},Wn.apply(null,arguments)}function yv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function zu(t){var e=typeof Map=="function"?new Map:void 0;return zu=function(i){if(i===null||!yv(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 Wn(i,arguments,Ku(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Un(u,i)},zu(t)}var mv=/%[sdj%]/g,El=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(El=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Gu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(mv,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 vv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Q(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||vv(e)&&typeof t=="string"&&!t)}function gv(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 Il(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 bv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Sl=function(t){fv(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}(zu(Error));function _v(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var w=function(I){return i(I),I.length?g(new Sl(I,Gu(I))):m()},E=bv(t);Il(E,n,w)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(m,g){var w=function(_){if(o.push.apply(o,_),c++,c===l)return i(o),o.length?g(new Sl(o,Gu(o))):m()};r.length||(i(o),m()),r.forEach(function(E){var _=t[E];a.indexOf(E)!==-1?Il(_,n,w):gv(_,n,w)})});return d.catch(function(m){return m}),d}function Al(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 Rl(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=be(be({},t[n]),i):t[n]=i}}return t}function Bl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||Q(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function wv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var Qu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},$t={integer:function(e){return $t.number(e)&&parseInt(e,10)===e},float:function(e){return $t.number(e)&&!$t.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!$t.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Qu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Qu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Qu.hex)}};function Cv(t,e,n,i,u){if(t.required&&e===void 0){Bl(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?$t[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function Ev(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,m=typeof e=="number",g=typeof e=="string",w=Array.isArray(e);if(m?d="number":g?d="string":w&&(d="array"),!d)return!1;w&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var ft="enum";function Iv(t,e,n,i,u){t[ft]=Array.isArray(t[ft])?t[ft]:[],t[ft].indexOf(e)===-1&&i.push(le(u.messages[ft],t.fullField,t[ft].join(", ")))}function Sv(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var B={required:Bl,whitespace:wv,type:Cv,range:Ev,enum:Iv,pattern:Sv};function Av(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"string")&&!t.required)return n();B.required(t,e,i,a,u,"string"),Q(e,"string")||(B.type(t,e,i,a,u),B.range(t,e,i,a,u),B.pattern(t,e,i,a,u),t.whitespace===!0&&B.whitespace(t,e,i,a,u))}n(a)}function Rv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function Bv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Tv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function Dv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),Q(e)||B.type(t,e,i,a,u)}n(a)}function Pv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function xv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Fv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();B.required(t,e,i,a,u,"array"),e!=null&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Ov(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}var kv="enum";function Mv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B[kv](t,e,i,a,u)}n(a)}function $v(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"string")&&!t.required)return n();B.required(t,e,i,a,u),Q(e,"string")||B.pattern(t,e,i,a,u)}n(a)}function Lv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e,"date")&&!t.required)return n();if(B.required(t,e,i,a,u),!Q(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),B.type(t,l,i,a,u),l&&B.range(t,l.getTime(),i,a,u)}}n(a)}function Nv(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;B.required(t,e,i,a,u,r),n(a)}function Xu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Q(e,a)&&!t.required)return n();B.required(t,e,i,r,u,a),Q(e,a)||B.type(t,e,i,r,u)}n(r)}function Vv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(Q(e)&&!t.required)return n();B.required(t,e,i,a,u)}n(a)}var Lt={string:Av,method:Rv,number:Bv,boolean:Tv,regexp:Dv,integer:Pv,float:xv,array:Fv,object:Ov,enum:Mv,pattern:$v,date:Lv,url:Xu,hex:Xu,email:Xu,required:Nv,any:Vv};function Ju(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Zu=Ju();function Fe(t){this.rules=null,this._messages=Zu,this.define(t)}Fe.prototype={messages:function(e){return e&&(this._messages=Rl(Ju(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(_){var I,v=[],C={};function R(T){if(Array.isArray(T)){var F;v=(F=v).concat.apply(F,T)}else v.push(T)}for(I=0;I<_.length;I++)R(_[I]);v.length?C=Gu(v):(v=null,C=null),l(v,C)}if(r.messages){var o=this.messages();o===Zu&&(o=Ju()),Rl(o,r.messages),r.messages=o}else r.messages=this.messages();var d,m,g={},w=r.keys||Object.keys(this.rules);w.forEach(function(_){d=u.rules[_],m=a[_],d.forEach(function(I){var v=I;typeof v.transform=="function"&&(a===e&&(a=be({},a)),m=a[_]=v.transform(m)),typeof v=="function"?v={validator:v}:v=be({},v),v.validator=u.getValidationMethod(v),v.field=_,v.fullField=v.fullField||_,v.type=u.getType(v),v.validator&&(g[_]=g[_]||[],g[_].push({rule:v,value:m,source:a,field:_}))})});var E={};return _v(g,r,function(_,I){var v=_.rule,C=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");C=C&&(v.required||!v.required&&_.value),v.field=_.field;function R(se,O){return be(be({},O),{},{fullField:v.fullField+"."+se})}function T(se){se===void 0&&(se=[]);var O=se;if(Array.isArray(O)||(O=[O]),!r.suppressWarning&&O.length&&Fe.warning("async-validator:",O),O.length&&v.message!==void 0&&(O=[].concat(v.message)),O=O.map(Al(v)),r.first&&O.length)return E[v.field]=1,I(O);if(!C)I(O);else{if(v.required&&!_.value)return v.message!==void 0?O=[].concat(v.message).map(Al(v)):r.error&&(O=[r.error(v,le(r.messages.required,v.field))]),I(O);var de={};if(v.defaultField)for(var kn in _.value)_.value.hasOwnProperty(kn)&&(de[kn]=v.defaultField);de=be(be({},de),_.rule.fields);for(var Ae in de)if(de.hasOwnProperty(Ae)){var bu=Array.isArray(de[Ae])?de[Ae]:[de[Ae]];de[Ae]=bu.map(R.bind(null,Ae))}var Mn=new Fe(de);Mn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Mn.validate(_.value,_.rule.options||r,function(Bt){var Re=[];O&&O.length&&Re.push.apply(Re,O),Bt&&Bt.length&&Re.push.apply(Re,Bt),I(Re.length?Re:null)})}}var F;v.asyncValidator?F=v.asyncValidator(v,_.value,T,_.source,r):v.validator&&(F=v.validator(v,_.value,T,_.source,r),F===!0?T():F===!1?T(v.message||v.field+" fails"):F instanceof Array?T(F):F instanceof Error&&T(F.message)),F&&F.then&&F.then(function(){return T()},function(se){return T(se)})},function(_){c(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Lt.hasOwnProperty(e.type))throw new Error(le("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Lt.required:Lt[this.getType(e)]||!1}},Fe.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Lt[e]=n},Fe.warning=El,Fe.messages=Zu,Fe.validators=Lt;var jv={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 Hv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Fe(t);return n.messages(Object.assign(jv,e)),n}var qv=new Cm;function Yu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Uv(t){if(Array.isArray(t))return t}function Wv(t){if(Array.isArray(t))return Yu(t)}function Tl(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 Dl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Tl(a,i,u,r,l,"next",c)}function l(c){Tl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function zv(t,e,n){return e&&Pl(t.prototype,e),n&&Pl(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Fl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gv(){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 Qv(){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 Ol(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){M(t,u,n[u])})}return t}function Xv(t){return Uv(t)||Fl(t)||kl(t)||Gv()}function pu(t){return Wv(t)||Fl(t)||kl(t)||Qv()}function kl(t,e){if(!!t){if(typeof t=="string")return Yu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yu(t,e)}}function Ml(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var $=function(){function e(n){var i=this;Kv(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",Ll),M(this,"removeSetting",$l),this._callControlHooks("preInstance",n);var u=xl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,c=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,m=u.name,g=u.setting;a&&r&&l||Yr("The ".concat(m," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:fe(10),this.name=a,this.icon=r;var E;this.type=(E=n==null?void 0:n.type)!==null&&E!==void 0?E:l,this.props=new G(n==null?void 0:n.props,(xl(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Te(g);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:c,this.eventKeys=Te(o),this.customEvents=Te(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return zv(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=Xv(u),c=l[0],o=l.slice(1);return(r=qv).emit.apply(r,[c,this].concat(pu(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),lm(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Dl(function(){var u,a,r;return Ml(this,function(l){switch(l.label){case 0:return u=Ol({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return Dl(function(){var r,l,c,o;return Ml(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:Ol({},a.rules),Array.isArray(u)&&u.forEach(function(m){l.hasOwnProperty(m)&&delete l[m]}),c=Hv(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,c.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,c=l.dataBind,o=l.datasourceBind,d=l.optionConfig,m=l.caption,g=l.required,w=l.maxLength,E=l.options,_=l.encrypted,I=l.encryptedMode;if(!(!u&&!c&&!o)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(c&&(v.dataBind=c),d){case"datasource":case void 0:o&&(v.datasourceBind=o);break;case"custom":v.props.options=E;break}return g!==void 0&&(v.required=g),w!==void 0&&(v.maxLength=w),_!==void 0&&(v.encrypted=_),I!==void 0&&(v.encryptedMode=I),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Te(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,pu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M($,"mode","Designer"),M($,"controlName","\u63A7\u4EF6"),M($,"controlIcon","icon"),M($,"controlType","control"),M($,"controlFieldType",void 0),M($,"controlEventKeys",[]),M($,"controlCustomEvents",[]),M($,"setting",[]),M($,"__is_control__",!0),M($,"removeSettingItem",$l),M($,"updateSettingItem",Ll);function $l(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,c;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((c=e.setting[r].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(r,1)}})}function Ll(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,pu(e.showItems))}}}})}function Jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Zv(t,e,n){return e&&Nl(t.prototype,e),n&&Nl(t,n),t}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Jv(this,e),oe(this,"id",void 0),oe(this,"type",void 0),oe(this,"controlType",void 0),oe(this,"props",void 0),oe(this,"fieldType",void 0),oe(this,"customEvents",[]),oe(this,"pageStatus",void 0),oe(this,"parent",null);var i=Yv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Yr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:fe(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:qu.UNKNOWN}return Zv(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();oe(X,"mode","Runtime"),oe(X,"controlType","control"),oe(X,"controlFieldType",void 0),oe(X,"__is_control__",!0),oe(X,"controlCustomEvents",[]);function ea(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=fm(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function Kn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function pv(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function Qn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function eg(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:L(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function tg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ng(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Xn(t){var e=ng();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 eg(this,u)}}var te=function(t){Qn(n,t);var e=Xn(n);function n(i){zn(this,n);var u;u=e.call(this,i),N(L(u),"dataBind",{}),N(L(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),N(L(u),"isHideCaption",{type:"boolean"}),N(L(u),"labelPosition",{type:"enum",enum:["top","left"]}),N(L(u),"defaultState",{type:"enum",enum:["default","readonly"]}),N(L(u),"required",{type:"boolean"}),N(L(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(pv(i.dataBind))u.dataBind={type:"object",required:!0,fields:Te(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Te(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(z),V=function(t){Qn(n,t);var e=Xn(n);function n(i){zn(this,n);var u;u=e.call(this,i);var a=i.isHide?!1:i.required;return a&&u.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(qe),D=function(t){Qn(n,t);var e=Xn(n);function n(i){zn(this,n);var u;u=e.call(this,i),N(L(u),"caption",void 0),N(L(u),"isHideCaption",void 0),N(L(u),"isShowCaptionTip",void 0),N(L(u),"captionTip",void 0),N(L(u),"labelPosition",void 0),N(L(u),"dataBind",void 0),N(L(u),"defaultValue",void 0),N(L(u),"placeholder",void 0),N(L(u),"defaultState",void 0),N(L(u),"required",void 0),N(L(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var w;u.requiredMessage=(w=i==null?void 0:i.requiredMessage)!==null&&w!==void 0?w:"",u.dataBind=new ge(i==null?void 0:i.dataBind);var E;return u.defaultValue=(E=i==null?void 0:i.defaultValue)!==null&&E!==void 0?E:"",u}return n}(G);N(D,"Rules",te),N(D,"RuntimeRules",V);var ht=function(t){Qn(n,t);var e=Xn(n);function n(i){zn(this,n);var u;return u=e.call(this,i),N(L(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),N(L(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),N(L(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ea.call(L(u),i),u}return n}(te);function na(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function ug(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function ag(t,e){return e&&(rg(e)==="object"||typeof e=="function")?e:na(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function rg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function og(t){var e=lg();return function(){var i=Zn(t),u;if(e){var a=Zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ag(this,u)}}var P=function(t){ug(n,t);var e=og(n);function n(i){ig(this,n);var u;return u=e.call(this,i),Jn(na(u),"controlType","form"),Jn(na(u),"props",void 0),u.props=new D(i==null?void 0:i.props),u}return n}($);Jn(P,"controlEventKeys",["on_change","on_focus","on_blur"]),Jn(P,"controlCustomAttributes",void 0);function Yn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ua(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function sg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function dg(t,e){return e&&(fg(e)==="object"||typeof e=="function")?e:Yn(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function fg(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 yg(t){var e=hg();return function(){var i=pn(t),u;if(e){var a=pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return dg(this,u)}}var x=function(t){sg(n,t);var e=yg(n);function n(i){cg(this,n);var u;return u=e.call(this,i),ua(Yn(u),"controlType","form"),ua(Yn(u),"props",void 0),ua(Yn(u),"value",void 0),u.props=new D(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 vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function gg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function bg(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:mg(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function _g(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 Cg(t){var e=wg();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return bg(this,u)}}var j=function(t){gg(n,t);var e=Cg(n);function n(i){return vg(this,n),e.call(this,i)}return n}(G);function la(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 Eg(t){if(Array.isArray(t))return la(t)}function Ue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Ig(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Vl(a,i,u,r,l,"next",c)}function l(c){Vl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Sg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ag(t,e,n){return e&&jl(t.prototype,e),n&&jl(t,n),t}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(u,a,r){var l=kg(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},yt(t,e,n||t)}function ke(t){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(t)}function Rg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function Bg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Tg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dg(){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 Pg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Oe(t,u,n[u])})}return t}function xg(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 Fg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):xg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Og(t,e){return e&&(Mg(e)==="object"||typeof e=="function")?e:Ue(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function kg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ke(t),t!==null););return t}function Hl(t){return Eg(t)||Tg(t)||$g(t)||Dg()}function Mg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $g(t,e){if(!!t){if(typeof t=="string")return la(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 la(t,e)}}function Lg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ng(t){var e=Lg();return function(){var i=ke(t),u;if(e){var a=ke(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Og(this,u)}}function Vg(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var jg=1e4,q=function(e){Rg(i,e);var n=Ng(i);function i(u){Sg(this,i);var a;a=n.call(this,u),Oe(Ue(a),"controlType","layout"),Oe(Ue(a),"children",void 0),Oe(Ue(a),"excludes",void 0),Oe(Ue(a),"childrenMaxLength",void 0),Oe(Ue(a),"props",void 0);var r=Bg(this,i)?this.constructor:void 0,l=r.excludes,c=r.childrenMaxLength;return a.props=new j(u==null?void 0:u.props),ve(Ue(a),"children",u==null?void 0:u.children,void 0,"Designer"),a.excludes=Te(l),a.childrenMaxLength=c,a}return Ag(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,c=this,o=function(){return yt(ke(i.prototype),"validate",l)};return Ig(function(){return Vg(this,function(d){switch(d.label){case 0:return[4,o().call(c,a,r)];case 1:return d.sent(),[4,Promise.all(c.children.map(function(m){return m.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=yt(ke(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(c,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var m=d.filter(function(g){return!!g});return Hl(c).concat(Hl(m))}return d&&c.push(d),c},l)}},{key:"toSchema",value:function(){var a=yt(ke(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var c=l.toSchema();return c});return Fg(Pg({},a),{children:r})}}]),i}($);Oe(q,"excludes",!1),Oe(q,"childrenMaxLength",jg);function Nt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ca(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function qg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function Ug(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:Nt(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function Wg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zg(t){var e=Kg();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ug(this,u)}}var U=function(t){qg(n,t);var e=zg(n);function n(i){Hg(this,n);var u;return u=e.call(this,i),ca(Nt(u),"controlType","layout"),ca(Nt(u),"children",void 0),ca(Nt(u),"props",void 0),u.props=new j(i==null?void 0:i.props),ve(Nt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(X);function Ie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function Qg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&da(t,e)}function Xg(t,e){return e&&(Jg(e)==="object"||typeof e=="function")?e:Ie(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function Jg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Yg(t){var e=Zg();return function(){var i=ni(t),u;if(e){var a=ni(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Xg(this,u)}}var ii=function(t){Qg(n,t);var e=Yg(n);function n(i,u,a){Gg(this,n);var r;r=e.call(this,u),mt(Ie(r),"headers",void 0),mt(Ie(r),"footers",void 0),mt(Ie(r),"pageIndex",void 0),mt(Ie(r),"pageSize",void 0),mt(Ie(r),"pageSizeOptions",void 0),mt(Ie(r),"totalCount",void 0),ve(Ie(r),"headers",u==null?void 0:u.headers,i,a),ve(Ie(r),"footers",u==null?void 0:u.footers,i);var l;r.pageIndex=(l=u==null?void 0:u.pageIndex)!==null&&l!==void 0?l:1;var c;r.pageSize=(c=u==null?void 0:u.pageSize)!==null&&c!==void 0?c:20;var o;r.pageSizeOptions=(o=u==null?void 0:u.pageSizeOptions)!==null&&o!==void 0?o:[20];var d;return r.totalCount=(d=u==null?void 0:u.totalCount)!==null&&d!==void 0?d:0,r}return n}(G);function fa(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 pg(t){if(Array.isArray(t))return fa(t)}function ui(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ql(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 e0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){ql(a,i,u,r,l,"next",c)}function l(c){ql(a,i,u,r,l,"throw",c)}r(void 0)})}}function t0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function n0(t,e,n){return e&&Ul(t.prototype,e),n&&Ul(t,n),t}function ai(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vt=Reflect.get:vt=function(u,a,r){var l=o0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},vt(t,e,n||t)}function Me(t){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Me(t)}function i0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function u0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function a0(){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 Wl(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){ai(t,u,n[u])})}return t}function r0(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 Kl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):r0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function l0(t,e){return e&&(c0(e)==="object"||typeof e=="function")?e:ui(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function o0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Me(t),t!==null););return t}function zl(t){return pg(t)||u0(t)||s0(t)||a0()}function c0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function s0(t,e){if(!!t){if(typeof t=="string")return fa(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 fa(t,e)}}function d0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function f0(t){var e=d0();return function(){var i=Me(t),u;if(e){var a=Me(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return l0(this,u)}}function h0(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var ya=function(t){i0(n,t);var e=f0(n);function n(i){t0(this,n);var u;return u=e.call(this,i),ai(ui(u),"controlType","list"),ai(ui(u),"props",void 0),u.props=new ii(ui(u),i==null?void 0:i.props,"Designer"),u}return n0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return vt(Me(n.prototype),"validate",r)};return e0(function(){return h0(this,function(o){switch(o.label){case 0:return[4,c().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=vt(Me(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,c){var o=c.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(m){return!!m});return zl(l).concat(zl(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u,a,r=vt(Me(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()}),c=(a=this.props)===null||a===void 0||(u=a.footers)===null||u===void 0?void 0:u.map(function(o){if(o)return o.toSchema()});return Kl(Wl({},r),{props:Kl(Wl({},this.props),{headers:l,footers:c})})}}]),n}($);ai(ya,"controlFieldType",b.LIST);function gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function m0(t,e,n){return e&&Gl(t.prototype,e),n&&Gl(t,n),t}function ma(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function v0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&va(t,e)}function g0(t,e){return e&&(b0(e)==="object"||typeof e=="function")?e:gt(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function b0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _0(){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 w0(t){var e=_0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return g0(this,u)}}var Ql=function(t){v0(n,t);var e=w0(n);function n(i){y0(this,n);var u;return u=e.call(this,i),ma(gt(u),"controlType","list"),ma(gt(u),"children",void 0),ma(gt(u),"props",void 0),u.props=new ii(gt(u),i==null?void 0:i.props,"Runtime"),ve(gt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return m0(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ga(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function ba(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function C0(t,e){return e&&(E0(e)==="object"||typeof e=="function")?e:J(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function E0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function I0(){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 wa(t){var e=I0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return C0(this,u)}}var _e=function(t){ba(n,t);var e=wa(n);function n(i){ga(this,n);var u;return u=e.call(this,i),Z(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),Z(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(z),W=function(t){ba(n,t);var e=wa(n);function n(i){ga(this,n);var u;u=e.call(this,i),Z(J(u),"widthType",void 0),Z(J(u),"width",void 0),Z(J(u),"caption",void 0),Z(J(u),"dataBind",void 0),Z(J(u),"autoWidth",void 0),Z(J(u),"fixed",void 0),Z(J(u),"sort",void 0),Z(J(u),"align",void 0),Z(J(u),"colSpan",void 0),Z(J(u),"autoHeight",void 0),Z(J(u),"children",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new hl(i==null?void 0:i.autoWidth),u.dataBind=new ge(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);Z(W,"Rules",_e);var Xl=function(t){ba(n,t);var e=wa(n);function n(i){ga(this,n);var u;return u=e.call(this,i),Z(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),Z(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),Z(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ea.call(J(u),i),u}return n}(_e);function Vt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function A0(t,e,n){return e&&Jl(t.prototype,e),n&&Jl(t,n),t}function oi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ci=Reflect.get:ci=function(u,a,r){var l=x0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},ci(t,e,n||t)}function bt(t){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bt(t)}function R0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ca(t,e)}function B0(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){oi(t,u,n[u])})}return t}function T0(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 D0(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):T0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function P0(t,e){return e&&(F0(e)==="object"||typeof e=="function")?e:Vt(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function x0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=bt(t),t!==null););return t}function F0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function O0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function k0(t){var e=O0();return function(){var i=bt(t),u;if(e){var a=bt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return P0(this,u)}}var Y=function(t){R0(n,t);var e=k0(n);function n(i){S0(this,n);var u;return u=e.call(this,i),oi(Vt(u),"controlType","column"),oi(Vt(u),"props",void 0),oi(Vt(u),"children",void 0),u.props=new W(i==null?void 0:i.props),ve(Vt(u),"children",i==null?void 0:i.children,void 0,"Designer"),u}return A0(n,[{key:"toSchema",value:function(){var u=ci(bt(n.prototype),"toSchema",this).call(this);return D0(B0({},u),{children:this.children?this.children.map(function(a){return a.toSchema()}):[]})}}]),n}($);function jt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function $0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}function L0(t,e){return e&&(N0(e)==="object"||typeof e=="function")?e:jt(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function N0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function j0(t){var e=V0();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return L0(this,u)}}var p=function(t){$0(n,t);var e=j0(n);function n(i){M0(this,n);var u;return u=e.call(this,i),Ea(jt(u),"controlType","column"),Ea(jt(u),"props",void 0),Ea(jt(u),"children",void 0),u.props=new W(i==null?void 0:i.props),ve(jt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(X);function Zl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function U0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sa(t,e)}function W0(t,e){return e&&(K0(e)==="object"||typeof e=="function")?e:Zl(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function K0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function z0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function G0(t){var e=z0();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return W0(this,u)}}var Aa=function(t){U0(n,t);var e=G0(n);function n(i){H0(this,n);var u;return u=e.call(this,i),q0(Zl(u),"dataBind",void 0),u.dataBind=new ge(i==null?void 0:i.dataBind),u}return n}(j);function Ra(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function X0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ba(t,e)}function J0(t,e){return e&&(Z0(e)==="object"||typeof e=="function")?e:Ra(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function Z0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function p0(t){var e=Y0();return function(){var i=fi(t),u;if(e){var a=fi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return J0(this,u)}}var eb=function(t){X0(n,t);var e=p0(n);function n(i){Q0(this,n);var u;return u=e.call(this,i),Yl(Ra(u),"controlType","search"),Yl(Ra(u),"props",void 0),u.props=new Aa(i==null?void 0:i.props),u}return n}(q);function Ta(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function nb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Da(t,e)}function ib(t,e){return e&&(ub(e)==="object"||typeof e=="function")?e:Ta(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(t,e)}function ub(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ab(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rb(t){var e=ab();return function(){var i=hi(t),u;if(e){var a=hi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ib(this,u)}}var lb=function(t){nb(n,t);var e=rb(n);function n(i){tb(this,n);var u;return u=e.call(this,i),pl(Ta(u),"controlType","search"),pl(Ta(u),"props",void 0),u.props=new Aa(i==null?void 0:i.props),u}return n}(U);function ob(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function sb(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&&Pa(t,e)}function db(t,e){return e&&(fb(e)==="object"||typeof e=="function")?e:ob(t)}function Pa(t,e){return Pa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pa(t,e)}function fb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hb(){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 yb(t){var e=hb();return function(){var i=yi(t),u;if(e){var a=yi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return db(this,u)}}var xa=function(t){sb(n,t);var e=yb(n);function n(i){return cb(this,n),e.call(this,i)}return n}(j);function Fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function vb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oa(t,e)}function gb(t,e){return e&&(bb(e)==="object"||typeof e=="function")?e:Fa(t)}function Oa(t,e){return Oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Oa(t,e)}function bb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _b(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function wb(t){var e=_b();return function(){var i=mi(t),u;if(e){var a=mi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return gb(this,u)}}var Cb=function(t){vb(n,t);var e=wb(n);function n(i){mb(this,n);var u;return u=e.call(this,i),eo(Fa(u),"controlType","wrap"),eo(Fa(u),"props",void 0),u.props=new xa(i==null?void 0:i.props),u}return n}(q);function ka(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function to(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function Ib(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ma(t,e)}function Sb(t,e){return e&&(Ab(e)==="object"||typeof e=="function")?e:ka(t)}function Ma(t,e){return Ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ma(t,e)}function Ab(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bb(t){var e=Rb();return function(){var i=vi(t),u;if(e){var a=vi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sb(this,u)}}var Tb=function(t){Ib(n,t);var e=Bb(n);function n(i){Eb(this,n);var u;return u=e.call(this,i),to(ka(u),"controlType","wrap"),to(ka(u),"props",void 0),u.props=new xa(i==null?void 0:i.props),u}return n}(U);function $e(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class $a extends G{constructor(e){var n,i,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57",this.align=(l=e==null?void 0:e.align)!=null?l:""}}class no extends ${constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}no.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 Db extends X{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"text"}}var io={Designer:no,Runtime:Db,Property:$a};class La extends G{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Na extends ${constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Na.controlEventKeys=["on_click"],Na.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 Pb extends X{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"link"}}var uo={Designer:Na,Runtime:Pb,Property:La};class ie extends G{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new iv((d=e==null?void 0:e.optObj)!=null?d:{})}}class ue extends ${constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ce extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var ao={Designer:ue,Runtime:ce,Property:ie},Le=(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))(Le||{}),ro=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ro||{}),lo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(lo||{});class gi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Va=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Va||{});class bi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ja=(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))(ja||{});class Ha{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 oo{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 Ha(c)))!=null?u:[new Ha],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 qa{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Ua{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 co{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 Ua(e==null?void 0:e.watermark),this.autoRename=new Ua(e==null?void 0:e.autoRename)}}const so=480;function Ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class fo{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 ho{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 yo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(yo||{}),Wa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Wa||{}),_i=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(_i||{}),Ne=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Ne||{}),Ka=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ka||{});class za extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:ja.SOLID}}class mo extends ${constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}mo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class xb extends X{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"divider"}}var vo={Designer:mo,Runtime:xb,Property:za};class Fb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Le.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class wi extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new ge(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Le.ShowSubmitUser,Le.ShowSubmitDept,Le.ShowSubmitTime,Le.ShowCurrentApprovar,Le.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:_t==null?void 0:_t.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}wi.Rules=Fb;class _t extends ${constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}_t.controlFieldType=b.AUTO_NUMBER,_t.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 Ob extends X{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"title"}}var go={Designer:_t,Runtime:Ob,Property:wi};class kb extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Ci extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:qt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Ci.Rules=kb;class qt extends ue{constructor(e){super(e),this.props=new Ci(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Mb extends ce{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var bo={Designer:qt,Runtime:Mb,Property:Ci};class $b extends z{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Ei extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ut.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ut.controlName,this.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:""}}Ei.Rules=$b;class Ut extends ue{constructor(e){super(e),this.props=new Ei(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"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.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 Lb extends ce{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var _o={Designer:Ut,Runtime:Lb,Property:Ei};class Ga extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon}}class Wt extends ue{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}Wt.controlEventKeys=["on_click"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Nb extends ce{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var wo={Designer:Wt,Runtime:Nb,Property:Ga};class Qa extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Kt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Kt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new qa(l)))!=null?r:[new qa({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Kt extends ue{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Kt.controlEventKeys=["on_click","on_click_finish"],Kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Vb extends ce{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Co={Designer:Kt,Runtime:Vb,Property:Qa};class Xa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon}}class zt extends ue{constructor(e){super(e),this.props=new Xa(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"}}zt.controlEventKeys=["on_click"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class jb extends ce{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Eo={Designer:zt,Runtime:jb,Property:Xa};class Hb{constructor(e){this.dataCode=e.dataCode}}class Ja extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Gt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new Hb(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Gt extends ue{constructor(e){super(e),this.props=new Ja(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"}}Gt.controlEventKeys=["on_click","on_click_finish"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class qb extends ce{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Io={Designer:Gt,Runtime:qb,Property:Ja};function Ii(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Ub extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ct({},Ii())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ct({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ii())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Si extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new bl(e==null?void 0:e.fillPayload),this.formBind=new Vm(e==null?void 0:e.formBind),this.fillBack=new _l(e==null?void 0:e.fillBack)}}Si.Rules=Ub;class Qt extends ue{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Qt.controlEventKeys=["on_click","on_click_finish"],Qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Wb extends ce{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var So={Designer:Qt,Runtime:Wb,Property:Si};class Kb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ct({},Ii())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ct({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ii())}}}class Ai extends ie{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.controlIcon,this.fillPayload=new bl(e==null?void 0:e.fillPayload),this.listPageBind=new Mu(e==null?void 0:e.listPageBind),this.fillBack=new _l(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Vu(e==null?void 0:e.selectedContentConfig),this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}Ai.Rules=Kb;class Xt extends ue{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Xt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class zb extends ce{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Ao={Designer:Xt,Runtime:zb,Property:Ai};class Gb extends z{constructor(e){super(e)}}class Qb extends qe{constructor(e){super(e)}}class Jt extends G{constructor(e){super(e)}}Jt.Rules=Gb,Jt.RuntimeRules=Qb;class Ro extends ${constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Ro.setting=[];class Xb extends X{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Bo={Designer:Ro,Runtime:Xb,Property:Jt};class Jb extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ri extends G{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Ri.Rules=Jb;class To extends ${constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}To.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 Zb extends X{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Do={Designer:To,Runtime:Zb,Property:Ri};class Yb extends z{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Bi extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new tv(a)))!=null?u:[]}}Bi.Rules=Yb;class Po extends ${constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Po.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class pb extends X{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var xo={Designer:Po,Runtime:pb,Property:Bi};class e_ extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ti extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:wt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:wt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ae(g)))!=null?m:[]}}Ti.Rules=e_;class wt extends ue{constructor(e){super(e),this.props=new Ti(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"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class t_ extends ce{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Fo={Designer:wt,Runtime:t_,Property:Ti};class n_ extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Di extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ct.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Ct.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ae(g)))!=null?m:[]}}Di.Rules=n_;class Ct extends ue{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class i_ extends ce{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Oo={Designer:Ct,Runtime:i_,Property:Di};class u_ extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Pi extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Zt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Zt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new fo(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Pi.Rules=u_;class Zt extends ue{constructor(e){super(e),this.props=new Pi(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"}}Zt.controlEventKeys=["on_click","on_click_finish"],Zt.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 a_ extends ce{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ko={Designer:Zt,Runtime:a_,Property:Pi};class Za extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Yt.controlIcon}}class Yt extends ue{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Yt.controlEventKeys=["on_click"],Yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class r_ extends ce{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Mo={Designer:Yt,Runtime:r_,Property:Za};class l_ extends z{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class xi extends G{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}xi.Rules=l_;class Fi extends ${constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Fi.controlEventKeys=["on_click"],Fi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class o_ extends X{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var $o={Designer:Fi,Runtime:o_,Property:xi};class Ya extends G{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:pt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class pt extends ${constructor(e){super(e),this.props=new Ya(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"}}pt.controlEventKeys=["on_click"],pt.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 c_ extends X{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Lo={Designer:pt,Runtime:c_,Property:Ya},s_=Object.freeze({__proto__:null,Text:io,Link:uo,Button:ao,Divider:vo,Title:go,CreateFormListButton:bo,BatchSubmissionListButton:_o,SubmissionRecordListButton:wo,ExportListButton:Co,ExportRecordListButton:Eo,ImportRecordListButton:Io,FormSelectButton:So,ListSelectButton:Ao,Pagination:Bo,Dashboard:Do,ListViewSelect:xo,TextOcrButton:Fo,InvoiceCheckButton:Oo,BatchPrintListButton:ko,BatchPrintRecordListButton:Mo,OperationButton:$o,BatchDeleteButton:Lo});class d_ extends te{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class f_ extends V{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Et extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new wl(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:It.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:""}}Et.Rules=d_,Et.RuntimeRules=f_;class It extends P{constructor(e){super(e),this.props=new Et(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"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=b.VARCHAR,It.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 No extends x{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlType(){return"input"}}No.controlFieldType=b.VARCHAR;var Vo={Designer:It,Runtime:No,Property:Et};class h_ extends ht{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class y_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class en extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new ee(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:tn.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(w=e==null?void 0:e.defaultShowOptions)!=null?w:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new ae(_))}))}}en.Rules=h_,en.RuntimeRules=y_;class tn extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}tn.controlEventKeys=["on_change","on_click"],tn.controlFieldType=b.ARRAY,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class jo extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}jo.controlFieldType=b.ARRAY;var Ho={Designer:tn,Runtime:jo,Property:en};class m_ extends ht{constructor(e){super(e)}}class Oi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new ee(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:nn.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var E;(E=this.multistageFilling)==null||E.push(new ae(w))}))}}Oi.Rules=m_;class nn extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=b.VARCHAR,nn.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 qo extends x{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"radio"}}qo.controlFieldType=b.VARCHAR;var Uo={Designer:nn,Runtime:qo,Property:Oi};class v_ extends te{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class g_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class un extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:an.controlName,this.placeholder=(w=e==null?void 0:e.placeholder)!=null?w:"\u8BF7\u8F93\u5165",this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new wl(e==null?void 0:e.regularRules)}}un.Rules=v_,un.RuntimeRules=g_;class an extends P{constructor(e){super(e),this.props=new un(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}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=b.DECIMAL,an.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 Wo extends x{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"number"}}Wo.controlFieldType=b.DECIMAL;var Ko={Designer:an,Runtime:Wo,Property:un};class pa extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:ki.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(w=>new gi(w)))!=null?d:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class ki extends P{constructor(e){super(e),this.props=new pa(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}}ki.controlFieldType=b.TIMESTAMP,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zo extends x{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}zo.controlFieldType=b.TIMESTAMP;var Go={Designer:ki,Runtime:zo,Property:pa};class b_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Mi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.dataBind=new Jm(e==null?void 0:e.dataBind),this.defaultValue=new Zm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:$i.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(w=>new gi(w)))!=null?g:[]}}Mi.RuntimeRules=b_;class $i extends P{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}$i.controlFieldType=b.TIMESCOPE,$i.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Qo extends x{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Qo.controlFieldType=b.TIMESCOPE;var Xo={Designer:$i,Runtime:Qo,Property:Mi};class __ extends te{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class w_ extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class rn extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:ln.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4,this.autoSize=(c=e==null?void 0:e.autoSize)!=null?c:!1,this.maxRows=e==null?void 0:e.maxRows}}rn.Rules=__,rn.RuntimeRules=w_;class ln extends P{constructor(e){super(e),this.props=new rn(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"}}ln.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ln.controlFieldType=b.TEXT,ln.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 Jo extends x{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Jo.controlFieldType=b.TEXT;var Zo={Designer:ln,Runtime:Jo,Property:rn};class C_ extends te{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class E_ extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class on extends D{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:cn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}on.Rules=C_,on.RuntimeRules=E_;class cn extends P{constructor(e){super(e),this.props=new on(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"}}cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],cn.controlFieldType=b.TEXT,cn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.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 Yo extends x{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Yo.controlFieldType=b.TEXT;var po={Designer:cn,Runtime:Yo,Property:on};class I_ extends ht{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Li extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new ee(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ni.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var w;(w=this.multistageFilling)==null||w.push(new ae(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}Li.Rules=I_;class Ni extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Ni.controlFieldType=b.VARCHAR,Ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class ec extends x{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"select"}}ec.controlFieldType=b.VARCHAR;var tc={Designer:Ni,Runtime:ec,Property:Li};class S_ extends ht{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class A_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class sn extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new ee(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Vi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}sn.Rules=S_,sn.RuntimeRules=A_;class Vi extends P{constructor(e){super(e),this.props=new sn(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"}}Vi.controlFieldType=b.ARRAY,Vi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class nc extends x{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}nc.controlFieldType=b.ARRAY;var ic={Designer:Vi,Runtime:nc,Property:sn};class R_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ji extends D{constructor(e){var n,i,u,a,r,l,c,o,d;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:Hi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))}))}}ji.RuntimeRules=R_;class Hi extends P{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Hi.controlFieldType=b.EMPLOYEES,Hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.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 uc extends x{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"employee"}}uc.controlFieldType=b.EMPLOYEES;var ac={Designer:Hi,Runtime:uc,Property:ji};const B_=10485760,T_=104857600,D_=1048576e3;class P_ extends te{constructor(e){super(e),this.maxSize={type:"number",min:0,max:D_,message:f.getMessage("attachmentMaxSize")}}}class x_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class St extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:T_,this.caption=(o=e==null?void 0:e.caption)!=null?o:At.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{}}}St.Rules=P_,St.RuntimeRules=x_;class At extends P{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}At.controlEventKeys=["on_change"],At.controlFieldType=b.FILE,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!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 er extends x{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlType(){return"attachment"}}er.controlFieldType=b.FILE;var rc={Designer:At,Runtime:er,Property:St};const lc=class extends At{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:lc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let tr=lc;tr.controlFieldType=b.IMAGE,tr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class F_ extends er{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 O_ extends St{constructor(e){super(e)}}var oc={Designer:tr,Runtime:F_,Property:O_};class k_ extends ht{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class M_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Nr(ct({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class dn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Qm(e==null?void 0:e.dataBind),this.datasourceBind=new ee((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Lu({value:"name"})]}),this.defaultValue=new Xm((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:Hu.CNY}),this.options=Ee(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:fn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}dn.Rules=k_,dn.RuntimeRules=M_;class fn extends P{constructor(e){super(e),this.props=new dn(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}}fn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fn.controlFieldType=b.MONEY,fn.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 cc extends x{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"amount"}}cc.controlFieldType=b.MONEY;var sc={Designer:fn,Runtime:cc,Property:dn};class $_ extends te{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class L_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class hn extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Va.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 bi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new bi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:yn.controlName}}hn.Rules=$_,hn.RuntimeRules=L_;class yn extends P{constructor(e){super(e),this.props=new hn(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 bi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}yn.controlEventKeys=["on_change","on_click"],yn.controlFieldType=b.DECIMAL,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:"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 dc extends x{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"score"}}dc.controlFieldType=b.DECIMAL;var fc={Designer:yn,Runtime:dc,Property:hn};class N_ extends V{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class qi extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ui.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new Ym((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}qi.RuntimeRules=N_;class Ui extends P{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ui.controlFieldType=b.ADDRESS,Ui.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 hc extends x{constructor(e){super(e),this.props=new qi(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"}}hc.controlFieldType=b.ADDRESS;var yc={Designer:Ui,Runtime:hc,Property:qi};class V_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:mn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var E;(E=this.multistageFilling)==null||E.push(new ae(w))}))}}Wi.RuntimeRules=V_;class mn extends P{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}mn.controlName="\u90E8\u95E8",mn.controlFieldType=b.DEPARTMENTS,mn.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 mc extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"department"}}mc.controlFieldType=b.DEPARTMENTS;var vc={Designer:mn,Runtime:mc,Property:Wi};class nr extends D{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:vn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class vn extends P{constructor(e){super(e),this.props=new nr(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"}}vn.controlEventKeys=["on_change"],vn.controlFieldType=b.AUTO_NUMBER,vn.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 gc extends x{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}gc.controlFieldType=b.AUTO_NUMBER;var bc={Designer:vn,Runtime:gc,Property:nr};class j_ extends te{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 H_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class gn extends D{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new pm(e==null?void 0:e.dataBind),this.defaultValue=new ev(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:bn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(o=e==null?void 0:e.calcOnMounted)!=null?o:!1}}gn.Rules=j_,gn.RuntimeRules=H_;class bn extends P{constructor(e){super(e),this.props=new gn(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}}bn.controlEventKeys=["on_change"],bn.controlFieldType=b.CALC,bn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class _c extends x{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"calc"}}_c.controlFieldType=b.CALC;var wc={Designer:bn,Runtime:_c,Property:gn};class q_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Ki extends D{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:zi.controlName}}Ki.RuntimeRules=q_;class zi extends P{constructor(e){super(e),this.props=new Ki(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"}}zi.controlFieldType=b.DECIMAL_RANGE,zi.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 Cc extends x{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Cc.controlFieldType=b.DECIMAL_RANGE;var Ec={Designer:zi,Runtime:Cc,Property:Ki};class U_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Gi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:Qi.controlName,this.limitDateList=(w=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new gi(E)))!=null?w:[]}}Gi.RuntimeRules=U_;class Qi extends P{constructor(e){super(e),this.props=new Gi(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"}}Qi.controlFieldType=b.ARRAY,Qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ic extends x{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Ic.controlFieldType=b.ARRAY;var Sc={Designer:Qi,Runtime:Ic,Property:Gi};class W_ extends te{constructor(e){super(e),this.dataBind={type:"any"}}}class K_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class _n extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.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}}_n.Rules=W_,_n.RuntimeRules=K_;class wn extends P{constructor(e){super(e),this.props=new _n(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"}}wn.controlFieldType=b.ANY,wn.controlEventKeys=[],wn.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 Ac extends x{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ac.controlFieldType=b.ANY;var Rc={Designer:wn,Runtime:Ac,Property:_n};class z_ extends ht{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Xi extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Mu(e==null?void 0:e.listPageBind),this.datasourceBind=new ee(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Cn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new Vu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ae(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}Xi.Rules=z_;class Cn extends P{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}Cn.controlFieldType=b.VARCHAR,Cn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],Cn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Bc extends x{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Bc.controlFieldType=b.VARCHAR;var Tc={Designer:Cn,Runtime:Bc,Property:Xi};class ir extends Et{constructor(e){super(e)}}class Dc extends It{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Dc.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 Pc extends x{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Pc.controlFieldType=b.VARCHAR;var xc={Designer:Dc,Runtime:Pc,Property:ir};class G_ extends te{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Kn.call(this,e,Ve.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Q_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_,I,v,C,R,T;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(w=e==null?void 0:e.defaultCollapseLevel)!=null?w:1,this.datasourceBind=new vl((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Ve.controlCustomAttributes}),this.filterItemDatasourceBind=new vl((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:Ve.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(R=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(F=>new ae(F)))!=null?R:[],this.defaultValue=(T=e==null?void 0:e.defaultValue)!=null?T:[]}}En.Rules=G_,En.RuntimeRules=Q_;class Ve extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Ve.controlEventKeys=["on_change","on_click"],Ve.controlFieldType=b.ARRAY,Ve.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Fc extends x{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"tree"}}Fc.controlFieldType=b.ARRAY;var Oc={Designer:Ve,Runtime:Fc,Property:En};class X_ extends te{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Kn.call(this,e,Rt.controlCustomAttributes),e.externalType===Ne.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class J_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Rt.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 Hn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Rt.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Wa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ka.ADMIN,this.externalType=(w=e==null?void 0:e.externalType)!=null?w:Ne.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var v;(v=this.multistageFilling)==null||v.push(new ae(I))}))}}In.Rules=X_,In.RuntimeRules=J_;class Rt extends P{constructor(e){super(e),this.props=new In(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}]}}Rt.controlFieldType=b.EMPLOYEES,Rt.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 kc extends x{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"employee2"}}kc.controlFieldType=b.EMPLOYEES;var Mc={Designer:Rt,Runtime:kc,Property:In};class Z_ extends te{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&Tu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Tu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Ji extends D{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.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 oo(e==null?void 0:e.signatureConfig)}}Ji.Rules=Z_;class Sn extends P{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Sn.controlEventKeys=["on_click","on_click_finish"],Sn.controlFieldType=b.VARCHAR,Sn.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 $c extends x{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}$c.controlFieldType=b.VARCHAR;var Lc={Designer:Sn,Runtime:$c,Property:Ji};class Y_ extends te{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class p_ extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:B_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new co(e==null?void 0:e.wpsSetting),this.revisionsMode=(w=e==null?void 0:e.revisionsMode)!=null?w:!1}}An.Rules=Y_,An.RuntimeRules=p_;class Rn extends P{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Rn.controlEventKeys=["on_change","on_wps_open"],Rn.controlFieldType=b.FILE,Rn.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 Nc extends x{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"wps"}}Nc.controlFieldType=b.FILE;var Vc={Designer:Rn,Runtime:Nc,Property:An};class ew extends te{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Kn.call(this,e,We.controlCustomAttributes),e.businessType===Ne.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class tw extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:We.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Hn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:We.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:_i.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Ne.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var C;(C=this.multistageFilling)==null||C.push(new ae(v))}))}}Bn.Rules=ew,Bn.RuntimeRules=tw;class We extends P{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"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}}We.controlName="\u90E8\u95E8",We.controlFieldType=b.DEPARTMENTS,We.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class jc extends x{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}jc.controlFieldType=b.DEPARTMENTS;var Hc={Designer:We,Runtime:jc,Property:Bn};class nw extends te{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Kn.call(this,e,Ke.controlCustomAttributes),e.businessType===Ne.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class iw extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Tn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_,I,v,C,R;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Mu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new zm((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:_i.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Ne.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(C=e==null?void 0:e.showSelectedDetail)!=null?C:!1,this.selectedContentConfig=new Vu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(T=>{var F;(F=this.multistageFilling)==null||F.push(new ae(T))}))}}Tn.Rules=nw,Tn.RuntimeRules=iw;class Ke extends P{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ke.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ke.controlFieldType=b.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class qc extends x{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}qc.controlFieldType=b.DEPARTMENTS;var Uc={Designer:Ke,Runtime:qc,Property:Tn},uw=Object.freeze({__proto__:null,Input:Vo,Checkbox:Ho,Radio:Uo,Number:Ko,DatePicker:Go,DateRange:Xo,Textarea:Zo,RichText:po,Select:tc,SelectMultiple:ic,Employee:ac,Image:oc,Attachment:rc,Amount:sc,Score:fc,Address:yc,Department:vc,AutoNumber:bc,Calc:wc,SearchNumberRange:Ec,SearchDateRange:Sc,VueFormItem:Rc,SelectRelation:Tc,SearchInput:xc,Tree:Oc,Employee2:Mc,ElectronicSignature:Lc,WPS:Vc,Department2:Hc,OrganizationSelection:Uc});class Wc extends q{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Wc.excludes=[S.GRID];class aw extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Kc={Designer:Wc,Runtime:aw,Property:j};const rw=24;class ze extends j{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:rw,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Dn extends q{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Dn.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],Dn.childrenMaxLength=1;class ur extends U{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"col"}}var zc={Designer:Dn,Runtime:ur,Property:ze};class Zi extends j{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 Yi extends q{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Yi.excludes=[S.ROW],Yi.setting=[{key:"col-setting",visible:!0}];class Gc extends U{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Qc={Designer:Yi,Runtime:Gc,Property:Zi};const lw=4;class pi extends Yi{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)}}pi.excludes=[S.GRID_ROW],pi.setting=[],pi.childrenMaxLength=lw;class ow extends Gc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class cw extends Zi{constructor(e){super(e)}}var Xc={Designer:pi,Runtime:ow,Property:cw};class sw extends j.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class eu extends j{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"}}eu.Rules=sw;class ar extends q{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ar.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}],ar.excludes=[S.CARD_GROUP];class dw extends U{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Jc={Designer:ar,Runtime:dw,Property:eu};class fw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class tu extends j{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new Lm(e==null?void 0:e.metaAutoWidth)}}tu.Rules=fw;class me extends q{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}me.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",me.controlType="subtable-column",me.controlIcon="subtable-column",me.childrenMaxLength=1,me.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Zc extends U{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}Zc.controlType="subtable-column";var Yc={Designer:me,Runtime:Zc,Property:tu};class rr extends j{constructor(e){super(e)}}class Ge extends q{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}Ge.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ge.controlType="subtable-row",Ge.controlIcon="subtable-row",Ge.childrenMaxLength=1,Ge.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Ge.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class hw extends U{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var pc={Designer:Ge,Runtime:hw,Property:rr};class lr extends j{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new ee(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Be.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Qe extends q{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}Qe.controlName="\u5217\u8868\u5355\u5143\u683C",Qe.controlType="gridtable-column",Qe.controlIcon="gridtable-column",Qe.childrenMaxLength=1,Qe.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Qe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class es extends U{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}es.controlType="gridtable-column";var ts={Designer:Qe,Runtime:es,Property:lr};class or extends j{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class cr extends q{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}cr.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],cr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class yw extends U{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var ns={Designer:cr,Runtime:yw,Property:or};class sr extends j{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class mw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class nu extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.controlName}}nu.Rules=mw;class Pn extends q{constructor(e){super(e),this.props=new nu(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"}}Pn.excludes=[S.TAB],Pn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class vw extends U{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var is={Designer:Pn,Runtime:vw,Property:nu};class xn extends q{constructor(e){var n;super(e),this.props=new sr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pn,new Pn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}xn.excludes=[S.TAB],xn.controlEventKeys=["on_change_tab"],xn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class gw extends U{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var us={Designer:xn,Runtime:gw,Property:sr};class as extends j{constructor(e){super(e)}}class rs extends q{constructor(e){super(e),this.props=new as({}),this.children=(e==null?void 0:e.children)||[new Dn({props:new ze({span:12})}),new Dn({props:new ze({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}rs.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class bw extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new ur({props:new ze({span:12})}),new ur({props:new ze({span:12})})]}}var ls={Designer:rs,Runtime:bw,Property:as};class _w extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ww extends z{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),ea.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 Fn extends j{constructor(e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_,I,v,C,R;super(e),this.datasourceBind=new ee(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 qm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new Wm(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(w=e==null?void 0:e.countLimit)!=null?w:1e5,this.rowStyleType=(E=e==null?void 0:e.rowStyleType)!=null?E:"none",this.rowStyleBgColor=(_=e==null?void 0:e.rowStyleBgColor)!=null?_:"theme",this.rowStyleRules=(e==null?void 0:e.rowStyleRules)&&Array.isArray(e==null?void 0:e.rowStyleRules)?(v=(I=e==null?void 0:e.rowStyleRules)==null?void 0:I.map(T=>new uv(T)))!=null?v:[]:[],this.rowStyleRulesScript=(e==null?void 0:e.rowStyleRulesScript)&&Array.isArray(e==null?void 0:e.rowStyleRulesScript)?(R=(C=e==null?void 0:e.rowStyleRulesScript)==null?void 0:C.map(T=>new av(T)))!=null?R:[]:[]}}Fn.Rules=ww,Fn.RuntimeRules=_w;class iu extends q{constructor(e){super(e),this.props=new Fn(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"}}iu.excludes=[S.ROW],iu.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"],iu.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Cw extends U{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var os={Designer:iu,Runtime:Cw,Property:Fn};class Ew extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class uu extends j{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Pe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Pe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Pe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Pe((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 Pe(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new ee(e==null?void 0:e.datasourceBind)}}uu.RuntimeRules=Ew;class cs extends q{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}cs.excludes=[];class Iw extends U{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var ss={Designer:cs,Runtime:Iw,Property:uu};class Sw extends q{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Aw extends U{static get controlType(){return"page"}constructor(e){super(e)}}class Rw extends j{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 ds={Designer:Sw,Runtime:Aw,Property:Rw};class Bw extends q{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Tw extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Dw extends j{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ho(e==null?void 0:e.flexConfig)}}var fs={Designer:Bw,Runtime:Tw,Property:Dw};class Pw extends q{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class xw extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Fw extends j{constructor(e){super(e)}}var hs={Designer:Pw,Runtime:xw,Property:Fw};class Ow extends q{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class kw extends U{static get controlType(){return"position"}constructor(e){super(e)}}class Mw extends j{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 ys={Designer:Ow,Runtime:kw,Property:Mw};class dr extends j{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class fr extends q{constructor(e){var n;super(e),this.props=new dr((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}fr.excludes=[],fr.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class $w extends U{constructor(e){var n;super(e),this.props=new dr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var ms={Designer:fr,Runtime:$w,Property:dr},Lw=Object.freeze({__proto__:null,Grid:Kc,Col:zc,Row:Qc,GridRow:Xc,CardGroup:Jc,SubTableColumn:Yc,SubTableRow:pc,GridTableColumn:ts,GridLayoutContainer:ns,Tab:us,TabPane:is,Toolbox:ls,ListView:os,DataView:ss,Page:ds,AdvancedContainer:fs,PositioningContainer:hs,Position:ys,ActionBar:ms});class Nw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Vw extends qe{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const vs=class extends ii{constructor(t,e){var n,i,u,a,r,l,c,o,d,m,g,w,E,_,I,v,C,R,T,F,se,O,de,kn,Ae,bu,Mn,Bt,Re,Hs,qs;super(t,e,vs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:au.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(o=e==null?void 0:e.maxHeight)!=null?o:so,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(w=e==null?void 0:e.defaultRows)!=null?w:1,this.datasourceBind=new ee(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(_=e==null?void 0:e.canDelete)!=null?_:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(C=e==null?void 0:e.canImport)!=null?C:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(T=e==null?void 0:e.canClear)!=null?T:!0,this.serverPagination=(F=e==null?void 0:e.serverPagination)!=null?F:!1,this.isShowCaptionTip=(se=e==null?void 0:e.isShowCaptionTip)!=null?se:!1,this.captionTip=(O=e==null?void 0:e.captionTip)!=null?O:"",this.mobileShowType=(de=e==null?void 0:e.mobileShowType)!=null?de:"list",this.mobileDefaultNum=(kn=e==null?void 0:e.mobileDefaultNum)!=null?kn:10,this.dataStorageDoc=(Ae=e==null?void 0:e.dataStorageDoc)!=null?Ae:new Nm,this.fixedColumn=(bu=e==null?void 0:e.fixedColumn)!=null?bu:[],this.mobileRowCaption=(Mn=e==null?void 0:e.mobileRowCaption)!=null?Mn:"\u660E\u7EC6",this.mobileIsTile=(Bt=e==null?void 0:e.mobileIsTile)!=null?Bt:!1,this.isPaste=(Re=e==null?void 0:e.isPaste)!=null?Re:!1,this.pageSize=(Hs=e==null?void 0:e.pageSize)!=null?Hs:10,this.pageSizeOptions=(qs=e==null?void 0:e.pageSizeOptions)!=null?qs:[10,20,50,100]}};let On=vs;On.Rules=Nw,On.RuntimeRules=Vw;class au extends ya{constructor(e){var n,i;super(e),this.props=new On(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new me,new me,new me]),((i=e==null?void 0:e.props)==null?void 0:i.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new me,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}au.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],au.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class jw extends Ql{constructor(e){super(e),this.props=new On(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ft("Method not implemented.")}getChildrenFormControl(){return[]}}var gs={Designer:au,Runtime:jw,Property:On};class hr extends ii{constructor(e,n){var i,u,a,r,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class Hw extends _e{constructor(e){super(e),this.caption.required=!1}}class ru extends W{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Xe.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"}}ru.Rules=Hw;class Xe extends Y{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Xe.controlType="order-column",Xe.controlName="\u5E8F\u53F7",Xe.controlIcon="order-column",Xe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class yr extends p{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}yr.controlType="order-column",yr.controlFieldType=b.DECIMAL;var bs={Designer:Xe,Runtime:yr,Property:ru};class mr extends W{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Se.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Se extends Y{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Fi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return jr(this,null,function*(){return yield Vr(Se.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Se.controlType="operation-column",Se.controlName="\u64CD\u4F5C",Se.controlIcon="operation-column",Se.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class vr extends p{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="operation-column",vr.controlFieldType=b.FILE;var _s={Designer:Se,Runtime:vr,Property:mr};class lu extends ya{constructor(e){var n;super(e),this.props=new hr(this,e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Xe,new Se]),((n=e==null?void 0:e.props)==null?void 0:n.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Nr(ct({},e),{children:n})}validate(e,n){return jr(this,null,function*(){return yield Vr(lu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}lu.setting=[{key:"list-fixed-header",visible:!0}];class qw extends Ql{constructor(e){super(e),this.props=new hr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ft("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ws={Designer:lu,Runtime:qw,Property:hr},Uw=Object.freeze({__proto__:null,SubTable:gs,GridTable:ws});class Ww extends Xl{constructor(e){super(e),$e.call(this,e)}}class ou extends W{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new ee(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}ou.Rules=Ww;class Je extends Y{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Je.controlType="varchar-column",Je.controlName="\u77ED\u6587\u672C",Je.controlIcon="varchar-column",Je.controlFieldType=b.VARCHAR,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class gr extends p{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}gr.controlType="varchar-column",gr.controlFieldType=b.VARCHAR;var Cs={Designer:Je,Runtime:gr,Property:ou};class Kw extends _e{constructor(e){super(e),$e.call(this,e)}}class cu extends W{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ze.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption)}}cu.Rules=Kw;class Ze extends Y{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ze.controlType="text-column",Ze.controlName="\u957F\u6587\u672C",Ze.controlIcon="text-column",Ze.controlFieldType=b.TEXT,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class br extends p{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}br.controlType="text-column",br.controlFieldType=b.TEXT;var Es={Designer:Ze,Runtime:br,Property:cu};class zw extends _e{constructor(e){super(e),$e.call(this,e)}}class su extends W{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.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 ee(e==null?void 0:e.datasourceBind),this.options=Ee((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption)}}su.Rules=zw;class Ye extends Y{constructor(e){super(e),this.props=new su(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}}Ye.controlType="decimal-column",Ye.controlName="\u6570\u503C",Ye.controlIcon="decimal-column",Ye.controlFieldType=b.DECIMAL,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class _r extends p{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}_r.controlType="decimal-column",_r.controlFieldType=b.DECIMAL;var Is={Designer:Ye,Runtime:_r,Property:su};class Gw extends _e{constructor(e){super(e),$e.call(this,e)}}class du extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:pe.controlName}}du.Rules=Gw;class pe extends Y{constructor(e){super(e),this.props=new du(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}}pe.controlType="timescope-column",pe.controlName="\u65E5\u671F\u533A\u95F4",pe.controlIcon="timescope-column",pe.controlFieldType=b.TIMESCOPE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class wr extends p{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}wr.controlType="timescope-column",wr.controlFieldType=b.TIMESCOPE;var Ss={Designer:pe,Runtime:wr,Property:du};class Qw extends _e{constructor(e){super(e),$e.call(this,e)}}class fu extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}fu.Rules=Qw;class et extends Y{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}et.controlType="timestamp-column",et.controlName="\u65E5\u671F",et.controlIcon="timestamp-column",et.controlFieldType=b.TIMESTAMP,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Cr extends p{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Cr.controlType="timestamp-column",Cr.controlFieldType=b.TIMESTAMP;var As={Designer:et,Runtime:Cr,Property:fu};class Xw extends Xl{constructor(e){super(e),$e.call(this,e)}}class hu extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new ee(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.options=Ee((a=e==null?void 0:e.options)!=null?a:[{}])}}hu.Rules=Xw;class tt extends Y{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}tt.controlType="array-column",tt.controlName="\u6570\u7EC4",tt.controlIcon="array-column",tt.controlFieldType=b.ARRAY,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Er extends p{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Er.controlType="array-column",Er.controlFieldType=b.ARRAY;var Rs={Designer:tt,Runtime:Er,Property:hu};class Ir extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class nt extends Y{constructor(e){super(e),this.props=new Ir(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}}nt.controlType="department-column",nt.controlName="\u90E8\u95E8",nt.controlIcon="department-column",nt.controlFieldType=b.DEPARTMENTS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Sr extends p{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}Sr.controlType="department-column",Sr.controlFieldType=b.DEPARTMENTS;var Bs={Designer:nt,Runtime:Sr,Property:Ir};class Jw extends _e{constructor(e){super(e),$e.call(this,e)}}class yu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption)}}yu.Rules=Jw;class it extends Y{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}it.controlType="auto-number-column",it.controlName="\u81EA\u52A8\u7F16\u53F7",it.controlIcon="auto-number-column",it.controlFieldType=b.AUTO_NUMBER,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Ar extends p{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Ar.controlType="auto-number-column",Ar.controlFieldType=b.AUTO_NUMBER;var Ts={Designer:it,Runtime:Ar,Property:yu};class Rr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends Y{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}ut.controlType="file-column",ut.controlName="\u9644\u4EF6",ut.controlIcon="file-column",ut.controlFieldType=b.FILE,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Br extends p{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}Br.controlType="file-column",Br.controlFieldType=b.FILE;var Ds={Designer:ut,Runtime:Br,Property:Rr};class Tr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends Y{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}at.controlType="image-column",at.controlName="\u56FE\u7247",at.controlIcon="image-column",at.controlFieldType=b.IMAGE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Dr extends p{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}Dr.controlType="image-column",Dr.controlFieldType=b.IMAGE;var Ps={Designer:at,Runtime:Dr,Property:Tr};class Pr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends Y{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}}rt.controlType="people-column",rt.controlName="\u4EBA\u5458",rt.controlIcon="people-column",rt.controlFieldType=b.EMPLOYEES,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class xr extends p{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}}xr.controlType="people-column",xr.controlFieldType=b.EMPLOYEES;var xs={Designer:rt,Runtime:xr,Property:Pr};class Zw extends _e{constructor(e){super(e),$e.call(this,e)}}class mu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption)}}mu.Rules=Zw;class lt extends Y{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}lt.controlType="location-column",lt.controlName="\u5730\u5740",lt.controlIcon="location-column",lt.controlFieldType=b.ADDRESS,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Fr extends p{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Fr.controlType="location-column",Fr.controlFieldType=b.ADDRESS;var Fs={Designer:lt,Runtime:Fr,Property:mu};class Yw extends _e{constructor(e){super(e),this.sortFieldCode={type:"string",message:f.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class vu extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}vu.Rules=Yw;const pw=1;class je extends Y{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new vu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=Te(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}je.controlType="custom-column",je.controlName="\u81EA\u5B9A\u4E49",je.controlIcon="custom-column",je.excludes=[],je.childrenMaxLength=pw,je.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class Os extends p{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Os.controlType="custom-column";var ks={Designer:je,Runtime:Os,Property:vu};class Or extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.datasourceBind=new Hn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:He.controlCustomAttributes})}}class He extends Y{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}He.controlType="employee-column",He.controlName="\u4EBA\u5458",He.controlIcon="employee-column",He.controlFieldType=b.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class kr extends p{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}}kr.controlType="employee-column",kr.controlFieldType=b.EMPLOYEES;var Ms={Designer:He,Runtime:kr,Property:Or};class Mr extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ot extends Y{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}}ot.controlType="approval-status-column",ot.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ot.controlIcon="approval-status-column",ot.excludes=[],ot.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class $s extends p{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}}$s.controlType="approval-status-column";var Ls={Designer:ot,Runtime:$s,Property:Mr},eC=Object.freeze({__proto__:null,VarcharColumn:Cs,TextColumn:Es,DecimalColumn:Is,TimescopeColumn:Ss,TimestampColumn:As,ArrayColumn:Rs,DepartmentColumn:Bs,AutoNumberColumn:Ts,FileColumn:Ds,ImageColumn:Ps,PeopleColumn:xs,LocationColumn:Fs,CustomColumn:ks,OrderColumn:bs,OperationColumn:_s,EmployeeColumn:Ms,ApprovalStatusColumn:Ls});class tC extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class gu extends Aa{constructor(e){var n,i,u,a,r,l,c,o,d,m;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Pe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Pe((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(g=>new Pe(g)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24}}gu.RuntimeRules=tC;class $r extends eb{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}$r.controlType="simple-search",$r.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ns extends lb{constructor(e){var n;super(e),this.props=new gu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ns.controlType="simple-search";var Vs={Designer:$r,Runtime:Ns,Property:gu},nC=Object.freeze({__proto__:null,SimpleSearch:Vs});class Lr extends xa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class iC extends Cb{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class uC extends Tb{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function yC(t){return t}var aC={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},js={Designer:iC,Runtime:uC,Property:Lr,Setting:aC},rC=Object.freeze({__proto__:null,GridLayoutWrap:js});y.ActionBar=ms,y.Address=yc,y.AdvancedContainer=fs,y.Amount=sc,y.ApprovalStatusColumn=Ls,y.ArrayColumn=Rs,y.AssignType=Ne,y.Attachment=rc,y.AutoNumber=bc,y.AutoNumberColumn=Ts,y.BatchDeleteButton=Lo,y.BatchPrintListButton=ko,y.BatchPrintRecordListButton=Mo,y.BatchSubmissionListButton=_o,y.Button=ao,y.Calc=wc,y.CardGroup=Jc,y.Checkbox=Ho,y.Col=zc,y.CreateFormListButton=bo,y.CustomColumn=ks,y.DATE_CONFIG_TYPE=ro,y.DATE_LIMIT_TYPE=lo,y.Dashboard=Do,y.DataView=ss,y.DatePicker=Go,y.DateRange=Xo,y.DecimalColumn=Is,y.Department=vc,y.Department2=Hc,y.DepartmentColumn=Bs,y.DepartmentType=_i,y.Divider=vo,y.ElectronicSignature=Lc,y.ElectronicSignatureConfig=oo,y.Employee=ac,y.Employee2=Mc,y.EmployeeColumn=Ms,y.EncryptTypeEnum=yo,y.Explain=bi,y.ExportListButton=Co,y.ExportRecordListButton=Eo,y.ExportTemplate=qa,y.FileColumn=Ds,y.FlexStyleConfig=ho,y.FormSelectButton=So,y.Grid=Kc,y.GridLayoutContainer=ns,y.GridLayoutWrap=js,y.GridRow=Xc,y.GridTable=ws,y.GridTableColumn=ts,y.Image=oc,y.ImageColumn=Ps,y.ImportRecordListButton=Io,y.Input=Vo,y.InternalType=Ka,y.InvoiceCheckButton=Oo,y.LINE_STYLE=ja,y.LimitDate=gi,y.Link=uo,y.ListSelectButton=Ao,y.ListView=os,y.ListViewSelect=xo,y.LocationColumn=Fs,y.Number=Ko,y.OperationButton=$o,y.OperationColumn=_s,y.OrderColumn=bs,y.OrganizationSelection=Uc,y.OrganizeType=Wa,y.Page=ds,y.Pagination=Bo,y.PeopleColumn=xs,y.Position=ys,y.PositioningContainer=hs,y.PrintTemplate=fo,y.Radio=Uo,y.RichText=po,y.Row=Qc,y.SCORE_TYPE=Va,y.SUBTABLE_DEFAULT_MAX_HEIGHT=so,y.Score=fc,y.SearchDateRange=Sc,y.SearchInput=xc,y.SearchNumberRange=Ec,y.Select=tc,y.SelectMultiple=ic,y.SelectRelation=Tc,y.SimpleSearch=Vs,y.SubTable=gs,y.SubTableColumn=Yc,y.SubTableRow=pc,y.SubmissionRecordListButton=wo,y.Tab=us,y.TabPane=is,y.Text=io,y.TextColumn=Es,y.TextOcrButton=Fo,y.Textarea=Zo,y.TimescopeColumn=Ss,y.TimestampColumn=As,y.Title=go,y.TitleConfigEnum=Le,y.Toolbox=ls,y.Tree=Oc,y.UndersignedPerson=Ha,y.VarcharColumn=Cs,y.VueFormItem=Rc,y.WPS=Vc,y.WPSSetting=co,y.WpsOperationItem=Ua,y.baseControls=s_,y.columnControls=eC,y.formControls=uw,y.initExpression=Ht,y.layoutControls=Lw,y.listControls=Uw,y.searchControls=nC,y.wrapControls=rC,Object.defineProperty(y,"__esModule",{value:!0})});
|