@byteluck-fe/model-driven-controls 2.7.0-alpha.16 → 2.7.0-alpha.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var RE=Object.defineProperty,TE=Object.defineProperties;var BE=Object.getOwnPropertyDescriptors;var fs=Object.getOwnPropertySymbols;var PE=Object.prototype.hasOwnProperty,DE=Object.prototype.propertyIsEnumerable;var hs=(y,W,Q)=>W in y?RE(y,W,{enumerable:!0,configurable:!0,writable:!0,value:Q}):y[W]=Q,Fe=(y,W)=>{for(var Q in W||(W={}))PE.call(W,Q)&&hs(y,Q,W[Q]);if(fs)for(var Q of fs(W))DE.call(W,Q)&&hs(y,Q,W[Q]);return y},Fn=(y,W)=>TE(y,BE(W));var gr=(y,W,Q)=>new Promise((ye,On)=>{var ru=_e=>{try{Bt(Q.next(_e))}catch(Pt){On(Pt)}},lu=_e=>{try{Bt(Q.throw(_e))}catch(Pt){On(Pt)}},Bt=_e=>_e.done?ye(_e.value):Promise.resolve(_e.value).then(ru,lu);Bt((Q=Q.apply(y,W)).next())});(function(y,W){typeof exports=="object"&&typeof module!="undefined"?W(exports):typeof define=="function"&&define.amd?define(["exports"],W):(y=typeof globalThis!="undefined"?globalThis:y||self,W(y.modelDrivenControls={}))})(this,function(y){"use strict";var W=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Q={exports:{}};(function(t){var e=function(n){var u=Object.prototype,a=u.hasOwnProperty,r=Object.defineProperty||function(E,C,w){E[C]=w.value},l,o=typeof Symbol=="function"?Symbol:{},s=o.iterator||"@@iterator",d=o.asyncIterator||"@@asyncIterator",m=o.toStringTag||"@@toStringTag";function h(E,C,w){return Object.defineProperty(E,C,{value:w,enumerable:!0,configurable:!0,writable:!0}),E[C]}try{h({},"")}catch(E){h=function(C,w,F){return C[w]=F}}function g(E,C,w,F){var P=C&&C.prototype instanceof A?C:A,V=Object.create(P.prototype),oe=new yr(F||[]);return r(V,"_invoke",{value:ft(E,w,oe)}),V}n.wrap=g;function S(E,C,w){try{return{type:"normal",arg:E.call(C,w)}}catch(F){return{type:"throw",arg:F}}}var T="suspendedStart",I="suspendedYield",B="executing",v="completed",_={};function A(){}function k(){}function x(){}var te={};h(te,s,function(){return this});var L=Object.getPrototypeOf,Z=L&&L(L(mr([])));Z&&Z!==u&&a.call(Z,s)&&(te=Z);var me=x.prototype=A.prototype=Object.create(te);k.prototype=x,r(me,"constructor",{value:x,configurable:!0}),r(x,"constructor",{value:k,configurable:!0}),k.displayName=h(x,m,"GeneratorFunction");function ve(E){["next","throw","return"].forEach(function(C){h(E,C,function(w){return this._invoke(C,w)})})}n.isGeneratorFunction=function(E){var C=typeof E=="function"&&E.constructor;return C?C===k||(C.displayName||C.name)==="GeneratorFunction":!1},n.mark=function(E){return Object.setPrototypeOf?Object.setPrototypeOf(E,x):(E.__proto__=x,h(E,m,"GeneratorFunction")),E.prototype=Object.create(me),E},n.awrap=function(E){return{__await:E}};function Pe(E,C){function w(V,oe,ce,ge){var se=S(E[V],E,oe);if(se.type==="throw")ge(se.arg);else{var vr=se.arg,Dn=vr.value;return Dn&&typeof Dn=="object"&&a.call(Dn,"__await")?C.resolve(Dn.__await).then(function(ht){w("next",ht,ce,ge)},function(ht){w("throw",ht,ce,ge)}):C.resolve(Dn).then(function(ht){vr.value=ht,ce(vr)},function(ht){return w("throw",ht,ce,ge)})}}var F;function P(V,oe){function ce(){return new C(function(ge,se){w(V,oe,ge,se)})}return F=F?F.then(ce,ce):ce()}r(this,"_invoke",{value:P})}ve(Pe.prototype),h(Pe.prototype,d,function(){return this}),n.AsyncIterator=Pe,n.async=function(E,C,w,F,P){P===void 0&&(P=Promise);var V=new Pe(g(E,C,w,F),P);return n.isGeneratorFunction(C)?V:V.next().then(function(oe){return oe.done?oe.value:V.next()})};function ft(E,C,w){var F=T;return function(V,oe){if(F===B)throw new Error("Generator is already running");if(F===v){if(V==="throw")throw oe;return AE()}for(w.method=V,w.arg=oe;;){var ce=w.delegate;if(ce){var ge=De(ce,w);if(ge){if(ge===_)continue;return ge}}if(w.method==="next")w.sent=w._sent=w.arg;else if(w.method==="throw"){if(F===T)throw F=v,w.arg;w.dispatchException(w.arg)}else w.method==="return"&&w.abrupt("return",w.arg);F=B;var se=S(E,C,w);if(se.type==="normal"){if(F=w.done?v:I,se.arg===_)continue;return{value:se.arg,done:w.done}}else se.type==="throw"&&(F=v,w.method="throw",w.arg=se.arg)}}}function De(E,C){var w=C.method,F=E.iterator[w];if(F===l)return C.delegate=null,w==="throw"&&E.iterator.return&&(C.method="return",C.arg=l,De(E,C),C.method==="throw")||w!=="return"&&(C.method="throw",C.arg=new TypeError("The iterator does not provide a '"+w+"' method")),_;var P=S(F,E.iterator,C.arg);if(P.type==="throw")return C.method="throw",C.arg=P.arg,C.delegate=null,_;var V=P.arg;if(!V)return C.method="throw",C.arg=new TypeError("iterator result is not an object"),C.delegate=null,_;if(V.done)C[E.resultName]=V.value,C.next=E.nextLoc,C.method!=="return"&&(C.method="next",C.arg=l);else return V;return C.delegate=null,_}ve(me),h(me,m,"Generator"),h(me,s,function(){return this}),h(me,"toString",function(){return"[object Generator]"});function we(E){var C={tryLoc:E[0]};1 in E&&(C.catchLoc=E[1]),2 in E&&(C.finallyLoc=E[2],C.afterLoc=E[3]),this.tryEntries.push(C)}function Tt(E){var C=E.completion||{};C.type="normal",delete C.arg,E.completion=C}function yr(E){this.tryEntries=[{tryLoc:"root"}],E.forEach(we,this),this.reset(!0)}n.keys=function(E){var C=Object(E),w=[];for(var F in C)w.push(F);return w.reverse(),function P(){for(;w.length;){var V=w.pop();if(V in C)return P.value=V,P.done=!1,P}return P.done=!0,P}};function mr(E){if(E||E===""){var C=E[s];if(C)return C.call(E);if(typeof E.next=="function")return E;if(!isNaN(E.length)){var w=-1,F=function P(){for(;++w<E.length;)if(a.call(E,w))return P.value=E[w],P.done=!1,P;return P.value=l,P.done=!0,P};return F.next=F}}throw new TypeError(typeof E+" is not iterable")}n.values=mr;function AE(){return{value:l,done:!0}}return yr.prototype={constructor:yr,reset:function(E){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(Tt),!E)for(var C in this)C.charAt(0)==="t"&&a.call(this,C)&&!isNaN(+C.slice(1))&&(this[C]=l)},stop:function(){this.done=!0;var E=this.tryEntries[0],C=E.completion;if(C.type==="throw")throw C.arg;return this.rval},dispatchException:function(E){if(this.done)throw E;var C=this;function w(ge,se){return V.type="throw",V.arg=E,C.next=ge,se&&(C.method="next",C.arg=l),!!se}for(var F=this.tryEntries.length-1;F>=0;--F){var P=this.tryEntries[F],V=P.completion;if(P.tryLoc==="root")return w("end");if(P.tryLoc<=this.prev){var oe=a.call(P,"catchLoc"),ce=a.call(P,"finallyLoc");if(oe&&ce){if(this.prev<P.catchLoc)return w(P.catchLoc,!0);if(this.prev<P.finallyLoc)return w(P.finallyLoc)}else if(oe){if(this.prev<P.catchLoc)return w(P.catchLoc,!0)}else if(ce){if(this.prev<P.finallyLoc)return w(P.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(E,C){for(var w=this.tryEntries.length-1;w>=0;--w){var F=this.tryEntries[w];if(F.tryLoc<=this.prev&&a.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var P=F;break}}P&&(E==="break"||E==="continue")&&P.tryLoc<=C&&C<=P.finallyLoc&&(P=null);var V=P?P.completion:{};return V.type=E,V.arg=C,P?(this.method="next",this.next=P.finallyLoc,_):this.complete(V)},complete:function(E,C){if(E.type==="throw")throw E.arg;return E.type==="break"||E.type==="continue"?this.next=E.arg:E.type==="return"?(this.rval=this.arg=E.arg,this.method="return",this.next="end"):E.type==="normal"&&C&&(this.next=C),_},finish:function(E){for(var C=this.tryEntries.length-1;C>=0;--C){var w=this.tryEntries[C];if(w.finallyLoc===E)return this.complete(w.completion,w.afterLoc),Tt(w),_}},catch:function(E){for(var C=this.tryEntries.length-1;C>=0;--C){var w=this.tryEntries[C];if(w.tryLoc===E){var F=w.completion;if(F.type==="throw"){var P=F.arg;Tt(w)}return P}}throw new Error("illegal catch attempt")},delegateYield:function(E,C,w){return this.delegate={iterator:mr(E),resultName:C,nextLoc:w},this.method==="next"&&(this.arg=l),_}},n}(t.exports);try{regeneratorRuntime=e}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})(Q);var ye=Q.exports,On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ru="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",lu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Bt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",_e="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Pt="{caption}\u5FC5\u586B",ys="\u8BF7\u8F93\u5165\u6807\u9898",ms="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",vs="\u8BF7\u8F93\u5165\u884C\u6807\u9898",gs="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",bs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Cs="\u8BF7\u7ED1\u5B9A\u8868\u5355",Es="\u8BF7\u7ED1\u5B9A\u5217\u8868",ws="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Is="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ss="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",_s="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",As="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Rs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ts="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Bs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ps="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ds="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Fs="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Os="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",xs="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ks="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ms="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ls="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ns="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",$s="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Vs="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",js="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Hs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",qs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Us="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ws="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Gs="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",zs="\u8BF7\u9009\u62E9\u7701",Ks="\u8BF7\u9009\u62E9\u5E02",Xs="\u8BF7\u9009\u62E9\u533A",Qs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Js="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Zs="\u8BF7\u8F93\u5165\u5217\u5BBD",Ys="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ps="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ed="\u8BF7\u9009\u62E9\u63A7\u4EF6",td="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",nd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",id="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ud="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ad="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",rd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ld="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",od="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",cd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",fd="\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",yd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",md="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",vd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",gd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",bd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ed="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",wd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Id="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Sd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",_d="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Ad="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Rd="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Td={isNotNumber:On,isNotString:ru,isNotObject:lu,isNotArray:Bt,isNotBoolean:_e,runtimeRequired:Pt,pleaseEnterCaption:ys,pleaseEnterCaptionTip:ms,pleaseEnterRowCaption:vs,pleaseEnterPlaceholder:gs,pleaseEnterFieldCode:bs,pleaseEnterForm:Cs,pleaseEnterList:Es,pleaseEnterProcess:ws,pleaseEnterLabel:Is,pleaseEnterValue:Ss,bizKeyNotBindFiled:_s,pleaseSelectOneField:As,pleaseEnterNumberRange:Rs,pleaseEnterAValueGreaterThanMin:Ts,pleaseEnterAValueLessThanMax:Bs,numberRangeSetError:Ps,stringRangeError:Ds,attachmentMaxSize:Fs,pleaseEnterTotalScoreSetting:Os,theTotalScoreMustNotBeLessThan1:xs,scoreDefaultValueRange:ks,attachmentLimitError:Ms,PleaseReselectTheOptionalQuantity:Ls,TheMaximumLengthIsGreaterThanTheMinimumLength:Ns,TheMinimumLengthIsGreaterThanTheMaximumLength:$s,PleaseSelectTheCorrectOptionSettings:Vs,optionIdIsRepeat:js,optionIsRequired:Hs,pleaseEnterDataCode:qs,pleaseEnterValueFieldCode:Us,pleaseEnterSvcCode:Ws,pleaseBindAtLeastOneDisplayValue:Gs,pleaseSelectProvince:zs,pleaseSelectCity:Ks,pleaseSelectDistrict:Xs,limitRowsCannotBeLessThan0:Qs,TheNumberOfRowsCannotBeLessThanMinRows:Js,pleaseEnterColumnWidth:Zs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ys,pleaseCompleteAllRulesAndConditions:ps,pleaseSelectControl:ed,pleaseSelectAtLeastOneColumn:td,pleaseSelectFillBackMode:nd,pleaseSelectDashboard:id,rootNodeIsRequired:ud,theViewNameCannotBeEmpty:ad,pleaseSelectOcrType:rd,pleaseSelectAtLeastOneFieldToFillIn:ld,pleaseChooseAtLeastOne:od,pleaseEnterButtonContent:cd,pleaseEnterDataCodeInDataSetting:sd,pleaseEnterValueFieldCodeInDataSetting:dd,pleaseEnterSvcCodeInDataSetting:fd,pleaseBindAtLeastOneDisplayValueInDataSetting:hd,rootNodeIsRequiredInDataSetting:yd,pleaseEnterMaxHeight:md,pleaseEnter:vd,pleaseEnterWatermark:gd,pleaseEnterFileName:bd,pleaseUploadAtLeastOnePrintTemplate:Cd,pleaseAssignBusiness:Ed,pleaseAssignExternal:wd,pleaseEnterAliasCode:Id,pleaseSelectDataCode:Sd,pleaseSelectSvcCode:_d,pleaseSelectJoinFieldCode:Ad,pleaseSelectMainFieldCode:Rd},Bd="Please enter a number",Pd="Please enter a string",Dd="Please enter an object",Fd="Please enter an array",Od="Please enter a boolean",xd="{caption} Required",kd="Please enter the title",Md="Please enter the bubble prompt",Ld="Please enter the row title",Nd="Please enter the prompt text",$d="Please bind data items",Vd="Please bind the form",jd="Please bind the list",Hd="Please bind the process",qd="Please enter the displayed value",Ud="Please enter the stored value",Wd="The document number is not bound to the data item",Gd="Please select at least one display field",zd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Kd="Please enter a value greater than or equal to {min}",Xd="Please enter a value less than or equal to {max}",Qd="The value range is set incorrectly",Jd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Zd="The attachment size must be between 0MB and 1000MB",Yd="Please fill in the total score setting",pd="The total score cannot be less than 1",ef="The default value must be between {min} and {max}",tf="The number of attachments uploaded must be between {min} and {max}",nf="Please re-select the optional quantity",uf="The maximum length of the control must be greater than the minimum length",af="The minimum length of the control must be less than the maximum length",rf="Please select the correct option setting",lf="Option ID cannot be repeated",of="Please enter at least one option",cf="Please bind the data source",sf="Please bind the stored value",df="Please bind the service",ff="At least one display value must be bound",hf="Please select a province",yf="Please select a city",mf="Please select a district",vf="The minimum number of lines to fill in cannot be less than 0",gf="The number of rows cannot be less than {min} rows",bf="Please enter the column width",Cf="Please set the logical relationship of all rule conditions",Ef="Please complete all rules and conditions",wf="please select control",If="Please select the dashboard",Sf="View name cannot be empty",_f="Please select recognition type",Af="Please select at least one field to fill in",Rf="Please select at least one",Tf="Please enter the button title",Bf="Please bind the business model in the data settings",Pf="Please bind storage values in data settings",Df="Please bind the service in the data settings",Ff="Please bind at least one display value in the data settings",Of="Please select the root node in the data settings",xf="Please enter the maximum height",kf="The input content cannot be empty",Mf="Watermark cannot be empty",Lf="File name cannot be empty",Nf="Please upload at least one printing template!\uFF01",$f="Please select a specific business department",Vf="Please select a specified external organization",jf="Please enter a sub table alias",Hf="Please select the associated table to set the business model",qf="Please select the association table to set the binding service",Uf="Select associated sub table fields",Wf="Please select the associated main table field",Gf={isNotNumber:Bd,isNotString:Pd,isNotObject:Dd,isNotArray:Fd,isNotBoolean:Od,runtimeRequired:xd,pleaseEnterCaption:kd,pleaseEnterCaptionTip:Md,pleaseEnterRowCaption:Ld,pleaseEnterPlaceholder:Nd,pleaseEnterFieldCode:$d,pleaseEnterForm:Vd,pleaseEnterList:jd,pleaseEnterProcess:Hd,pleaseEnterLabel:qd,pleaseEnterValue:Ud,bizKeyNotBindFiled:Wd,pleaseSelectOneField:Gd,pleaseEnterNumberRange:zd,pleaseEnterAValueGreaterThanMin:Kd,pleaseEnterAValueLessThanMax:Xd,numberRangeSetError:Qd,stringRangeError:Jd,attachmentMaxSize:Zd,pleaseEnterTotalScoreSetting:Yd,theTotalScoreMustNotBeLessThan1:pd,scoreDefaultValueRange:ef,attachmentLimitError:tf,PleaseReselectTheOptionalQuantity:nf,TheMaximumLengthIsGreaterThanTheMinimumLength:uf,TheMinimumLengthIsGreaterThanTheMaximumLength:af,PleaseSelectTheCorrectOptionSettings:rf,optionIdIsRepeat:lf,optionIsRequired:of,pleaseEnterDataCode:cf,pleaseEnterValueFieldCode:sf,pleaseEnterSvcCode:df,pleaseBindAtLeastOneDisplayValue:ff,pleaseSelectProvince:hf,pleaseSelectCity:yf,pleaseSelectDistrict:mf,limitRowsCannotBeLessThan0:vf,TheNumberOfRowsCannotBeLessThanMinRows:gf,pleaseEnterColumnWidth:bf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Cf,pleaseCompleteAllRulesAndConditions:Ef,pleaseSelectControl:wf,pleaseSelectDashboard:If,theViewNameCannotBeEmpty:Sf,pleaseSelectOcrType:_f,pleaseSelectAtLeastOneFieldToFillIn:Af,pleaseChooseAtLeastOne:Rf,pleaseEnterButtonContent:Tf,pleaseEnterDataCodeInDataSetting:Bf,pleaseEnterValueFieldCodeInDataSetting:Pf,pleaseEnterSvcCodeInDataSetting:Df,pleaseBindAtLeastOneDisplayValueInDataSetting:Ff,rootNodeIsRequiredInDataSetting:Of,pleaseEnterMaxHeight:xf,pleaseEnter:kf,pleaseEnterWatermark:Mf,pleaseEnterFileName:Lf,pleaseUploadAtLeastOnePrintTemplate:Nf,pleaseAssignBusiness:$f,pleaseAssignExternal:Vf,pleaseEnterAliasCode:jf,pleaseSelectDataCode:Hf,pleaseSelectSvcCode:qf,pleaseSelectJoinFieldCode:Uf,pleaseSelectMainFieldCode:Wf},zf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Xf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zf="{caption}\u5FC5\u9808",Yf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",th="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ih="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ah="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ch="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",dh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",yh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vh="\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",bh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ch="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Eh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wh="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ih="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Sh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_h="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ah="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Rh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Th="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ph="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Dh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Fh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Oh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Mh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Nh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",$h="please select control",Vh="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jh="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Hh="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qh="\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",Uh="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wh="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",zh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Kh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Xh="\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",Qh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Jh="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zh="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Yh="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ph="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ey="\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",ty="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ny="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",iy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",ay="\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",ry="\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",oy={isNotNumber:zf,isNotString:Kf,isNotObject:Xf,isNotArray:Qf,isNotBoolean:Jf,runtimeRequired:Zf,pleaseEnterCaption:Yf,pleaseEnterCaptionTip:pf,pleaseEnterRowCaption:eh,pleaseEnterPlaceholder:th,pleaseEnterFieldCode:nh,pleaseEnterForm:ih,pleaseEnterList:uh,pleaseEnterProcess:ah,pleaseEnterLabel:rh,pleaseEnterValue:lh,bizKeyNotBindFiled:oh,pleaseSelectOneField:ch,pleaseEnterNumberRange:sh,pleaseEnterAValueGreaterThanMin:dh,pleaseEnterAValueLessThanMax:fh,numberRangeSetError:hh,stringRangeError:yh,attachmentMaxSize:mh,pleaseEnterTotalScoreSetting:vh,theTotalScoreMustNotBeLessThan1:gh,scoreDefaultValueRange:bh,attachmentLimitError:Ch,PleaseReselectTheOptionalQuantity:Eh,TheMaximumLengthIsGreaterThanTheMinimumLength:wh,TheMinimumLengthIsGreaterThanTheMaximumLength:Ih,PleaseSelectTheCorrectOptionSettings:Sh,optionIdIsRepeat:_h,optionIsRequired:Ah,pleaseEnterDataCode:Rh,pleaseEnterValueFieldCode:Th,pleaseEnterSvcCode:Bh,pleaseBindAtLeastOneDisplayValue:Ph,pleaseSelectProvince:Dh,pleaseSelectCity:Fh,pleaseSelectDistrict:Oh,limitRowsCannotBeLessThan0:xh,TheNumberOfRowsCannotBeLessThanMinRows:kh,pleaseEnterColumnWidth:Mh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Lh,pleaseCompleteAllRulesAndConditions:Nh,pleaseSelectControl:$h,pleaseSelectDashboard:Vh,theViewNameCannotBeEmpty:jh,pleaseSelectOcrType:Hh,pleaseSelectAtLeastOneFieldToFillIn:qh,pleaseChooseAtLeastOne:Uh,pleaseEnterButtonContent:Wh,pleaseEnterDataCodeInDataSetting:Gh,pleaseEnterValueFieldCodeInDataSetting:zh,pleaseEnterSvcCodeInDataSetting:Kh,pleaseBindAtLeastOneDisplayValueInDataSetting:Xh,rootNodeIsRequiredInDataSetting:Qh,pleaseEnterMaxHeight:Jh,pleaseEnter:Zh,pleaseEnterWatermark:Yh,pleaseEnterFileName:ph,pleaseUploadAtLeastOnePrintTemplate:ey,pleaseAssignBusiness:ty,pleaseAssignExternal:ny,pleaseEnterAliasCode:iy,pleaseSelectDataCode:uy,pleaseSelectSvcCode:ay,pleaseSelectJoinFieldCode:ry,pleaseSelectMainFieldCode:ly},cy={zhCN:Td,enUS:Gf,jaJP:oy},br;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(br||(br={}));var Cr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Cr||(Cr={}));var sy="zh-CN";function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Er;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Er||(Er={}));var R;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.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"})(R||(R={}));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 ue;ue={},de(ue,b.ARRAY,R.ARRAY_COLUMN),de(ue,b.AUTO_NUMBER,R.AUTO_NUMBER_COLUMN),de(ue,b.DECIMAL,R.DECIMAL_COLUMN),de(ue,b.DEPARTMENTS,R.DEPARTMENT_COLUMN),de(ue,b.FILE,R.FILE_COLUMN),de(ue,b.IMAGE,R.IMAGE_COLUMN),de(ue,b.ADDRESS,R.LOCATION_COLUMN),de(ue,b.EMPLOYEES,R.EMPLOYEE_COLUMN),de(ue,b.TEXT,R.TEXT_COLUMN),de(ue,b.TIMESCOPE,R.TIMESCOPE_COLUMN),de(ue,b.TIMESTAMP,R.TIMESTAMP_COLUMN),de(ue,b.VARCHAR,R.VARCHAR_COLUMN),de(ue,b.RELATION,R.VARCHAR_COLUMN);var Oe;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Oe||(Oe={}));var wr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",dy=wr+"0123456789";function Ae(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?wr:dy,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function fy(t){if(Array.isArray(t))return ou(t)}function hy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ir(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function xn(t,e,n){return yy()?xn=Reflect.construct:xn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&Ft(d,l.prototype),d},xn.apply(null,arguments)}function Dt(t){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dt(t)}function Sr(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&&Ft(t,e)}function my(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function by(t,e){return e&&(Cy(e)==="object"||typeof e=="function")?e:hy(t)}function Ft(t,e){return Ft=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ft(t,e)}function _r(t){return fy(t)||vy(t)||Ey(t)||gy()}var Cy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ey(t,e){if(!!t){if(typeof t=="string")return ou(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 ou(t,e)}}function cu(t){var e=typeof Map=="function"?new Map:void 0;return cu=function(u){if(u===null||!my(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return xn(u,arguments,Dt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Ft(a,u)},cu(t)}function wy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ar(t){var e=wy();return function(){var u=Dt(t),a;if(e){var r=Dt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return by(this,a)}}var su=console;function Iy(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=su).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(_r(a)))}function Rr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=su).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(_r(a)))}function Sy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var du=function(t){Sr(n,t);var e=Ar(n);function n(u){Ir(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?Sy(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(cu(Error)),_y=function(t){Sr(n,t);var e=Ar(n);function n(u){Ir(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(du);function Tr(t){throw new du(t)}function Br(t){throw new _y(t)}function Ay(t){su.error(new du(t))}var Ry=Object.prototype.toString;function Pr(t,e){return Ry.call(t)==="[object "+e+"]"}function Ty(t){return Pr(t,"String")}function By(t){return Pr(t,"Promise")}var Py=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),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 u=this.getMessageData();By(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,r,l,o){if(a!==void 0){var s=a[r];if(!(l===o.length-1&&!Ty(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var r=n[a];return r!==void 0?String(r):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=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 Dy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Fy(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}var f=function(){function t(){Dy(this,t)}return Fy(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sy;return new Py({locale:n,messages:cy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function Oy(t,e,n){var u=e.replace(/\[(\d)]/g,function(r,l){return"."+l}).split("."),a=!1;return u.reduce(function(r,l,o,s){var d=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,l)){Iy("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),r,r);return}return o===s.length-1&&!Object.is(d[l],n)&&(d[l]=n,a=!0),d[l]}},t),a}var xy={exports:{}};(function(t){(function(e){var n=function(v,_,A){if(!d(_)||h(_)||g(_)||S(_)||s(_))return _;var k,x=0,te=0;if(m(_))for(k=[],te=_.length;x<te;x++)k.push(n(v,_[x],A));else{k={};for(var L in _)Object.prototype.hasOwnProperty.call(_,L)&&(k[v(L,A)]=n(v,_[L],A))}return k},u=function(v,_){_=_||{};var A=_.separator||"_",k=_.split||/(?=[A-Z])/;return v.split(k).join(A)},a=function(v){return T(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,A){return A?A.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},r=function(v){var _=a(v);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(v,_){return u(v,_).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},d=function(v){return v===Object(v)},m=function(v){return o.call(v)=="[object Array]"},h=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},S=function(v){return o.call(v)=="[object Boolean]"},T=function(v){return v=v-0,v===v},I=function(v,_){var A=_&&"process"in _?_.process:_;return typeof A!="function"?v:function(k,x){return A(k,v,x)}},B={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(v,_){return n(I(a,_),v)},decamelizeKeys:function(v,_){return n(I(l,_),v,_)},pascalizeKeys:function(v,_){return n(I(r,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(W)})(xy);var Fr={};Object.defineProperty(Fr,"__esModule",{value:!0});function fu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:fu(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:fu(u)}return e}}var ky=Fr.default=fu;function xe(t){if(t!==void 0)return typeof t=="object"?ky(t):t}function My(t){return Object.prototype.toString.call(t)==="[object Object]"}function hu(t){return Array.isArray(t)}function Ly(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function yu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Ny(t){if(Array.isArray(t))return yu(t)}function Or(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function $y(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Or(r,u,a,l,o,"next",s)}function o(s){Or(r,u,a,l,o,"throw",s)}l(void 0)})}}function Vy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function jy(t,e,n){return e&&xr(t.prototype,e),n&&xr(t,n),t}function Hy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function mu(t){return Ny(t)||Hy(t)||Uy(t)||qy()}function Uy(t,e){if(!!t){if(typeof t=="string")return yu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yu(t,e)}}var Wy=function(){function t(){Vy(this,t),this._events=new Map,this.debug=!1}return jy(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return $y(ye.mark(function o(){var s,d,m,h,g,S,T,I,B,v;return ye.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(s=l._events.get(n),d=[],!s){A.next=42;break}m=s.slice(),h=!0,g=!1,S=void 0,A.prev=5,T=m[Symbol.iterator]();case 7:if(h=(I=T.next()).done){A.next=28;break}if(B=I.value,s.includes(B)){A.next=11;break}return A.abrupt("continue",25);case 11:return A.prev=11,l.debug&&Rr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(mu(a))),A.next=15,B.apply(null,mu(a));case 15:if(v=A.sent,l.debug&&Rr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(mu(a),[v])),d.push(v),v!==!1){A.next=20;break}return A.abrupt("break",28);case 20:A.next=25;break;case 22:A.prev=22,A.t0=A.catch(11),Ay(String(A.t0)+":"+String(A.t0.stack));case 25:h=!0,A.next=7;break;case 28:A.next=34;break;case 30:A.prev=30,A.t1=A.catch(5),g=!0,S=A.t1;case 34:A.prev=34,A.prev=35,!h&&T.return!=null&&T.return();case 37:if(A.prev=37,!g){A.next=40;break}throw S;case 40:return A.finish(37);case 41:return A.finish(34);case 42:return A.abrupt("return",d);case 43:case"end":return A.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}(),Gy=[];new Set(Gy.map(function(t){return t.Designer.controlType}));function kr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function be(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vu(t,e)}function zy(t,e){return e&&(Ky(e)==="object"||typeof e=="function")?e:kr(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},vu(t,e)}var Ky=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xy(){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 Ce(t){var e=Xy();return function(){var u=kn(t),a;if(e){var r=kn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return zy(this,a)}}var Ie=function t(e){D(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"",this.aliasCode=e==null?void 0:e.aliasCode},Mr=function t(e){D(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},gu=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:240;var l;return a.widthType=(l=u==null?void 0:u.widthType)!==null&&l!==void 0?l:"auto",a}return n}(Mr),Qy=function t(e){D(this,t),this.pc=new gu(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new gu(e==null?void 0:e.mobile):new gu({width:130,minWidth:180})},Jy=function t(e){D(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var u;this.customOptions=(u=e==null?void 0:e.customOptions)!==null&&u!==void 0?u:[]},yt=function t(e){D(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},Zy=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;a=e.call(this,u);var r;return a.primaryControlId=(r=u==null?void 0:u.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(yt),Lr=function t(e){D(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},bu=function t(e){D(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Lr(l)}))!==null&&r!==void 0?r:[]},Yy=function t(e){D(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:b.VARCHAR},py=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;a=e.call(this,u);var r;a.title=(r=u==null?void 0:u.title)!==null&&r!==void 0?r:"";var l;a.svcCode=(l=u==null?void 0:u.svcCode)!==null&&l!==void 0?l:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(yt),em=function t(e){D(this,t);var n,u;this.type="sublist-page",this.formBind=new yt(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new Yy(l)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(l){return new py(l)}))!==null&&r!==void 0?r:[]},tm=function t(e){D(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},Ot=function t(e){D(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},Nr=function t(e){D(this,t),this.type="conditions";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ae();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;if(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)){var l=this;e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=l.children)===null||s===void 0||s.push(d)}else{var m,h=new Cu(o);(m=l.children)===null||m===void 0||m.push(h)}})}},Cu=function t(e){D(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ae();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new tm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ot(e==null?void 0:e.rightVariableBo)},nm=function t(e){D(this,t);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind);var u;this.relationFields=(u=e==null?void 0:e.relationFields)!==null&&u!==void 0?u:[]},le=function t(e){D(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Eu=function t(e){D(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},im=function t(e){D(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function wu(t){var e,n,u,a,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(s){return s.children!==void 0?new Nr(s):new Cu(s)}))!==null&&r!==void 0?r:[];var l;this.viewFilters=(l=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new Nr(s):new Cu(s)}))!==null&&l!==void 0?l:[];var o;this.orders=(o=(u=t)===null||u===void 0||(a=u.orders)===null||a===void 0?void 0:a.map(function(s){return new im(s)}))!==null&&o!==void 0?o:[]}var ne=function t(e){D(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";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;if(this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)){var l=this;e==null||e.displayBoList.map(function(m){var h;(h=l.displayBoList)===null||h===void 0||h.push(new Eu(m))})}var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var d;this.svcCode=(d=e==null?void 0:e.svcCode)!==null&&d!==void 0?d:"",wu.call(this,e)},Iu=function t(e){D(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.displayBoList=(u=e==null?void 0:e.displayBoList)!==null&&u!==void 0?u:[]},ke=function t(e){D(this,t);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var u;this.color=(u=e==null?void 0:e.color)!==null&&u!==void 0?u:"primary";var a;this.command=(a=e==null?void 0:e.command)!==null&&a!==void 0?a:"view";var r;this.confirmMessage=(r=e==null?void 0:e.confirmMessage)!==null&&r!==void 0?r:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var d;this.needConfirm=(d=e==null?void 0:e.needConfirm)!==null&&d!==void 0?d:!1;var m;this.openType=(m=e==null?void 0:e.openType)!==null&&m!==void 0?m:"modal";var h;this.priorityProcess=(h=e==null?void 0:e.priorityProcess)!==null&&h!==void 0?h:!0},$r=function t(e){D(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Eu(l)}))!==null&&r!==void 0?r:[]},Mn=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a,r;a=e.call(this,u);var l;return a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(o){return new $r(o)}))!==null&&l!==void 0?l:[],a}return n}(ne),um=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a,r;a=e.call(this,u);var l;a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(s){return new $r(s)}))!==null&&l!==void 0?l:[];var o;return a.formCode=(o=u==null?void 0:u.formCode)!==null&&o!==void 0?o:"",a}return n}(ne),Vr=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;a=e.call(this,u),a.rootNode=new Ot(u==null?void 0:u.rootNode);var r;return a.filterCode=(r=u==null?void 0:u.filterCode)!==null&&r!==void 0?r:"",a}return n}(Mn),jr=function t(e){D(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new le(l)}))!==null&&r!==void 0?r:[]},Hr=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;return a=e.call(this,u),wu.call(kr(a),u),a}return n}(jr),qr=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;a=e.call(this,u);var r;a.mode=(r=u==null?void 0:u.mode)!==null&&r!==void 0?r:"current";var l;return a.multiple=(l=u==null?void 0:u.multiple)!==null&&l!==void 0?l:!1,a}return n}(jr),Ur=function t(e){D(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},am=function t(e){D(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ae(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function Re(t){var e;return(e=t==null?void 0:t.map(function(n){return new am(n)}))!==null&&e!==void 0?e:[]}var Su=function t(){D(this,t)},rm=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;return a=e.call(this),a.amount=new Ie(u==null?void 0:u.amount),a.currency=new Ie(u==null?void 0:u.currency),a}return n}(Su),lm=function t(e){D(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:Ln.CNY},om=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;return a=e.call(this),a.min=new Ie(u==null?void 0:u.min),a.max=new Ie(u==null?void 0:u.max),a}return n}(Su),cm=function t(e){D(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},sm=function t(e){D(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},dm=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;return a=e.call(this),a.result=new Ie(u==null?void 0:u.result),a.unit=new Ie(u==null?void 0:u.unit),a}return n}(Su),fm=function t(e){D(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},Ln;(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"})(Ln||(Ln={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(c||(c={}));var _u;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(_u||(_u={}));var Me=function t(e){D(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},hm=function t(e){D(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:Ae(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Lr(l)}))!==null&&r!==void 0?r:[],wu.call(this,e)},ym=function t(e){D(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"},mm=function t(e){D(this,t);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var u;this.optType=(u=e==null?void 0:e.optType)!==null&&u!==void 0?u:""};function vm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Au(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gm(){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 Nn(t,e,n){return gm()?Nn=Reflect.construct:Nn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&kt(d,l.prototype),d},Nn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function bm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kt(t,e)}function Cm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Em(t,e){return e&&(wm(e)==="object"||typeof e=="function")?e:vm(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},kt(t,e)}var wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ru(t){var e=typeof Map=="function"?new Map:void 0;return Ru=function(u){if(u===null||!Cm(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Nn(u,arguments,xt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),kt(a,u)},Ru(t)}function Im(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sm(t){var e=Im();return function(){var u=xt(t),a;if(e){var r=xt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Em(this,a)}}var K=function t(e){Au(this,t),this.isHide={type:"boolean"}},We=function(t){bm(n,t);var e=Sm(n);function n(u){return Au(this,n),e.call(this)}return n}(Ru(Array)),J=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Au(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new ym(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};J.Rules=K,J.RuntimeRules=We;function Se(){return Se=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},Se.apply(this,arguments)}function _m(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Tu(t){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(t)}function $n(t,e){return $n=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},$n(t,e)}function Am(){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 Vn(t,e,n){return Am()?Vn=Reflect.construct:Vn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&$n(d,l.prototype),d},Vn.apply(null,arguments)}function Rm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Bu(t){var e=typeof Map=="function"?new Map:void 0;return Bu=function(u){if(u===null||!Rm(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Vn(u,arguments,Tu(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),$n(a,u)},Bu(t)}var Tm=/%[sdj%]/g,Wr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Wr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function Pu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function fe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var l=String(a).replace(Tm,function(o){if(o==="%%")return"%";if(u>=r)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return l}return a}function Bm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function X(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Bm(e)&&typeof t=="string"&&!t)}function Pm(t,e,n){var u=[],a=0,r=t.length;function l(o){u.push.apply(u,o),a++,a===r&&n(u)}t.forEach(function(o){e(o,l)})}function Gr(t,e,n){var u=0,a=t.length;function r(l){if(l&&l.length){n(l);return}var o=u;u=u+1,o<a?e(t[o],r):n([])}r([])}function Dm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var zr=function(t){_m(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(Bu(Error));function Fm(t,e,n,u){if(e.first){var a=new Promise(function(h,g){var S=function(B){return u(B),B.length?g(new zr(B,Pu(B))):h()},T=Dm(t);Gr(T,n,S)});return a.catch(function(h){return h}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],m=new Promise(function(h,g){var S=function(I){if(d.push.apply(d,I),s++,s===o)return u(d),d.length?g(new zr(d,Pu(d))):h()};l.length||(u(d),h()),l.forEach(function(T){var I=t[T];r.indexOf(T)!==-1?Gr(I,n,S):Pm(I,n,S)})});return m.catch(function(h){return h}),m}function Kr(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 Xr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=Se(Se({},t[n]),u):t[n]=u}}return t}function Qr(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||X(e,r||t.type))&&u.push(fe(a.messages.required,t.fullField))}function Om(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(fe(a.messages.whitespace,t.fullField))}var Du={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(Du.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Du.url)},hex:function(e){return typeof e=="string"&&!!e.match(Du.hex)}};function xm(t,e,n,u,a){if(t.required&&e===void 0){Qr(t,e,n,u,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;r.indexOf(l)>-1?Mt[l](e)||u.push(fe(a.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&u.push(fe(a.messages.types[l],t.fullField,t.type))}function km(t,e,n,u,a){var r=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,m=null,h=typeof e=="number",g=typeof e=="string",S=Array.isArray(e);if(h?m="number":g?m="string":S&&(m="array"),!m)return!1;S&&(d=e.length),g&&(d=e.replace(s,"_").length),r?d!==t.len&&u.push(fe(a.messages[m].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(fe(a.messages[m].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(fe(a.messages[m].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(fe(a.messages[m].range,t.fullField,t.min,t.max))}var mt="enum";function Mm(t,e,n,u,a){t[mt]=Array.isArray(t[mt])?t[mt]:[],t[mt].indexOf(e)===-1&&u.push(fe(a.messages[mt],t.fullField,t[mt].join(", ")))}function Lm(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(fe(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||u.push(fe(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var O={required:Qr,whitespace:Om,type:xm,range:km,enum:Mm,pattern:Lm};function Nm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e,"string")&&!t.required)return n();O.required(t,e,u,r,a,"string"),X(e,"string")||(O.type(t,e,u,r,a),O.range(t,e,u,r,a),O.pattern(t,e,u,r,a),t.whitespace===!0&&O.whitespace(t,e,u,r,a))}n(r)}function $m(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&O.type(t,e,u,r,a)}n(r)}function Vm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&(O.type(t,e,u,r,a),O.range(t,e,u,r,a))}n(r)}function jm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&O.type(t,e,u,r,a)}n(r)}function Hm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),X(e)||O.type(t,e,u,r,a)}n(r)}function qm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&(O.type(t,e,u,r,a),O.range(t,e,u,r,a))}n(r)}function Um(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&(O.type(t,e,u,r,a),O.range(t,e,u,r,a))}n(r)}function Wm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();O.required(t,e,u,r,a,"array"),e!=null&&(O.type(t,e,u,r,a),O.range(t,e,u,r,a))}n(r)}function Gm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&O.type(t,e,u,r,a)}n(r)}var zm="enum";function Km(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&O[zm](t,e,u,r,a)}n(r)}function Xm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e,"string")&&!t.required)return n();O.required(t,e,u,r,a),X(e,"string")||O.pattern(t,e,u,r,a)}n(r)}function Qm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e,"date")&&!t.required)return n();if(O.required(t,e,u,r,a),!X(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),O.type(t,o,u,r,a),o&&O.range(t,o.getTime(),u,r,a)}}n(r)}function Jm(t,e,n,u,a){var r=[],l=Array.isArray(e)?"array":typeof e;O.required(t,e,u,r,a,l),n(r)}function Fu(t,e,n,u,a){var r=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(X(e,r)&&!t.required)return n();O.required(t,e,u,l,a,r),X(e,r)||O.type(t,e,u,l,a)}n(l)}function Zm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a)}n(r)}var Lt={string:Nm,method:$m,number:Vm,boolean:jm,regexp:Hm,integer:qm,float:Um,array:Wm,object:Gm,enum:Km,pattern:Xm,date:Qm,url:Fu,hex:Fu,email:Fu,required:Jm,any:Zm};function Ou(){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 xu=Ou();function Le(t){this.rules=null,this._messages=xu,this.define(t)}Le.prototype={messages:function(e){return e&&(this._messages=Xr(Ou(),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,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var r=e,l=n,o=u;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(I){var B,v=[],_={};function A(k){if(Array.isArray(k)){var x;v=(x=v).concat.apply(x,k)}else v.push(k)}for(B=0;B<I.length;B++)A(I[B]);v.length?_=Pu(v):(v=null,_=null),o(v,_)}if(l.messages){var d=this.messages();d===xu&&(d=Ou()),Xr(d,l.messages),l.messages=d}else l.messages=this.messages();var m,h,g={},S=l.keys||Object.keys(this.rules);S.forEach(function(I){m=a.rules[I],h=r[I],m.forEach(function(B){var v=B;typeof v.transform=="function"&&(r===e&&(r=Se({},r)),h=r[I]=v.transform(h)),typeof v=="function"?v={validator:v}:v=Se({},v),v.validator=a.getValidationMethod(v),v.field=I,v.fullField=v.fullField||I,v.type=a.getType(v),!!v.validator&&(g[I]=g[I]||[],g[I].push({rule:v,value:h,source:r,field:I}))})});var T={};return Fm(g,l,function(I,B){var v=I.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&I.value),v.field=I.field;function A(te,L){return Se(Se({},L),{},{fullField:v.fullField+"."+te})}function k(te){te===void 0&&(te=[]);var L=te;if(Array.isArray(L)||(L=[L]),!l.suppressWarning&&L.length&&Le.warning("async-validator:",L),L.length&&v.message!==void 0&&(L=[].concat(v.message)),L=L.map(Kr(v)),l.first&&L.length)return T[v.field]=1,B(L);if(!_)B(L);else{if(v.required&&!I.value)return v.message!==void 0?L=[].concat(v.message).map(Kr(v)):l.error&&(L=[l.error(v,fe(l.messages.required,v.field))]),B(L);var Z={};if(v.defaultField)for(var me in I.value)I.value.hasOwnProperty(me)&&(Z[me]=v.defaultField);Z=Se(Se({},Z),I.rule.fields);for(var ve in Z)if(Z.hasOwnProperty(ve)){var Pe=Array.isArray(Z[ve])?Z[ve]:[Z[ve]];Z[ve]=Pe.map(A.bind(null,ve))}var ft=new Le(Z);ft.messages(l.messages),I.rule.options&&(I.rule.options.messages=l.messages,I.rule.options.error=l.error),ft.validate(I.value,I.rule.options||l,function(De){var we=[];L&&L.length&&we.push.apply(we,L),De&&De.length&&we.push.apply(we,De),B(we.length?we:null)})}}var x;v.asyncValidator?x=v.asyncValidator(v,I.value,k,I.source,l):v.validator&&(x=v.validator(v,I.value,k,I.source,l),x===!0?k():x===!1?k(v.message||v.field+" fails"):x instanceof Array?k(x):x instanceof Error&&k(x.message)),x&&x.then&&x.then(function(){return k()},function(te){return k(te)})},function(I){s(I)})},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(fe("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?Lt.required:Lt[this.getType(e)]||!1}},Le.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},Le.warning=Wr,Le.messages=xu,Le.validators=Lt;var Ym={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 pm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Le(t);return n.messages(Object.assign(Ym,e)),n}var ev=new Wy;function ku(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function tv(t){if(Array.isArray(t))return t}function nv(t){if(Array.isArray(t))return ku(t)}function Jr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Zr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Jr(r,u,a,l,o,"next",s)}function o(s){Jr(r,u,a,l,o,"throw",s)}l(void 0)})}}function iv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function uv(t,e,n){return e&&Yr(t.prototype,e),n&&Yr(t,n),t}function av(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function el(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function rv(){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 lv(){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 tl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){av(t,a,n[a])})}return t}function ov(t){return tv(t)||el(t)||nl(t,i)||rv()}function Mu(t){return nv(t)||el(t)||nl(t)||lv()}function nl(t,e){if(!!t){if(typeof t=="string")return ku(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ku(t,e)}}var j=function(){function e(n){var u=this;iv(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=ul,this.removeSetting=il,this._callControlHooks("preInstance",n);var a=pr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,o=a.controlType,s=a.controlFieldType,d=a.controlEventKeys,m=a.controlCustomEvents,h=a.name,g=a.setting;r&&l&&o||Br("The ".concat(h," controlName,controlIcon,controlType is not define"));var S;this.id=(S=n==null?void 0:n.id)!==null&&S!==void 0?S:Ae(10),this.name=r,this.icon=l;var T;this.type=(T=n==null?void 0:n.type)!==null&&T!==void 0?T:o,this.props=new J(n==null?void 0:n.props,(pr(this,e)?this.constructor:void 0).controlName);var I;this.controlType=(I=n==null?void 0:n.controlType)!==null&&I!==void 0?I:"base",this.setting=xe(g);var B;this.fieldType=(B=n==null?void 0:n.fieldType)!==null&&B!==void 0?B:s,this.eventKeys=xe(d),this.customEvents=xe(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return uv(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}},{key:"_callControlHooks",value:function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,o=ov(a),s=o[0],d=o.slice(1);return(l=ev).emit.apply(l,[s,this].concat(Mu(d)))}},{key:"preUpdate",value:function(u,a){this._callControlHooks("preUpdateProps",u,a)}},{key:"postUpdate",value:function(u,a){this._callControlHooks("postUpdateProps",u,a)}},{key:"updateProps",value:function(u,a){this.preUpdate(u,a),Oy(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return Zr(ye.mark(function a(){var r,l,o;return ye.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return r=tl({},u.rules),d.next=3,u._callControlHooks("preValidate",r);case 3:return l=d.sent,o=l[l.length-1],d.abrupt("return",o===!1?void 0:o);case 6:case"end":return d.stop()}},a)}))()}},{key:"validate",value:function(u,a){var r=this;return Zr(ye.mark(function l(){var o,s,d;return ye.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,r.preValidate();case 2:return o=h.sent,s=o!==void 0?o:tl({},r.rules),Array.isArray(a)&&a.forEach(function(g){s.hasOwnProperty(g)&&delete s[g]}),d=pm(s,u),h.prev=6,h.next=9,d.validate(r.props);case 9:return h.abrupt("return",!0);case 12:throw h.prev=12,h.t0=h.catch(6),h.t0.control||(h.t0.control=r),h.t0;case 16:case"end":return h.stop()}},l,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,o=this.props,s=o.dataBind,d=o.datasourceBind,m=o.optionConfig,h=o.caption,g=o.required,S=o.maxLength,T=o.options,I=o.encrypted,B=o.encryptedMode;if(!(!a&&!s&&!d)){var v={parentId:u,fieldType:a,controlId:r,caption:h,type:l,props:{}};switch(s&&(v.dataBind=s),m){case"datasource":case void 0:d&&(v.datasourceBind=d);break;case"custom":v.props.options=T;break}return g!==void 0&&(v.required=g),S!==void 0&&(v.maxLength=S),I!==void 0&&(v.encrypted=I),B!==void 0&&(v.encryptedMode=B),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:xe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Mu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();j.controlName="\u63A7\u4EF6",j.controlIcon="icon",j.controlType="control",j.controlEventKeys=[],j.controlCustomEvents=[],j.setting=[],j.__is_control__=!0,j.removeSettingItem=il,j.updateSettingItem=ul;function il(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a,r=typeof u!="string",l=(a=e.setting)===null||a===void 0?void 0:a.findIndex(function(d){return d.key===(r?u.key:u)});if(l!==-1){var o,s;r?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(d){return!u.hideItems.includes(d)}):e.setting.splice(l,1),r&&!((s=e.setting[l].showItems)===null||s===void 0?void 0:s.length)&&e.setting.splice(l,1)}})}function ul(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(a){var r=n.setting.find(function(d){return d.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Mu(e.showItems))}}}})}function cv(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 u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function sv(t,e,n){return e&&al(t.prototype,e),n&&al(t,n),t}function dv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var Y=function(){function e(n){cv(this,e),this.customEvents=[],this.parent=null;var u=dv(this,e)?this.constructor:void 0,a=u.controlType,r=u.controlFieldType,l=u.name,o=u.controlCustomEvents;a||Br("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:Ae(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new J(n==null?void 0:n.props),this.customEvents=o;var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base";var h;this.fieldType=(h=n==null?void 0:n.fieldType)!==null&&h!==void 0?h:r;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:_u.UNKNOWN}return sv(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var a=new u(this.props);return Array.from(a)}return[]}}]),e}();Y.controlType="control",Y.__is_control__=!0,Y.controlCustomEvents=[];function Lu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message: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,u,a){u.length===0&&a(f.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,u,a){var r=u.map(function(o){return o.value}),l=Ly(r);r.length!==l.length?a(f.getMessage("optionIdIsRepeat")):a()},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,u,a){u.length===0&&a(f.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},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 jn(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(a,r,l){r.length===0&&l(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},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 fv(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function rl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function Un(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nu(t,e)}function hv(t,e){return e&&(yv(e)==="object"||typeof e=="function")?e:rl(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Nu(t,e)}var yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wn(t){var e=mv();return function(){var u=qn(t),a;if(e){var r=qn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return hv(this,a)}}var ie=function(t){Un(n,t);var e=Wn(n);function n(u){Hn(this,n);var a;a=e.call(this,u),a.dataBind={},a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.isHideCaption={type:"boolean"},a.labelPosition={type:"enum",enum:["top","left"]},a.defaultState={type:"enum",enum:["default","readonly"]},a.required={type:"boolean"},a.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(fv(u.dataBind))a.dataBind={type:"object",required:!0,fields:xe(r),message:f.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:xe(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(K),H=function(t){Un(n,t);var e=Wn(n);function n(u){Hn(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(We),M=function(t){Un(n,t);var e=Wn(n);function n(u){Hn(this,n);var a;a=e.call(this,u);var r;a.caption=(r=u==null?void 0:u.caption)!==null&&r!==void 0?r:"";var l;a.isHideCaption=(l=u==null?void 0:u.isHideCaption)!==null&&l!==void 0?l:!1;var o;a.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;a.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;a.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var m;a.labelPosition=(m=u==null?void 0:u.labelPosition)!==null&&m!==void 0?m:"top";var h;a.placeholder=(h=u==null?void 0:u.placeholder)!==null&&h!==void 0?h:"";var g;a.required=(g=u==null?void 0:u.required)!==null&&g!==void 0?g:!1;var S;a.requiredMessage=(S=u==null?void 0:u.requiredMessage)!==null&&S!==void 0?S:"",a.dataBind=new Ie(u==null?void 0:u.dataBind);var T;return a.defaultValue=(T=u==null?void 0:u.defaultValue)!==null&&T!==void 0?T:"",a}return n}(J);M.Rules=ie,M.RuntimeRules=H;var vt=function(t){Un(n,t);var e=Wn(n);function n(u){Hn(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Lu.call(rl(a),u),a}return n}(ie);function vv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function bv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function Cv(t,e){return e&&(Ev(e)==="object"||typeof e=="function")?e:vv(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},$u(t,e)}var Ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function wv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Iv(t){var e=wv();return function(){var u=Gn(t),a;if(e){var r=Gn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Cv(this,a)}}var N=function(t){bv(n,t);var e=Iv(n);function n(u){gv(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new M(u==null?void 0:u.props),a}return n}(j);N.controlEventKeys=["on_change","on_focus","on_blur"];function Sv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(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&&Vu(t,e)}function Rv(t,e){return e&&(Tv(e)==="object"||typeof e=="function")?e:Sv(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Vu(t,e)}var Tv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Pv(t){var e=Bv();return function(){var u=zn(t),a;if(e){var r=zn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Rv(this,a)}}var $=function(t){Av(n,t);var e=Pv(n);function n(u){_v(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new M(u==null?void 0:u.props),a}return n}(Y);function Dv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function Ov(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ju(t,e)}function xv(t,e){return e&&(kv(e)==="object"||typeof e=="function")?e:Dv(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ju(t,e)}var kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Lv(t){var e=Mv();return function(){var u=Kn(t),a;if(e){var r=Kn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return xv(this,a)}}var q=function(t){Ov(n,t);var e=Lv(n);function n(u){return Fv(this,n),e.call(this,u)}return n}(J);function Hu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Nv(t){if(Array.isArray(t))return Hu(t)}function $v(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Vv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ll(t){return Nv(t)||$v(t)||jv(t)||Vv()}function jv(t,e){if(!!t){if(typeof t=="string")return Hu(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 Hu(t,e)}}function Hv(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function ol(t,e){t.parent=e,Hv(t,"parent")}function qv(t,e){t.forEach(function(n){ol(n,e)})}var cl=Symbol("targetKey");function sl(t){var e;return(e=t[cl])!==null&&e!==void 0?e:t}function dl(t,e){return qv(t,e),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),o=2;o<r;o++)l[o-2]=arguments[o];var s;return a===cl?u:(s=Reflect).get.apply(s,[u,a].concat(ll(l)))},set:function(u,a,r){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var d;if(hu(t)&&a==="length"&&r===t.length)return!0;var m=(d=Reflect).set.apply(d,[u,a,r].concat(ll(o)));return My(r)&&ol(r,e),m}})}function Te(t,e,n,u){var a=u!=null?u:t,r=dl(sl(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return r},set:function(o){r=dl(sl(o),a)},enumerable:!0})}function qu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Uv(t){if(Array.isArray(t))return qu(t)}function fl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hl(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Wv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){hl(r,u,a,l,o,"next",s)}function o(s){hl(r,u,a,l,o,"throw",s)}l(void 0)})}}function Gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function zv(t,e,n){return e&&yl(t.prototype,e),n&&yl(t,n),t}function Kv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?gt=Reflect.get:gt=function(a,r,l){var o=eg(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},gt(t,e,n||t)}function Ne(t){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ne(t)}function Xv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function Qv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Jv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Zv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yv(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Kv(t,a,n[a])})}return t}function pv(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:fl(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Uu(t,e)}function eg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ne(t),t!==null););return t}function ml(t){return Uv(t)||Jv(t)||ng(t)||Zv()}var tg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ng(t,e){if(!!t){if(typeof t=="string")return qu(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 qu(t,e)}}function ig(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ug(t){var e=ig();return function(){var u=Ne(t),a;if(e){var r=Ne(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return pv(this,a)}}var ag=1e4,U=function(e){Xv(u,e);var n=ug(u);function u(a){Gv(this,u);var r;r=n.call(this,a),r.controlType="layout";var l=Qv(this,u)?this.constructor:void 0,o=l.excludes,s=l.childrenMaxLength;return r.props=new q(a==null?void 0:a.props),Te(fl(r),"children",a==null?void 0:a.children),r.excludes=xe(o),r.childrenMaxLength=s,r}return zv(u,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,l){var o=this,s=this,d=function(){return gt(Ne(u.prototype),"validate",o)};return Wv(ye.mark(function m(){return ye.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,d().call(s,r,l);case 2:return g.next=4,Promise.all(s.children.map(function(S){return S.validate(r,l)}));case 4:return g.abrupt("return",!0);case 5:case"end":return g.stop()}},m)}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=gt(Ne(u.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(s,d){var m=d.toDataBindModel(r);if(Array.isArray(m)){var h=m.filter(function(g){return!!g});return ml(s).concat(ml(h))}return m&&s.push(m),s},o)}},{key:"toSchema",value:function(){var r=gt(Ne(u.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var s=o.toSchema();return s});return Yv({},r,{children:l})}}]),u}(j);U.excludes=!1,U.childrenMaxLength=ag;function vl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function lg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wu(t,e)}function og(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:vl(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Wu(t,e)}var cg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function dg(t){var e=sg();return function(){var u=Xn(t),a;if(e){var r=Xn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return og(this,a)}}var G=function(t){lg(n,t);var e=dg(n);function n(u){rg(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new q(u==null?void 0:u.props),Te(vl(a),"children",u==null?void 0:u.children),a}return n}(Y);function gl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(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&&Gu(t,e)}function yg(t,e){return e&&(mg(e)==="object"||typeof e=="function")?e:gl(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Gu(t,e)}var mg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function gg(t){var e=vg();return function(){var u=Qn(t),a;if(e){var r=Qn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return yg(this,a)}}var Jn=function(t){hg(n,t);var e=gg(n);function n(u,a){fg(this,n);var r;return r=e.call(this,a),Te(gl(r),"headers",a==null?void 0:a.headers,u),r}return n}(J);function zu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function bg(t){if(Array.isArray(t))return zu(t)}function bl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cl(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Cg(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Cl(r,u,a,l,o,"next",s)}function o(s){Cl(r,u,a,l,o,"throw",s)}l(void 0)})}}function Eg(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 u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function wg(t,e,n){return e&&El(t.prototype,e),n&&El(t,n),t}function Ig(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?bt=Reflect.get:bt=function(a,r,l){var o=Tg(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},bt(t,e,n||t)}function $e(t){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$e(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&&Ku(t,e)}function _g(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ag(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Ig(t,a,n[a])})}return t}function Rg(t,e){return e&&(Bg(e)==="object"||typeof e=="function")?e:bl(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ku(t,e)}function Tg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=$e(t),t!==null););return t}function Il(t){return bg(t)||_g(t)||Pg(t)||Ag()}var Bg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pg(t,e){if(!!t){if(typeof t=="string")return zu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zu(t,e)}}function Dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Fg(t){var e=Dg();return function(){var u=$e(t),a;if(e){var r=$e(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Rg(this,a)}}var Xu=function(t){Sg(n,t);var e=Fg(n);function n(u){Eg(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Jn(bl(a),u==null?void 0:u.props),a}return wg(n,[{key:"validate",value:function(a,r){var l=this,o=this,s=function(){return bt($e(n.prototype),"validate",l)};return Cg(ye.mark(function d(){return ye.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,s().call(o,a);case 2:return h.next=4,Promise.all(o.props.headers.map(function(g){return g.validate(a,r)}));case 4:return h.abrupt("return",!0);case 5:case"end":return h.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=bt($e(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(o,s){var d=s.toDataBindModel(l);if(Array.isArray(d)){var m=d.filter(function(h){return!!h});return Il(o).concat(Il(m))}return d&&o.push(d),o},r)}},{key:"toSchema",value:function(){var a,r,l=bt($e(n.prototype),"toSchema",this).call(this),o=this.props.headers.map(function(d){return d.toSchema()}),s=(a=this.props)===null||a===void 0||(r=a.footers)===null||r===void 0?void 0:r.map(function(d){if(d)return d.toSchema()});return wl({},l,{props:wl({},this.props,{headers:o,footers:s})})}}]),n}(j);Xu.controlFieldType=b.LIST;function Qu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function xg(t,e,n){return e&&Sl(t.prototype,e),n&&Sl(t,n),t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function kg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ju(t,e)}function Mg(t,e){return e&&(Lg(e)==="object"||typeof e=="function")?e:Qu(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ju(t,e)}var Lg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ng(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $g(t){var e=Ng();return function(){var u=Zn(t),a;if(e){var r=Zn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Mg(this,a)}}var _l=function(t){kg(n,t);var e=$g(n);function n(u){Og(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Jn(Qu(a),u==null?void 0:u.props),Te(Qu(a),"children",u==null?void 0:u.children),a}return xg(n,[{key:"length",get:function(){return this.children.length}}]),n}(Y);function Al(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zu(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 Yu(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 Vg(t,e){return e&&(jg(e)==="object"||typeof e=="function")?e:Al(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},pu(t,e)}var jg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ea(t){var e=Hg();return function(){var u=Yn(t),a;if(e){var r=Yn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Vg(this,a)}}var Be=function(t){Yu(n,t);var e=ea(n);function n(u){Zu(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}(K),z=function(t){Yu(n,t);var e=ea(n);function n(u){Zu(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:150,a.widthType=(u==null?void 0:u.widthType)||"auto";var l;a.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var o;a.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",a.autoWidth=new Mr(u==null?void 0:u.autoWidth),a.dataBind=new Ie(u==null?void 0:u.dataBind);var s;a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan;var d;return a.autoHeight=(d=u==null?void 0:u.autoHeight)!==null&&d!==void 0?d:!1,a}return n}(J);z.Rules=Be;var Rl=function(t){Yu(n,t);var e=ea(n);function n(u){Zu(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Lu.call(Al(a),u),a}return n}(Be);function qg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function Wg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function Gg(t,e){return e&&(zg(e)==="object"||typeof e=="function")?e:qg(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ta(t,e)}var zg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Xg(t){var e=Kg();return function(){var u=pn(t),a;if(e){var r=pn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Gg(this,a)}}var p=function(t){Wg(n,t);var e=Xg(n);function n(u){Ug(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new z(u==null?void 0:u.props),a}return n}(j);function Qg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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&&na(t,e)}function Yg(t,e){return e&&(pg(e)==="object"||typeof e=="function")?e:Qg(t)}function na(t,e){return na=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},na(t,e)}var pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function e0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function t0(t){var e=e0();return function(){var u=ei(t),a;if(e){var r=ei(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Yg(this,a)}}var ee=function(t){Zg(n,t);var e=t0(n);function n(u){Jg(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new z(u==null?void 0:u.props),a}return n}(Y);function n0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(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&&ia(t,e)}function a0(t,e){return e&&(r0(e)==="object"||typeof e=="function")?e:n0(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ia(t,e)}var r0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function l0(){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 o0(t){var e=l0();return function(){var u=ti(t),a;if(e){var r=ti(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return a0(this,a)}}var ua=function(t){u0(n,t);var e=o0(n);function n(u){i0(this,n);var a;return a=e.call(this,u),a.dataBind=new Ie(u==null?void 0:u.dataBind),a}return n}(q);function c0(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 ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(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&&aa(t,e)}function f0(t,e){return e&&(h0(e)==="object"||typeof e=="function")?e:c0(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},aa(t,e)}var h0=function(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 m0(t){var e=y0();return function(){var u=ni(t),a;if(e){var r=ni(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return f0(this,a)}}var v0=function(t){d0(n,t);var e=m0(n);function n(u){s0(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new ua(u==null?void 0:u.props),a}return n}(U);function g0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function C0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function E0(t,e){return e&&(w0(e)==="object"||typeof e=="function")?e:g0(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ra(t,e)}var w0=function(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 S0(t){var e=I0();return function(){var u=ii(t),a;if(e){var r=ii(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return E0(this,a)}}var _0=function(t){C0(n,t);var e=S0(n);function n(u){b0(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new ua(u==null?void 0:u.props),a}return n}(G);function A0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(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&&la(t,e)}function B0(t,e){return e&&(P0(e)==="object"||typeof e=="function")?e:A0(t)}function la(t,e){return la=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},la(t,e)}var P0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};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 u=ui(t),a;if(e){var r=ui(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return B0(this,a)}}var oa=function(t){T0(n,t);var e=F0(n);function n(u){return R0(this,n),e.call(this,u)}return n}(q);function O0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function k0(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 M0(t,e){return e&&(L0(e)==="object"||typeof e=="function")?e:O0(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ca(t,e)}var L0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function N0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $0(t){var e=N0();return function(){var u=ai(t),a;if(e){var r=ai(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return M0(this,a)}}var V0=function(t){k0(n,t);var e=$0(n);function n(u){x0(this,n);var a;return a=e.call(this,u),a.controlType="wrap",a.props=new oa(u==null?void 0:u.props),a}return n}(U);function j0(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(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&&sa(t,e)}function U0(t,e){return e&&(W0(e)==="object"||typeof e=="function")?e:j0(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},sa(t,e)}var W0=function(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 z0(t){var e=G0();return function(){var u=ri(t),a;if(e){var r=ri(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return U0(this,a)}}var K0=function(t){q0(n,t);var e=z0(n);function n(u){H0(this,n);var a;return a=e.call(this,u),a.controlType="wrap",a.props=new oa(u==null?void 0:u.props),a}return n}(G);function Ge(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class da extends J{constructor(e){super(e);var n,u,a,r,l;this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57"}}class Tl extends j{static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}constructor(e){super(e);this.props=new da(e==null?void 0:e.props)}}Tl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class X0 extends Y{static get controlType(){return"text"}constructor(e){super(e);this.props=new da(e==null?void 0:e.props)}}var Bl={Designer:Tl,Runtime:X0,Property:da};class fa extends J{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class ha extends j{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}ha.controlEventKeys=["on_click"],ha.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Q0 extends Y{static get controlType(){return"link"}constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}var Pl={Designer:ha,Runtime:Q0,Property:fa};class ae extends J{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",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.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1,this.optObj=new mm((m=e==null?void 0:e.optObj)!=null?m:{})}}class re extends j{static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}constructor(e){super(e);this.props=new ae(e==null?void 0:e.props)}}re.controlEventKeys=["on_click","on_click_finish"],re.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class he extends Y{static get controlType(){return"button"}constructor(e){super(e);this.props=new ae(e==null?void 0:e.props)}}var Dl={Designer:re,Runtime:he,Property:ae},Ve=(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))(Ve||{}),Fl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Fl||{}),Ol=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Ol||{});class li{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ae(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var ya=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ya||{});class oi{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:Ae(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var ma=(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))(ma||{});class va{constructor(e){var n,u,a,r,l,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Ot((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new Ot((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Ot((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class xl{constructor(e){var n,u,a,r,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new va(s)))!=null?a:[new va],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class ga{constructor(e){var n,u,a,r,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:Ae(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class ba{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class kl{constructor(e){var n,u,a,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new ba(e==null?void 0:e.watermark),this.autoRename=new ba(e==null?void 0:e.autoRename)}}const Ml=480;function Nt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Ll{constructor(e){var n,u,a,r,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(l=e.rules)!=null?l:[]}}class Nl{constructor(e){var n,u,a;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var $l=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))($l||{}),Ca=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ca||{}),ci=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(ci||{}),je=(t=>(t.ALL="all",t.ASSIGN="assign",t))(je||{}),Ea=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ea||{});class wa extends J{constructor(e){super(e);var n,u;this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:ma.SOLID}}class Vl extends j{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new wa(e==null?void 0:e.props)}}Vl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class J0 extends Y{static get controlType(){return"divider"}constructor(e){super(e);this.props=new wa(e==null?void 0:e.props)}}var jl={Designer:Vl,Runtime:J0,Property:wa};class Z0 extends K{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(Ve.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 si extends J{constructor(e){super(e);var n,u,a,r;this.dataBind=new Ie(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ve.ShowSubmitUser,Ve.ShowSubmitDept,Ve.ShowSubmitTime,Ve.ShowCurrentApprovar,Ve.ShowTitle],this.caption=(a=(u=e==null?void 0:e.caption)!=null?u:Ct==null?void 0:Ct.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}si.Rules=Z0;class Ct extends j{static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}constructor(e){super(e);this.props=new si(e==null?void 0:e.props)}}Ct.controlFieldType=b.AUTO_NUMBER,Ct.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Y0 extends Y{static get controlType(){return"title"}constructor(e){super(e);this.props=new si(e==null?void 0:e.props)}}var Hl={Designer:Ct,Runtime:Y0,Property:si};class p0 extends K{constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class di extends ae{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:$t.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:$t.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}di.Rules=p0;class $t extends re{static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}$t.controlEventKeys=["on_click","on_click_finish"],$t.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 eb extends he{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}var ql={Designer:$t,Runtime:eb,Property:di};class tb extends K{constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class fi extends ae{constructor(e){super(e);var n,u,a,r,l,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:Vt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Vt.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}fi.Rules=tb;class Vt extends re{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new fi(e==null?void 0:e.props)}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.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 nb extends he{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new fi(e==null?void 0:e.props)}}var Ul={Designer:Vt,Runtime:nb,Property:fi};class Ia extends ae{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:jt.controlIcon}}class jt extends re{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"}constructor(e){super(e);this.props=new Ia(e==null?void 0:e.props)}}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 ib extends he{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new Ia(e==null?void 0:e.props)}}var Wl={Designer:jt,Runtime:ib,Property:Ia};class Sa extends ae{constructor(e){super(e);var n,u,a,r,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Ht.controlName,this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system",this.templateList=(l=(r=e==null?void 0:e.templateList)==null?void 0:r.map(o=>new ga(o)))!=null?l:[new ga({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ht extends re{static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new Sa(e==null?void 0:e.props)}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 ub extends he{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new Sa(e==null?void 0:e.props)}}var Gl={Designer:Ht,Runtime:ub,Property:Sa};class _a extends ae{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:qt.controlIcon}}class qt extends re{static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new _a(e==null?void 0:e.props)}}qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ab extends he{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new _a(e==null?void 0:e.props)}}var zl={Designer:qt,Runtime:ab,Property:_a};class rb{constructor(e){this.dataCode=e.dataCode}}class Aa extends ae{constructor(e){super(e);var n,u,a,r,l;this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ut.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(o=>new rb(o)))!=null?r:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class Ut extends re{static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new Aa(e==null?void 0:e.props)}}Ut.controlEventKeys=["on_click","on_click_finish"],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:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class lb extends he{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new Aa(e==null?void 0:e.props)}}var Kl={Designer:Ut,Runtime:lb,Property:Aa};function hi(){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 ob extends K{constructor(e){super(e);this.fillPayload={type:"object",fields:Fe({},hi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Fe({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},hi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class yi extends ae{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Wt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new Hr(e==null?void 0:e.fillPayload),this.formBind=new Zy(e==null?void 0:e.formBind),this.fillBack=new qr(e==null?void 0:e.fillBack)}}yi.Rules=ob;class Wt extends re{static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new yi(e==null?void 0:e.props)}}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:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class cb extends he{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new yi(e==null?void 0:e.props)}}var Xl={Designer:Wt,Runtime:cb,Property:yi};class sb extends K{constructor(e){super(e);this.fillPayload={type:"object",fields:Fe({},hi())},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:Fe({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},hi())}}}class mi extends ae{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Gt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Gt.controlIcon,this.fillPayload=new Hr(e==null?void 0:e.fillPayload),this.listPageBind=new bu(e==null?void 0:e.listPageBind),this.fillBack=new qr(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new Iu(e==null?void 0:e.selectedContentConfig)}}mi.Rules=sb;class Gt extends re{static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}Gt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class db extends he{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}var Ql={Designer:Gt,Runtime:db,Property:mi};class fb extends K{constructor(e){super(e)}}class hb extends We{constructor(e){super(e)}}class zt extends J{constructor(e){super(e)}}zt.Rules=fb,zt.RuntimeRules=hb;class Jl extends j{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}}Jl.setting=[];class yb extends Y{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}}var Zl={Designer:Jl,Runtime:yb,Property:zt};class mb extends K{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 vi extends J{constructor(e){super(e);var n,u,a,r,l,o;this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}vi.Rules=mb;class Yl extends j{static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}Yl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class vb extends Y{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}var pl={Designer:Yl,Runtime:vb,Property:vi};class gb extends K{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 gi extends J{constructor(e){super(e);var n,u,a;this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(u=e==null?void 0:e.viewList)==null?void 0:u.map(r=>new hm(r)))!=null?a:[]}}gi.Rules=gb;class eo extends j{static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new gi(e==null?void 0:e.props)}}eo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class bb extends Y{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new gi(e==null?void 0:e.props)}}var to={Designer:eo,Runtime:bb,Property:gi};class Cb extends K{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,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class bi extends ae{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h;this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.controlName,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",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(h=(m=e==null?void 0:e.fillList)==null?void 0:m.map(g=>new le(g)))!=null?h:[]}}bi.Rules=Cb;class Et extends re{static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Eb extends he{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}var no={Designer:Et,Runtime:Eb,Property:bi};class wb extends K{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,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ci extends ae{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h;this.caption=(n=e==null?void 0:e.caption)!=null?n:wt.controlName,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",this.content=(o=e==null?void 0:e.content)!=null?o:wt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:wt.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(h=(m=e==null?void 0:e.fillList)==null?void 0:m.map(g=>new le(g)))!=null?h:[]}}Ci.Rules=wb;class wt extends re{static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ib extends he{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}var io={Designer:wt,Runtime:Ib,Property:Ci};class Sb extends K{constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ei extends ae{constructor(e){super(e);var n,u,a,r,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:Kt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Kt.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new Ll(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Ei.Rules=Sb;class Kt extends re{static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}Kt.controlEventKeys=["on_click","on_click_finish"],Kt.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 _b extends he{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}var uo={Designer:Kt,Runtime:_b,Property:Ei};class Ra extends ae{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Xt.controlIcon}}class Xt extends re{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"}constructor(e){super(e);this.props=new Ra(e==null?void 0:e.props)}}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 Ab extends he{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new Ra(e==null?void 0:e.props)}}var ao={Designer:Xt,Runtime:Ab,Property:Ra};class Rb extends K{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 wi extends J{constructor(e){super(e);var n,u,a,r,l;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}wi.Rules=Rb;class Ii extends j{static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}Ii.controlEventKeys=["on_click"],Ii.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Tb extends Y{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}var ro={Designer:Ii,Runtime:Tb,Property:wi};class Ta extends J{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.content=(n=e==null?void 0:e.content)!=null?n:Qt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Qt.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(m=e==null?void 0:e.isLoading)!=null?m:!1}}class Qt extends j{static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Ta(e==null?void 0:e.props)}}Qt.controlEventKeys=["on_click"],Qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Bb extends Y{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Ta(e==null?void 0:e.props)}}var lo={Designer:Qt,Runtime:Bb,Property:Ta},Pb=Object.freeze({__proto__:null,Text:Bl,Link:Pl,Button:Dl,Divider:jl,Title:Hl,CreateFormListButton:ql,BatchSubmissionListButton:Ul,SubmissionRecordListButton:Wl,ExportListButton:Gl,ExportRecordListButton:zl,ImportRecordListButton:Kl,FormSelectButton:Xl,ListSelectButton:Ql,Pagination:Zl,Dashboard:pl,ListViewSelect:to,TextOcrButton:no,InvoiceCheckButton:io,BatchPrintListButton:uo,BatchPrintRecordListButton:ao,OperationButton:ro,BatchDeleteButton:lo});class Db extends ie{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 Fb extends H{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 It extends M{constructor(e){super(e);var n,u,a,r,l,o,s;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new Ur(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:St.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}It.Rules=Db,It.RuntimeRules=Fb;class St extends N{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}constructor(e){super(e);this.props=new It(e==null?void 0:e.props)}}St.controlEventKeys=["on_change","on_input","on_focus","on_blur"],St.controlFieldType=b.VARCHAR,St.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class oo extends ${static get controlType(){return"input"}constructor(e){super(e);this.props=new It(e==null?void 0:e.props)}}oo.controlFieldType=b.VARCHAR;var co={Designer:St,Runtime:oo,Property:It};class Ob extends vt{constructor(e){super(e);this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class xb extends H{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Jt extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T;this.options=Re((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=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(m=e==null?void 0:e.caption)!=null?m:Zt.controlName,this.defaultValue=(h=e==null?void 0:e.defaultValue)!=null?h:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(S=e==null?void 0:e.defaultShowOptions)!=null?S:!0,this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var B;(B=this.multistageFilling)==null||B.push(new le(I))}))}}Jt.Rules=Ob,Jt.RuntimeRules=xb;class Zt extends N{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=b.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class so extends ${static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}}so.controlFieldType=b.ARRAY;var fo={Designer:Zt,Runtime:so,Property:Jt};class kb extends vt{constructor(e){super(e)}}class Si extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.options=Re((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=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(m=e==null?void 0:e.caption)!=null?m:Yt.controlName,this.defaultValue=(h=e==null?void 0:e.defaultValue)!=null?h:"",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(S=>{var T;(T=this.multistageFilling)==null||T.push(new le(S))}))}}Si.Rules=kb;class Yt extends N{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new Si(e==null?void 0:e.props)}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=b.VARCHAR,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class ho extends ${static get controlType(){return"radio"}constructor(e){super(e);this.props=new Si(e==null?void 0:e.props)}}ho.controlFieldType=b.VARCHAR;var yo={Designer:Yt,Runtime:ho,Property:Si};class Mb extends ie{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,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Lb extends H{constructor(e){super(e);this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class pt extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(m=e==null?void 0:e.unitPosition)!=null?m:"right",this.unit=(h=e==null?void 0:e.unit)!=null?h:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:en.controlName,this.placeholder=(S=e==null?void 0:e.placeholder)!=null?S:"\u8BF7\u8F93\u5165",this.defaultValue=(T=e==null?void 0:e.defaultValue)!=null?T:"",this.regularRules=new Ur(e==null?void 0:e.regularRules)}}pt.Rules=Mb,pt.RuntimeRules=Lb;class en extends N{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new pt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=b.DECIMAL,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class mo extends ${static get controlType(){return"number"}constructor(e){super(e);this.props=new pt(e==null?void 0:e.props)}}mo.controlFieldType=b.DECIMAL;var vo={Designer:en,Runtime:mo,Property:pt};class Ba extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Oe.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.caption=(l=e==null?void 0:e.caption)!=null?l:_i.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(m=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(S=>new li(S)))!=null?m:[],this.allowDateRange=(h=e==null?void 0:e.allowDateRange)!=null?h:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class _i extends N{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}_i.controlFieldType=b.TIMESTAMP,_i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class go extends ${static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}go.controlFieldType=b.TIMESTAMP;var bo={Designer:_i,Runtime:go,Property:Ba};class Nb extends H{constructor(e){super(e);this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Ai extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.dataBind=new om(e==null?void 0:e.dataBind),this.defaultValue=new cm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Oe.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=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:Ri.controlName,this.limitDateList=(g=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(S=>new li(S)))!=null?g:[]}}Ai.RuntimeRules=Nb;class Ri extends N{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Ai(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}Ri.controlFieldType=b.TIMESCOPE,Ri.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Co extends ${static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Ai(e==null?void 0:e.props)}}Co.controlFieldType=b.TIMESCOPE;var Eo={Designer:Ri,Runtime:Co,Property:Ai};class $b extends ie{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 Vb extends H{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 tn extends M{constructor(e){super(e);var n,u,a,r,l,o;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:nn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}tn.Rules=$b,tn.RuntimeRules=Vb;class nn extends N{static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.TEXT,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class wo extends ${static get controlType(){return"textarea"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}wo.controlFieldType=b.TEXT;var Io={Designer:nn,Runtime:wo,Property:tn};class jb extends ie{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 Hb extends H{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 un extends M{constructor(e){super(e);var n,u,a,r,l;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:an.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}un.Rules=jb,un.RuntimeRules=Hb;class an extends N{static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=b.TEXT,an.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class So extends ${static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}So.controlFieldType=b.TEXT;var _o={Designer:an,Runtime:So,Property:un};class qb extends vt{constructor(e){super(e)}}class Ti extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h;this.options=Re((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=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Bi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,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(g=>{var S;(S=this.multistageFilling)==null||S.push(new le(g))})),this.canViewForm=(m=e==null?void 0:e.canViewForm)!=null?m:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new yt(e==null?void 0:e.formBind)}}Ti.Rules=qb;class Bi extends N{static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}Bi.controlFieldType=b.VARCHAR,Bi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Ao extends ${static get controlType(){return"select"}constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}Ao.controlFieldType=b.VARCHAR;var Ro={Designer:Bi,Runtime:Ao,Property:Ti};class Ub extends vt{constructor(e){super(e)}}class Wb extends H{constructor(e){super(e);this[0].type="array"}}class rn extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.options=Re((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=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Pi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var g;(g=this.multistageFilling)==null||g.push(new le(h))})),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 yt(e==null?void 0:e.formBind)}}rn.Rules=Ub,rn.RuntimeRules=Wb;class Pi extends N{static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}}Pi.controlFieldType=b.ARRAY,Pi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class To extends ${static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}}To.controlFieldType=b.ARRAY;var Bo={Designer:Pi,Runtime:To,Property:rn};class Gb extends H{constructor(e){super(e);this[0].type="array"}}class Di extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Fi.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(m=e==null?void 0:e.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var g;(g=this.multistageFilling)==null||g.push(new le(h))}))}}Di.RuntimeRules=Gb;class Fi extends N{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}constructor(e){super(e);this.props=new Di(e==null?void 0:e.props)}}Fi.controlFieldType=b.EMPLOYEES,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Po extends ${static get controlType(){return"employee"}constructor(e){super(e);this.props=new Di(e==null?void 0:e.props)}}Po.controlFieldType=b.EMPLOYEES;var Do={Designer:Fi,Runtime:Po,Property:Di};const zb=10485760,Kb=104857600,Xb=1048576e3;class Qb extends ie{constructor(e){super(e);this.maxSize={type:"number",min:0,max:Xb,message:f.getMessage("attachmentMaxSize")}}}class Jb extends H{constructor(e){super(e);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 _t extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.resultShowType=(a=e==null?void 0:e.resultShowType)!=null?a:"simple",this.attachmentAccept=(r=e==null?void 0:e.attachmentAccept)!=null?r:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:Kb,this.caption=(d=e==null?void 0:e.caption)!=null?d:At.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u4E0A\u4F20\u9644\u4EF6"}}_t.Rules=Qb,_t.RuntimeRules=Jb;class At extends N{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new _t(e==null?void 0:e.props)}}At.controlEventKeys=["on_change"],At.controlFieldType=b.FILE,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Pa extends ${static get controlType(){return"attachment"}constructor(e){super(e);this.props=new _t(e==null?void 0:e.props)}}Pa.controlFieldType=b.FILE;var Fo={Designer:At,Runtime:Pa,Property:_t};const Oo=class extends At{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){super(t);var e,n,u,a;this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Oo.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let Da=Oo;Da.controlFieldType=b.IMAGE,Da.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Zb extends Pa{static get controlType(){return"image"}constructor(e){super(e);var n,u,a,r,l,o;this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class Yb extends _t{constructor(e){super(e)}}var xo={Designer:Da,Runtime:Zb,Property:Yb};class pb extends vt{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,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class eC extends H{constructor(e){super(e);this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Fn(Fe({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class ln extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new rm(e==null?void 0:e.dataBind),this.datasourceBind=new ne((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Eu({value:"name"})]}),this.defaultValue=new lm((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Ln.CNY}),this.options=Re(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:on.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(h=e==null?void 0:e.submitSelectCurrency)!=null?h:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}ln.Rules=pb,ln.RuntimeRules=eC;class on extends N{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new ln(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=b.MONEY,on.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ko extends ${static get controlType(){return"amount"}constructor(e){super(e);this.props=new ln(e==null?void 0:e.props)}}ko.controlFieldType=b.MONEY;var Mo={Designer:on,Runtime:ko,Property:ln};class tC extends ie{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 nC extends H{constructor(e){super(e);this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class cn extends M{constructor(e){super(e);var n,u,a,r,l,o,s;this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:ya.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(l=(r=e==null?void 0:e.explain)==null?void 0:r.map(d=>new oi(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new oi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:sn.controlName}}cn.Rules=tC,cn.RuntimeRules=nC;class sn extends N{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new cn(e==null?void 0:e.props)}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 u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new oi);this.props.explain.push(...a)}}super.postUpdate(e,n)}}sn.controlEventKeys=["on_change","on_click"],sn.controlFieldType=b.DECIMAL,sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lo extends ${static get controlType(){return"score"}constructor(e){super(e);this.props=new cn(e==null?void 0:e.props)}}Lo.controlFieldType=b.DECIMAL;var No={Designer:sn,Runtime:Lo,Property:cn};class iC extends H{constructor(e){super(e);if(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 Oi extends M{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:xi.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new sm((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}Oi.RuntimeRules=iC;class xi extends N{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}}xi.controlFieldType=b.ADDRESS,xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class $o extends ${static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}}$o.controlFieldType=b.ADDRESS;var Vo={Designer:xi,Runtime:$o,Property:Oi};class uC extends H{constructor(e){super(e);this[0].type="array"}}class ki extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(m=e==null?void 0:e.caption)!=null?m:dn.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\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(S=>{var T;(T=this.multistageFilling)==null||T.push(new le(S))}))}}ki.RuntimeRules=uC;class dn extends N{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}dn.controlName="\u90E8\u95E8",dn.controlFieldType=b.DEPARTMENTS,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class jo extends ${static get controlType(){return"department"}constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}}jo.controlFieldType=b.DEPARTMENTS;var Ho={Designer:dn,Runtime:jo,Property:ki};class Fa extends M{constructor(e){super(e);var n,u,a;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:fn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class fn extends N{static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Fa(e==null?void 0:e.props)}}fn.controlEventKeys=["on_change"],fn.controlFieldType=b.AUTO_NUMBER,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class qo extends ${static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Fa(e==null?void 0:e.props)}}qo.controlFieldType=b.AUTO_NUMBER;var Uo={Designer:fn,Runtime:qo,Property:Fa};class aC extends ie{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 rC extends H{constructor(e){super(e);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 hn extends M{constructor(e){super(e);var n,u,a,r,l,o,s;this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new dm(e==null?void 0:e.dataBind),this.defaultValue=new fm(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:yn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}hn.Rules=aC,hn.RuntimeRules=rC;class yn extends N{static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}constructor(e){super(e);this.props=new hn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}yn.controlEventKeys=["on_change"],yn.controlFieldType=b.CALC,yn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Wo extends ${static get controlType(){return"calc"}constructor(e){super(e);this.props=new hn(e==null?void 0:e.props)}}Wo.controlFieldType=b.CALC;var Go={Designer:yn,Runtime:Wo,Property:hn};class lC extends H{constructor(e){super(e);this[0].type="array",this.push({validator(n,u){return e.required&&u.every(r=>!r)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Mi extends M{constructor(e){super(e);var n,u,a,r,l,o;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:Li.controlName}}Mi.RuntimeRules=lC;class Li extends N{static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}}Li.controlFieldType=b.DECIMAL_RANGE,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zo extends ${static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}}zo.controlFieldType=b.DECIMAL_RANGE;var Ko={Designer:Li,Runtime:zo,Property:Mi};class oC extends H{constructor(e){super(e);this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Ni extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:Oe.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(m=e==null?void 0:e.placeholderEnd)!=null?m:"\u7ED3\u675F\u65E5\u671F",this.caption=(h=e==null?void 0:e.caption)!=null?h:$i.controlName,this.limitDateList=(S=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(T=>new li(T)))!=null?S:[]}}Ni.RuntimeRules=oC;class $i extends N{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}}$i.controlFieldType=b.ARRAY,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Xo extends ${static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}}Xo.controlFieldType=b.ARRAY;var Qo={Designer:$i,Runtime:Xo,Property:Ni};class cC extends ie{constructor(e){super(e);this.dataBind={type:"any"}}}class sC extends H{constructor(e){super(e);this[0].type="any"}}class mn extends M{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}mn.Rules=cC,mn.RuntimeRules=sC;class vn extends N{static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new mn(e==null?void 0:e.props)}}vn.controlFieldType=b.ANY,vn.controlEventKeys=[],vn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Jo extends ${static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new mn(e==null?void 0:e.props)}}Jo.controlFieldType=b.ANY;var Zo={Designer:vn,Runtime:Jo,Property:mn};class dC extends vt{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")}]}}]}}class Vi extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.options=Re((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new bu(e==null?void 0:e.listPageBind),this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:gn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Iu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var g;(g=this.multistageFilling)==null||g.push(new le(h))})),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 yt(e==null?void 0:e.formBind)}}Vi.Rules=dC;class gn extends N{static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}gn.controlFieldType=b.VARCHAR,gn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],gn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Yo extends ${static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}Yo.controlFieldType=b.VARCHAR;var po={Designer:gn,Runtime:Yo,Property:Vi};class Oa extends It{constructor(e){super(e)}}class ec extends St{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new Oa(e==null?void 0:e.props)}}ec.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class tc extends ${static get controlType(){return"search-input"}constructor(e){super(e);this.props=new Oa(e==null?void 0:e.props)}}tc.controlFieldType=b.VARCHAR;var nc={Designer:ec,Runtime:tc,Property:Oa};class fC extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],jn.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 hC extends H{constructor(e){super(e);this[0].type="array"}}class bn extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T,I,B,v,_,A,k;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(d=e==null?void 0:e.isShowFilterItem)!=null?d:!1,this.isShowIncludeSub=(m=e==null?void 0:e.isShowIncludeSub)!=null?m:!1,this.isDefaultCheckSub=(h=e==null?void 0:e.isDefaultCheckSub)!=null?h:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(S=e==null?void 0:e.defaultCollapseLevel)!=null?S:1,this.datasourceBind=new Vr((T=e==null?void 0:e.datasourceBind)!=null?T:{attributes:He.controlCustomAttributes}),this.filterItemDatasourceBind=new Vr((I=e==null?void 0:e.filterItemDatasourceBind)!=null?I:{attributes:He.controlCustomAttributes}),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(A=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(x=>new le(x)))!=null?A:[],this.defaultValue=(k=e==null?void 0:e.defaultValue)!=null?k:[]}}bn.Rules=fC,bn.RuntimeRules=hC;class He extends N{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}]}constructor(e){super(e);this.props=new bn(e==null?void 0:e.props)}}He.controlEventKeys=["on_change","on_click"],He.controlFieldType=b.ARRAY,He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class ic extends ${static get controlType(){return"tree"}constructor(e){super(e);this.props=new bn(e==null?void 0:e.props)}}ic.controlFieldType=b.ARRAY;var uc={Designer:He,Runtime:ic,Property:bn};class yC extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},jn.call(this,e,Rt.controlCustomAttributes),e.externalType===je.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class mC extends H{constructor(e){super(e);this[0].type="array"}}class Cn extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T,I;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Rt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Mn((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Rt.controlCustomAttributes}),this.datasourceType=(h=e==null?void 0:e.datasourceType)!=null?h:Ca.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ea.ADMIN,this.externalType=(S=e==null?void 0:e.externalType)!=null?S:je.ALL,this.externalScope=(T=e==null?void 0:e.externalScope)!=null?T:[],this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var v;(v=this.multistageFilling)==null||v.push(new le(B))}))}}Cn.Rules=yC,Cn.RuntimeRules=mC;class Rt extends N{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}]}constructor(e){super(e);this.props=new Cn(e==null?void 0:e.props)}}Rt.controlFieldType=b.EMPLOYEES,Rt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class ac extends ${static get controlType(){return"employee2"}constructor(e){super(e);this.props=new Cn(e==null?void 0:e.props)}}ac.controlFieldType=b.EMPLOYEES;var rc={Designer:Rt,Runtime:ac,Property:Cn};class vC extends ie{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,u,a)=>(n[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&hu(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&u.signatureType.includes("company")&&hu(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class ji extends M{constructor(e){super(e);var n,u,a,r,l,o;this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new xl(e==null?void 0:e.signatureConfig)}}ji.Rules=vC;class En extends N{static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new ji(e==null?void 0:e.props)}}En.controlEventKeys=["on_click","on_click_finish"],En.controlFieldType=b.VARCHAR,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class lc extends ${static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new ji(e==null?void 0:e.props)}}lc.controlFieldType=b.VARCHAR;var oc={Designer:En,Runtime:lc,Property:ji};class gC extends ie{constructor(e){super(e);this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class bC extends H{constructor(e){super(e);this[0].type="array"}}class wn extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S;this.caption=(n=e==null?void 0:e.caption)!=null?n:In.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(m=e==null?void 0:e.canDelete)!=null?m:!1,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:zb,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new kl(e==null?void 0:e.wpsSetting),this.revisionsMode=(S=e==null?void 0:e.revisionsMode)!=null?S:!1}}wn.Rules=gC,wn.RuntimeRules=bC;class In extends N{static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}constructor(e){super(e);this.props=new wn(e==null?void 0:e.props)}}In.controlEventKeys=["on_change","on_wps_open"],In.controlFieldType=b.FILE,In.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class cc extends ${static get controlType(){return"wps"}constructor(e){super(e);this.props=new wn(e==null?void 0:e.props)}}cc.controlFieldType=b.FILE;var sc={Designer:In,Runtime:cc,Property:wn};class CC extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},jn.call(this,e,ze.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class EC extends H{constructor(e){super(e);this[0].type="array"}}class Sn extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T,I,B;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(m=e==null?void 0:e.caption)!=null?m:ze.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Mn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(S=e==null?void 0:e.datasourceType)!=null?S:ci.INTERNAL,this.businessScope=(T=e==null?void 0:e.businessScope)!=null?T:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:je.ALL,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new le(v))}))}}Sn.Rules=CC,Sn.RuntimeRules=EC;class ze extends N{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new Sn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ze.controlName="\u90E8\u95E8",ze.controlFieldType=b.DEPARTMENTS,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class dc extends ${static get controlType(){return"department2"}constructor(e){super(e);this.props=new Sn(e==null?void 0:e.props)}}dc.controlFieldType=b.DEPARTMENTS;var fc={Designer:ze,Runtime:dc,Property:Sn};class wC extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},jn.call(this,e,Ke.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class IC extends H{constructor(e){super(e);this[0].type="array"}}class _n extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T,I,B,v,_,A;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.listPageBind=new bu(e==null?void 0:e.listPageBind),this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(m=e==null?void 0:e.caption)!=null?m:Ke.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new um((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(S=e==null?void 0:e.datasourceType)!=null?S:ci.INTERNAL,this.businessScope=(T=e==null?void 0:e.businessScope)!=null?T:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:je.ALL,this.organizingFunction=(B=e==null?void 0:e.organizingFunction)!=null?B:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Iu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(k=>{var x;(x=this.multistageFilling)==null||x.push(new le(k))}))}}_n.Rules=wC,_n.RuntimeRules=IC;class Ke extends N{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new _n(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"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 ${static get controlType(){return"organization-selection"}constructor(e){super(e);this.props=new _n(e==null?void 0:e.props)}}hc.controlFieldType=b.DEPARTMENTS;var yc={Designer:Ke,Runtime:hc,Property:_n},SC=Object.freeze({__proto__:null,Input:co,Checkbox:fo,Radio:yo,Number:vo,DatePicker:bo,DateRange:Eo,Textarea:Io,RichText:_o,Select:Ro,SelectMultiple:Bo,Employee:Do,Image:xo,Attachment:Fo,Amount:Mo,Score:No,Address:Vo,Department:Ho,AutoNumber:Uo,Calc:Go,SearchNumberRange:Ko,SearchDateRange:Qo,VueFormItem:Zo,SelectRelation:po,SearchInput:nc,Tree:uc,Employee2:rc,ElectronicSignature:oc,WPS:sc,Department2:fc,OrganizationSelection:yc});class mc extends U{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}mc.excludes=[R.GRID];class _C extends G{static get controlType(){return"grid"}constructor(e){super(e)}}var vc={Designer:mc,Runtime:_C,Property:q};const AC=24;class Xe extends q{constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:AC,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class An extends U{static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new Xe(e==null?void 0:e.props)}}An.excludes=[R.COL,R.CARD_GROUP,R.SUBTABLE,R.SUBTABLE_COLUMN,R.DIVIDER],An.childrenMaxLength=1;class xa extends G{static get controlType(){return"col"}constructor(e){super(e);this.props=new Xe(e==null?void 0:e.props)}}var gc={Designer:An,Runtime:xa,Property:Xe};class Hi extends q{constructor(e){super(e);var n,u;this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class qi extends U{static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}qi.excludes=[R.ROW],qi.setting=[{key:"col-setting",visible:!0}];class bc extends G{static get controlType(){return"row"}constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}var Cc={Designer:qi,Runtime:bc,Property:Hi};const RC=4;class Ui extends qi{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)}}Ui.excludes=[R.GRID_ROW],Ui.setting=[],Ui.childrenMaxLength=RC;class TC extends bc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class BC extends Hi{constructor(e){super(e)}}var Ec={Designer:Ui,Runtime:TC,Property:BC};class PC extends q.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Wi extends q{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Wi.Rules=PC;class ka extends U{static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new Wi(e==null?void 0:e.props)}}ka.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ka.excludes=[R.CARD_GROUP];class DC extends G{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new Wi(e==null?void 0:e.props)}}var wc={Designer:ka,Runtime:DC,Property:Wi};class FC extends K{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 Gi extends q{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new Qy(e==null?void 0:e.metaAutoWidth)}}Gi.Rules=FC;class Ee extends U{constructor(e){super(e);this.props=new Gi(e==null?void 0:e.props)}}Ee.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Ee.controlType="subtable-column",Ee.controlIcon="subtable-column",Ee.childrenMaxLength=1,Ee.excludes=[R.SUBTABLE,R.SUBTABLE_COLUMN,R.ROW,R.COL,R.CARD_GROUP,R.DIVIDER,R.TEXT],Ee.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Ic extends G{constructor(e){super(e);this.props=new Gi(e==null?void 0:e.props)}}Ic.controlType="subtable-column";var Sc={Designer:Ee,Runtime:Ic,Property:Gi};class Ma extends q{constructor(e){super(e)}}class Qe extends U{constructor(e){super(e);this.props=new Ma(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=[R.SUBTABLE,R.SUBTABLE_COLUMN,R.SUBTABLE_ROW,R.ROW,R.COL,R.CARD_GROUP,R.DIVIDER,R.TEXT],Qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class OC extends G{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new Ma(e==null?void 0:e.props)}}var _c={Designer:Qe,Runtime:OC,Property:Ma};class La extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h;this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(m=e==null?void 0:e.timestampDateType)!=null?m:Oe.DATE,this.departmentDisplayLevel=(h=e==null?void 0:e.departmentDisplayLevel)!=null?h:1}}class Je extends U{constructor(e){super(e);this.props=new La(e==null?void 0:e.props)}}Je.controlName="\u5217\u8868\u5355\u5143\u683C",Je.controlType="gridtable-column",Je.controlIcon="gridtable-column",Je.childrenMaxLength=1,Je.excludes=[R.GRID_TABLE,R.GRID_TABLE_COLUMN,R.ROW,R.COL,R.CARD_GROUP,R.DIVIDER,R.TEXT],Je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Ac extends G{constructor(e){super(e);this.props=new La(e==null?void 0:e.props)}}Ac.controlType="gridtable-column";var Rc={Designer:Je,Runtime:Ac,Property:La};class Na extends q{constructor(e){super(e);var n,u;this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(u=e==null?void 0:e.colGap)!=null?u:24}}class $a extends U{static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}constructor(e){super(e);this.props=new Na(e==null?void 0:e.props)}}$a.excludes=[R.GRID_LAYOUT_CONTAINER,R.CARD_GROUP,R.TAB],$a.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class xC extends G{static get controlType(){return"grid-layout-container"}constructor(e){super(e);this.props=new Na(e==null?void 0:e.props)}}var Tc={Designer:$a,Runtime:xC,Property:Na};class Va extends q{constructor(e){super(e);var n;this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class kC extends K{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class zi extends q{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName}}zi.Rules=kC;class Rn extends U{static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}constructor(e){super(e);this.props=new zi(e==null?void 0:e.props)}}Rn.excludes=[R.TAB],Rn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class MC extends G{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new zi(e==null?void 0:e.props)}}var Bc={Designer:Rn,Runtime:MC,Property:zi};class Tn extends U{static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}constructor(e){super(e);var n;this.props=new Va(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Rn,new Rn]}}Tn.excludes=[R.TAB],Tn.controlEventKeys=["on_change_tab"],Tn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class LC extends G{static get controlType(){return"tab"}constructor(e){super(e);this.props=new Va(e==null?void 0:e.props)}}var Pc={Designer:Tn,Runtime:LC,Property:Va};class Dc extends q{constructor(e){super(e)}}class Fc extends U{static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new Dc({}),this.children=(e==null?void 0:e.children)||[new An({props:new Xe({span:12})}),new An({props:new Xe({span:12})})]}}Fc.excludes=[R.GRID_ROW,R.ROW,R.GRID,R.SUBTABLE,R.TAB,R.TOOLBOX];class NC extends G{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new xa({props:new Xe({span:12})}),new xa({props:new Xe({span:12})})]}}var Oc={Designer:Fc,Runtime:NC,Property:Dc};class $C extends We{constructor(e){super(e);this.push({type:"object",fields:{}})}}class VC extends K{constructor(e){super(e);if(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")}}}}]}}]),Lu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Bn extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new em(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new nm(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(d=e==null?void 0:e.selectionType)!=null?d:"multiple",this.isFixedHeader=(m=e==null?void 0:e.isFixedHeader)!=null?m:!1,this.isShowSelection=(h=e==null?void 0:e.isShowSelection)!=null?h:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType}}Bn.Rules=VC,Bn.RuntimeRules=$C;class Ki extends U{static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new Bn(e==null?void 0:e.props)}}Ki.excludes=[R.ROW],Ki.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"],Ki.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:"super-setting",visible:!0}];class jC extends G{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new Bn(e==null?void 0:e.props)}}var xc={Designer:Ki,Runtime:jC,Property:Bn};class HC extends We{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Xi extends q{constructor(e){super(e);var n,u,a,r,l,o;this.save=new Me((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Me((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Me((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Me((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Me(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new ne(e==null?void 0:e.datasourceBind)}}Xi.RuntimeRules=HC;class kc extends U{static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Xi(e==null?void 0:e.props)}}kc.excludes=[];class qC extends G{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Xi(e==null?void 0:e.props)}}var Mc={Designer:kc,Runtime:qC,Property:Xi};class UC extends U{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class WC extends G{static get controlType(){return"page"}constructor(e){super(e)}}class GC extends q{constructor(e){super(e);var n;this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Lc={Designer:UC,Runtime:WC,Property:GC};class zC extends U{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class KC extends G{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class XC extends q{constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Nl(e==null?void 0:e.flexConfig)}}var Nc={Designer:zC,Runtime:KC,Property:XC};class QC extends U{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class JC extends G{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class ZC extends q{constructor(e){super(e)}}var $c={Designer:QC,Runtime:JC,Property:ZC};class YC extends U{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class pC extends G{static get controlType(){return"position"}constructor(e){super(e)}}class eE extends q{constructor(e){super(e);var n,u,a,r;this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Vc={Designer:YC,Runtime:pC,Property:eE};class ja extends q{constructor(e){super(e);var n,u,a;this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(u=e==null?void 0:e.opacity)!=null?u:!0,this.align=(a=e==null?void 0:e.align)!=null?a:"right"}}class Ha extends U{static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}constructor(e){super(e);var n;this.props=new ja((n=e==null?void 0:e.props)!=null?n:{})}}Ha.excludes=[],Ha.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class tE extends G{static get controlType(){return"action-bar"}constructor(e){super(e);var n;this.props=new ja((n=e==null?void 0:e.props)!=null?n:{})}}var jc={Designer:Ha,Runtime:tE,Property:ja},nE=Object.freeze({__proto__:null,Grid:vc,Col:gc,Row:Cc,GridRow:Ec,CardGroup:wc,SubTableColumn:Sc,SubTableRow:_c,GridTableColumn:Rc,GridLayoutContainer:Tc,Tab:Pc,TabPane:Bc,Toolbox:Oc,ListView:xc,DataView:Mc,Page:Lc,AdvancedContainer:Nc,PositioningContainer:$c,Position:Vc,ActionBar:jc});class iE extends K{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 uE extends We{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,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class Pn extends Jn{constructor(e,n){super(e,n);var u,a,r,l,o,s,d,m,h,g,S,T,I,B,v,_,A,k,x,te,L,Z,me,ve,Pe,ft,De,we,Tt;this.caption=(u=n==null?void 0:n.caption)!=null?u:Qi.controlName,this.isHideCaption=(a=n==null?void 0:n.isHideCaption)!=null?a:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(l=n==null?void 0:n.labelPosition)!=null?l:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(m=n==null?void 0:n.maxHeight)!=null?m:Ml,this.printMode=(h=n==null?void 0:n.printMode)!=null?h:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.maxRows=(S=n==null?void 0:n.maxRows)!=null?S:null,this.defaultRows=(T=n==null?void 0:n.defaultRows)!=null?T:1,this.datasourceBind=new ne(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(B=n==null?void 0:n.canDelete)!=null?B:!0,this.canCheck=(v=n==null?void 0:n.canCheck)!=null?v:!1,this.canEdit=(_=n==null?void 0:n.canEdit)!=null?_:!1,this.canImport=(A=n==null?void 0:n.canImport)!=null?A:!1,this.canExport=(k=n==null?void 0:n.canExport)!=null?k:!1,this.canClear=(x=n==null?void 0:n.canClear)!=null?x:!0,this.serverPagination=(te=n==null?void 0:n.serverPagination)!=null?te:!1,this.isShowCaptionTip=(L=n==null?void 0:n.isShowCaptionTip)!=null?L:!1,this.captionTip=(Z=n==null?void 0:n.captionTip)!=null?Z:"",this.mobileShowType=(me=n==null?void 0:n.mobileShowType)!=null?me:"list",this.mobileDefaultNum=(ve=n==null?void 0:n.mobileDefaultNum)!=null?ve:10,this.dataStorageDoc=(Pe=n==null?void 0:n.dataStorageDoc)!=null?Pe:new Jy,this.fixedColumn=(ft=n==null?void 0:n.fixedColumn)!=null?ft:[],this.mobileRowCaption=(De=n==null?void 0:n.mobileRowCaption)!=null?De:"\u660E\u7EC6",this.mobileIsTile=(we=n==null?void 0:n.mobileIsTile)!=null?we:!1,this.isPaste=(Tt=n==null?void 0:n.isPaste)!=null?Tt:!1}}Pn.Rules=iE,Pn.RuntimeRules=uE;class Qi extends Xu{static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}constructor(e){super(e);var n,u;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 Ee,new Ee,new Ee]),((u=e==null?void 0:e.props)==null?void 0:u.footers)===void 0&&(this.props.footers=[])}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new Ee,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Qi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Qi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class aE extends _l{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new Pn(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Tr("Method not implemented.")}getChildrenFormControl(){return[]}}var Hc={Designer:Qi,Runtime:aE,Property:Pn};class qa extends Jn{constructor(e,n){super(e,n);var u,a,r,l;this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0}}class rE extends Be{constructor(e){super(e);this.caption.required=!1}}class Ji extends z{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(l=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}Ji.Rules=rE;class Ze extends p{constructor(e){super(e);this.props=new Ji(e==null?void 0:e.props)}}Ze.controlType="order-column",Ze.controlName="\u5E8F\u53F7",Ze.controlIcon="order-column",Ze.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Ua extends ee{constructor(e){super(e);this.props=new Ji(e==null?void 0:e.props)}}Ua.controlType="order-column",Ua.controlFieldType=b.DECIMAL;var qc={Designer:Ze,Runtime:Ua,Property:Ji};class Wa extends z{constructor(e){super(e);var n,u,a,r,l,o;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=e==null?void 0:e.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Ye.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ye extends p{constructor(e){super(e);this.props=new Wa(e==null?void 0:e.props),Te(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return Fn(Fe({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return gr(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}Ye.controlType="operation-column",Ye.controlName="\u64CD\u4F5C",Ye.controlIcon="operation-column",Ye.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Ga extends ee{constructor(e){super(e);this.props=new Wa(e==null?void 0:e.props),Te(this,"children",e==null?void 0:e.children)}}Ga.controlType="operation-column",Ga.controlFieldType=b.FILE;var Uc={Designer:Ye,Runtime:Ga,Property:Wa};class Wc extends Xu{static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}constructor(e){super(e);var n;this.props=new qa(this,e==null?void 0:e.props),Te(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ze,new Ye]),((n=e==null?void 0:e.props)==null?void 0:n.footers)===void 0&&(this.props.footers=[])}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return Fn(Fe({},e),{children:n})}validate(e,n){var u=a=>super[a];return gr(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}Wc.setting=[{key:"list-fixed-header",visible:!0}];class lE extends _l{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new qa(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Tr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Gc={Designer:Wc,Runtime:lE,Property:qa},oE=Object.freeze({__proto__:null,SubTable:Hc,GridTable:Gc});class cE extends Rl{constructor(e){super(e);Ge.call(this,e)}}class Zi extends z{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Re((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1}}Zi.Rules=cE;class pe extends p{constructor(e){super(e);this.props=new Zi(e==null?void 0:e.props)}}pe.controlType="varchar-column",pe.controlName="\u77ED\u6587\u672C",pe.controlIcon="varchar-column",pe.controlFieldType=b.VARCHAR,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class za extends ee{constructor(e){super(e);this.props=new Zi(e==null?void 0:e.props)}}za.controlType="varchar-column",za.controlFieldType=b.VARCHAR;var zc={Designer:pe,Runtime:za,Property:Zi};class sE extends Be{constructor(e){super(e);Ge.call(this,e)}}class Yi extends z{constructor(e){super(e);var n,u,a,r;this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption)}}Yi.Rules=sE;class et extends p{constructor(e){super(e);this.props=new Yi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}et.controlType="text-column",et.controlName="\u957F\u6587\u672C",et.controlIcon="text-column",et.controlFieldType=b.TEXT,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Ka extends ee{constructor(e){super(e);this.props=new Yi(e==null?void 0:e.props)}}Ka.controlType="text-column",Ka.controlFieldType=b.TEXT;var Kc={Designer:et,Runtime:Ka,Property:Yi};class dE extends Be{constructor(e){super(e);Ge.call(this,e)}}class pi extends z{constructor(e){super(e);var n,u,a,r,l,o,s;this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Re((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption)}}pi.Rules=dE;class tt extends p{constructor(e){super(e);this.props=new pi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}tt.controlType="decimal-column",tt.controlName="\u6570\u503C",tt.controlIcon="decimal-column",tt.controlFieldType=b.DECIMAL,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Xa extends ee{constructor(e){super(e);this.props=new pi(e==null?void 0:e.props)}}Xa.controlType="decimal-column",Xa.controlFieldType=b.DECIMAL;var Xc={Designer:tt,Runtime:Xa,Property:pi};class fE extends Be{constructor(e){super(e);Ge.call(this,e)}}class eu extends z{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Oe.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:nt.controlName}}eu.Rules=fE;class nt extends p{constructor(e){super(e);this.props=new eu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}nt.controlType="timescope-column",nt.controlName="\u65E5\u671F\u533A\u95F4",nt.controlIcon="timescope-column",nt.controlFieldType=b.TIMESCOPE,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Qa extends ee{constructor(e){super(e);this.props=new eu(e==null?void 0:e.props)}}Qa.controlType="timescope-column",Qa.controlFieldType=b.TIMESCOPE;var Qc={Designer:nt,Runtime:Qa,Property:eu};class hE extends Be{constructor(e){super(e);Ge.call(this,e)}}class tu extends z{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Oe.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:it.controlName}}tu.Rules=hE;class it extends p{constructor(e){super(e);this.props=new tu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}it.controlType="timestamp-column",it.controlName="\u65E5\u671F",it.controlIcon="timestamp-column",it.controlFieldType=b.TIMESTAMP,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ja extends ee{constructor(e){super(e);this.props=new tu(e==null?void 0:e.props)}}Ja.controlType="timestamp-column",Ja.controlFieldType=b.TIMESTAMP;var Jc={Designer:it,Runtime:Ja,Property:tu};class yE extends Rl{constructor(e){super(e)}}class nu extends z{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Re((a=e==null?void 0:e.options)!=null?a:[{}])}}nu.Rules=yE;class ut extends p{constructor(e){super(e);this.props=new nu(e==null?void 0:e.props)}}ut.controlType="array-column",ut.controlName="\u6570\u7EC4",ut.controlIcon="array-column",ut.controlFieldType=b.ARRAY,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Za extends ee{constructor(e){super(e);this.props=new nu(e==null?void 0:e.props)}}Za.controlType="array-column",Za.controlFieldType=b.ARRAY;var Zc={Designer:ut,Runtime:Za,Property:nu};class Ya extends z{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class at extends p{constructor(e){super(e);this.props=new Ya(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:u}=this.props;n.props.displayLevel=u}return n}}at.controlType="department-column",at.controlName="\u90E8\u95E8",at.controlIcon="department-column",at.controlFieldType=b.DEPARTMENTS,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class pa extends ee{constructor(e){super(e);this.props=new Ya(e==null?void 0:e.props)}}pa.controlType="department-column",pa.controlFieldType=b.DEPARTMENTS;var Yc={Designer:at,Runtime:pa,Property:Ya};class mE extends Be{constructor(e){super(e);Ge.call(this,e)}}class iu extends z{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption)}}iu.Rules=mE;class rt extends p{constructor(e){super(e);this.props=new iu(e==null?void 0:e.props)}}rt.controlType="auto-number-column",rt.controlName="\u81EA\u52A8\u7F16\u53F7",rt.controlIcon="auto-number-column",rt.controlFieldType=b.AUTO_NUMBER,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class er extends ee{constructor(e){super(e);this.props=new iu(e==null?void 0:e.props)}}er.controlType="auto-number-column",er.controlFieldType=b.AUTO_NUMBER;var pc={Designer:rt,Runtime:er,Property:iu};class tr extends z{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends p{constructor(e){super(e);this.props=new tr(e==null?void 0:e.props)}}lt.controlType="file-column",lt.controlName="\u9644\u4EF6",lt.controlIcon="file-column",lt.controlFieldType=b.FILE,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class nr extends ee{constructor(e){super(e);this.props=new tr(e==null?void 0:e.props)}}nr.controlType="file-column",nr.controlFieldType=b.FILE;var es={Designer:lt,Runtime:nr,Property:tr};class ir extends z{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName}}class ot extends p{constructor(e){super(e);this.props=new ir(e==null?void 0:e.props)}}ot.controlType="image-column",ot.controlName="\u56FE\u7247",ot.controlIcon="image-column",ot.controlFieldType=b.IMAGE,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ur extends ee{constructor(e){super(e);this.props=new ir(e==null?void 0:e.props)}}ur.controlType="image-column",ur.controlFieldType=b.IMAGE;var ts={Designer:ot,Runtime:ur,Property:ir};class ar extends z{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName}}class ct extends p{constructor(e){super(e);this.props=new ar(e==null?void 0:e.props)}}ct.controlType="people-column",ct.controlName="\u4EBA\u5458",ct.controlIcon="people-column",ct.controlFieldType=b.EMPLOYEES,ct.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class rr extends ee{constructor(e){super(e);this.props=new ar(e==null?void 0:e.props)}}rr.controlType="people-column",rr.controlFieldType=b.EMPLOYEES;var ns={Designer:ct,Runtime:rr,Property:ar};class vE extends Be{constructor(e){super(e);Ge.call(this,e)}}class uu extends z{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:st.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption)}}uu.Rules=vE;class st extends p{constructor(e){super(e);this.props=new uu(e==null?void 0:e.props)}}st.controlType="location-column",st.controlName="\u5730\u5740",st.controlIcon="location-column",st.controlFieldType=b.ADDRESS,st.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class lr extends ee{constructor(e){super(e);this.props=new uu(e==null?void 0:e.props)}}lr.controlType="location-column",lr.controlFieldType=b.ADDRESS;var is={Designer:st,Runtime:lr,Property:uu};class or extends z{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const gE=1;class qe extends p{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new or(e==null?void 0:e.props),Te(this,"children",e==null?void 0:e.children),this.excludes=xe(n),this.childrenMaxLength=u}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:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return Fn(Fe({},e),{children:this.children.map(n=>n.toSchema())})}}qe.controlType="custom-column",qe.controlName="\u81EA\u5B9A\u4E49",qe.controlIcon="custom-column",qe.excludes=[],qe.childrenMaxLength=gE,qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class us extends ee{constructor(e){super(e);this.props=new or(e==null?void 0:e.props),Te(this,"children",e==null?void 0:e.children)}}us.controlType="custom-column";var as={Designer:qe,Runtime:us,Property:or};class cr extends z{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.datasourceBind=new Mn((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Ue.controlCustomAttributes})}}class Ue extends p{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new cr(e==null?void 0:e.props)}}Ue.controlType="employee-column",Ue.controlName="\u4EBA\u5458",Ue.controlIcon="employee-column",Ue.controlFieldType=b.EMPLOYEES,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class sr extends ee{constructor(e){super(e);this.props=new cr(e==null?void 0:e.props)}}sr.controlType="employee-column",sr.controlFieldType=b.EMPLOYEES;var rs={Designer:Ue,Runtime:sr,Property:cr};class dr extends z{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:dt.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class dt extends p{constructor(e){super(e);this.props=new dr(e==null?void 0:e.props)}}dt.controlType="approval-status-column",dt.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",dt.controlIcon="approval-status-column",dt.excludes=[],dt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}];class ls extends ee{constructor(e){super(e);this.props=new dr(e==null?void 0:e.props)}}ls.controlType="approval-status-column";var os={Designer:dt,Runtime:ls,Property:dr},bE=Object.freeze({__proto__:null,VarcharColumn:zc,TextColumn:Kc,DecimalColumn:Xc,TimescopeColumn:Qc,TimestampColumn:Jc,ArrayColumn:Zc,DepartmentColumn:Yc,AutoNumberColumn:pc,FileColumn:es,ImageColumn:ts,PeopleColumn:ns,LocationColumn:is,CustomColumn:as,OrderColumn:qc,OperationColumn:Uc,EmployeeColumn:rs,ApprovalStatusColumn:os});class CE extends We{constructor(e){super(e);this.push({type:"object",fields:{}})}}class au extends ua{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h;this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.viewType=(a=e==null?void 0:e.viewType)!=null?a:"mini",this.search=new Me((r=e==null?void 0:e.search)!=null?r:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Me((l=e==null?void 0:e.cancel)!=null?l:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(g=>new Me(g)),this.queryTypeMap=(d=e==null?void 0:e.queryTypeMap)!=null?d:[],this.childMinWidth=(m=e==null?void 0:e.childMinWidth)!=null?m:230,this.colGap=(h=e==null?void 0:e.colGap)!=null?h:24}}au.RuntimeRules=CE;class fr extends v0{constructor(e){super(e);this.props=new au(e==null?void 0:e.props)}}fr.controlType="simple-search",fr.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:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class cs extends _0{constructor(e){super(e);var n;this.props=new au(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}cs.controlType="simple-search";var ss={Designer:fr,Runtime:cs,Property:au},EE=Object.freeze({__proto__:null,SimpleSearch:ss});class hr extends oa{constructor(e){super(e);var n;this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class wE extends V0{static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}constructor(e){super(e);this.props=new hr(e==null?void 0:e.props)}}class IE extends K0{static get controlType(){return"grid-layout-wrap"}constructor(e){super(e);this.props=new hr(e==null?void 0:e.props)}}function FE(t){return t}var SE={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},ds={Designer:wE,Runtime:IE,Property:hr,Setting:SE},_E=Object.freeze({__proto__:null,GridLayoutWrap:ds});y.ActionBar=jc,y.Address=Vo,y.AdvancedContainer=Nc,y.Amount=Mo,y.ApprovalStatusColumn=os,y.ArrayColumn=Zc,y.AssignType=je,y.Attachment=Fo,y.AutoNumber=Uo,y.AutoNumberColumn=pc,y.BatchDeleteButton=lo,y.BatchPrintListButton=uo,y.BatchPrintRecordListButton=ao,y.BatchSubmissionListButton=Ul,y.Button=Dl,y.Calc=Go,y.CardGroup=wc,y.Checkbox=fo,y.Col=gc,y.CreateFormListButton=ql,y.CustomColumn=as,y.DATE_CONFIG_TYPE=Fl,y.DATE_LIMIT_TYPE=Ol,y.Dashboard=pl,y.DataView=Mc,y.DatePicker=bo,y.DateRange=Eo,y.DecimalColumn=Xc,y.Department=Ho,y.Department2=fc,y.DepartmentColumn=Yc,y.DepartmentType=ci,y.Divider=jl,y.ElectronicSignature=oc,y.ElectronicSignatureConfig=xl,y.Employee=Do,y.Employee2=rc,y.EmployeeColumn=rs,y.EncryptTypeEnum=$l,y.Explain=oi,y.ExportListButton=Gl,y.ExportRecordListButton=zl,y.ExportTemplate=ga,y.FileColumn=es,y.FlexStyleConfig=Nl,y.FormSelectButton=Xl,y.Grid=vc,y.GridLayoutContainer=Tc,y.GridLayoutWrap=ds,y.GridRow=Ec,y.GridTable=Gc,y.GridTableColumn=Rc,y.Image=xo,y.ImageColumn=ts,y.ImportRecordListButton=Kl,y.Input=co,y.InternalType=Ea,y.InvoiceCheckButton=io,y.LINE_STYLE=ma,y.LimitDate=li,y.Link=Pl,y.ListSelectButton=Ql,y.ListView=xc,y.ListViewSelect=to,y.LocationColumn=is,y.Number=vo,y.OperationButton=ro,y.OperationColumn=Uc,y.OrderColumn=qc,y.OrganizationSelection=yc,y.OrganizeType=Ca,y.Page=Lc,y.Pagination=Zl,y.PeopleColumn=ns,y.Position=Vc,y.PositioningContainer=$c,y.PrintTemplate=Ll,y.Radio=yo,y.RichText=_o,y.Row=Cc,y.SCORE_TYPE=ya,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Ml,y.Score=No,y.SearchDateRange=Qo,y.SearchInput=nc,y.SearchNumberRange=Ko,y.Select=Ro,y.SelectMultiple=Bo,y.SelectRelation=po,y.SimpleSearch=ss,y.SubTable=Hc,y.SubTableColumn=Sc,y.SubTableRow=_c,y.SubmissionRecordListButton=Wl,y.Tab=Pc,y.TabPane=Bc,y.Text=Bl,y.TextColumn=Kc,y.TextOcrButton=no,y.Textarea=Io,y.TimescopeColumn=Qc,y.TimestampColumn=Jc,y.Title=Hl,y.TitleConfigEnum=Ve,y.Toolbox=Oc,y.Tree=uc,y.UndersignedPerson=va,y.VarcharColumn=zc,y.VueFormItem=Zo,y.WPS=sc,y.WPSSetting=kl,y.WpsOperationItem=ba,y.baseControls=Pb,y.columnControls=bE,y.formControls=SC,y.initExpression=Nt,y.layoutControls=nE,y.listControls=oE,y.searchControls=EE,y.wrapControls=_E,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var RE=Object.defineProperty,TE=Object.defineProperties;var BE=Object.getOwnPropertyDescriptors;var fs=Object.getOwnPropertySymbols;var PE=Object.prototype.hasOwnProperty,DE=Object.prototype.propertyIsEnumerable;var hs=(y,W,Q)=>W in y?RE(y,W,{enumerable:!0,configurable:!0,writable:!0,value:Q}):y[W]=Q,Fe=(y,W)=>{for(var Q in W||(W={}))PE.call(W,Q)&&hs(y,Q,W[Q]);if(fs)for(var Q of fs(W))DE.call(W,Q)&&hs(y,Q,W[Q]);return y},Fn=(y,W)=>TE(y,BE(W));var br=(y,W,Q)=>new Promise((ye,On)=>{var ru=Ae=>{try{Bt(Q.next(Ae))}catch(Pt){On(Pt)}},lu=Ae=>{try{Bt(Q.throw(Ae))}catch(Pt){On(Pt)}},Bt=Ae=>Ae.done?ye(Ae.value):Promise.resolve(Ae.value).then(ru,lu);Bt((Q=Q.apply(y,W)).next())});(function(y,W){typeof exports=="object"&&typeof module!="undefined"?W(exports):typeof define=="function"&&define.amd?define(["exports"],W):(y=typeof globalThis!="undefined"?globalThis:y||self,W(y.modelDrivenControls={}))})(this,function(y){"use strict";var W=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Q={exports:{}};(function(t){var e=function(n){var u=Object.prototype,a=u.hasOwnProperty,r=Object.defineProperty||function(E,C,w){E[C]=w.value},l,o=typeof Symbol=="function"?Symbol:{},s=o.iterator||"@@iterator",d=o.asyncIterator||"@@asyncIterator",m=o.toStringTag||"@@toStringTag";function h(E,C,w){return Object.defineProperty(E,C,{value:w,enumerable:!0,configurable:!0,writable:!0}),E[C]}try{h({},"")}catch(E){h=function(C,w,F){return C[w]=F}}function g(E,C,w,F){var P=C&&C.prototype instanceof A?C:A,V=Object.create(P.prototype),oe=new mr(F||[]);return r(V,"_invoke",{value:ft(E,w,oe)}),V}n.wrap=g;function S(E,C,w){try{return{type:"normal",arg:E.call(C,w)}}catch(F){return{type:"throw",arg:F}}}var T="suspendedStart",I="suspendedYield",B="executing",v="completed",_={};function A(){}function k(){}function x(){}var te={};h(te,s,function(){return this});var L=Object.getPrototypeOf,Z=L&&L(L(vr([])));Z&&Z!==u&&a.call(Z,s)&&(te=Z);var me=x.prototype=A.prototype=Object.create(te);k.prototype=x,r(me,"constructor",{value:x,configurable:!0}),r(x,"constructor",{value:k,configurable:!0}),k.displayName=h(x,m,"GeneratorFunction");function ve(E){["next","throw","return"].forEach(function(C){h(E,C,function(w){return this._invoke(C,w)})})}n.isGeneratorFunction=function(E){var C=typeof E=="function"&&E.constructor;return C?C===k||(C.displayName||C.name)==="GeneratorFunction":!1},n.mark=function(E){return Object.setPrototypeOf?Object.setPrototypeOf(E,x):(E.__proto__=x,h(E,m,"GeneratorFunction")),E.prototype=Object.create(me),E},n.awrap=function(E){return{__await:E}};function Pe(E,C){function w(V,oe,ce,ge){var se=S(E[V],E,oe);if(se.type==="throw")ge(se.arg);else{var gr=se.arg,Dn=gr.value;return Dn&&typeof Dn=="object"&&a.call(Dn,"__await")?C.resolve(Dn.__await).then(function(ht){w("next",ht,ce,ge)},function(ht){w("throw",ht,ce,ge)}):C.resolve(Dn).then(function(ht){gr.value=ht,ce(gr)},function(ht){return w("throw",ht,ce,ge)})}}var F;function P(V,oe){function ce(){return new C(function(ge,se){w(V,oe,ge,se)})}return F=F?F.then(ce,ce):ce()}r(this,"_invoke",{value:P})}ve(Pe.prototype),h(Pe.prototype,d,function(){return this}),n.AsyncIterator=Pe,n.async=function(E,C,w,F,P){P===void 0&&(P=Promise);var V=new Pe(g(E,C,w,F),P);return n.isGeneratorFunction(C)?V:V.next().then(function(oe){return oe.done?oe.value:V.next()})};function ft(E,C,w){var F=T;return function(V,oe){if(F===B)throw new Error("Generator is already running");if(F===v){if(V==="throw")throw oe;return AE()}for(w.method=V,w.arg=oe;;){var ce=w.delegate;if(ce){var ge=De(ce,w);if(ge){if(ge===_)continue;return ge}}if(w.method==="next")w.sent=w._sent=w.arg;else if(w.method==="throw"){if(F===T)throw F=v,w.arg;w.dispatchException(w.arg)}else w.method==="return"&&w.abrupt("return",w.arg);F=B;var se=S(E,C,w);if(se.type==="normal"){if(F=w.done?v:I,se.arg===_)continue;return{value:se.arg,done:w.done}}else se.type==="throw"&&(F=v,w.method="throw",w.arg=se.arg)}}}function De(E,C){var w=C.method,F=E.iterator[w];if(F===l)return C.delegate=null,w==="throw"&&E.iterator.return&&(C.method="return",C.arg=l,De(E,C),C.method==="throw")||w!=="return"&&(C.method="throw",C.arg=new TypeError("The iterator does not provide a '"+w+"' method")),_;var P=S(F,E.iterator,C.arg);if(P.type==="throw")return C.method="throw",C.arg=P.arg,C.delegate=null,_;var V=P.arg;if(!V)return C.method="throw",C.arg=new TypeError("iterator result is not an object"),C.delegate=null,_;if(V.done)C[E.resultName]=V.value,C.next=E.nextLoc,C.method!=="return"&&(C.method="next",C.arg=l);else return V;return C.delegate=null,_}ve(me),h(me,m,"Generator"),h(me,s,function(){return this}),h(me,"toString",function(){return"[object Generator]"});function we(E){var C={tryLoc:E[0]};1 in E&&(C.catchLoc=E[1]),2 in E&&(C.finallyLoc=E[2],C.afterLoc=E[3]),this.tryEntries.push(C)}function Tt(E){var C=E.completion||{};C.type="normal",delete C.arg,E.completion=C}function mr(E){this.tryEntries=[{tryLoc:"root"}],E.forEach(we,this),this.reset(!0)}n.keys=function(E){var C=Object(E),w=[];for(var F in C)w.push(F);return w.reverse(),function P(){for(;w.length;){var V=w.pop();if(V in C)return P.value=V,P.done=!1,P}return P.done=!0,P}};function vr(E){if(E||E===""){var C=E[s];if(C)return C.call(E);if(typeof E.next=="function")return E;if(!isNaN(E.length)){var w=-1,F=function P(){for(;++w<E.length;)if(a.call(E,w))return P.value=E[w],P.done=!1,P;return P.value=l,P.done=!0,P};return F.next=F}}throw new TypeError(typeof E+" is not iterable")}n.values=vr;function AE(){return{value:l,done:!0}}return mr.prototype={constructor:mr,reset:function(E){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(Tt),!E)for(var C in this)C.charAt(0)==="t"&&a.call(this,C)&&!isNaN(+C.slice(1))&&(this[C]=l)},stop:function(){this.done=!0;var E=this.tryEntries[0],C=E.completion;if(C.type==="throw")throw C.arg;return this.rval},dispatchException:function(E){if(this.done)throw E;var C=this;function w(ge,se){return V.type="throw",V.arg=E,C.next=ge,se&&(C.method="next",C.arg=l),!!se}for(var F=this.tryEntries.length-1;F>=0;--F){var P=this.tryEntries[F],V=P.completion;if(P.tryLoc==="root")return w("end");if(P.tryLoc<=this.prev){var oe=a.call(P,"catchLoc"),ce=a.call(P,"finallyLoc");if(oe&&ce){if(this.prev<P.catchLoc)return w(P.catchLoc,!0);if(this.prev<P.finallyLoc)return w(P.finallyLoc)}else if(oe){if(this.prev<P.catchLoc)return w(P.catchLoc,!0)}else if(ce){if(this.prev<P.finallyLoc)return w(P.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(E,C){for(var w=this.tryEntries.length-1;w>=0;--w){var F=this.tryEntries[w];if(F.tryLoc<=this.prev&&a.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var P=F;break}}P&&(E==="break"||E==="continue")&&P.tryLoc<=C&&C<=P.finallyLoc&&(P=null);var V=P?P.completion:{};return V.type=E,V.arg=C,P?(this.method="next",this.next=P.finallyLoc,_):this.complete(V)},complete:function(E,C){if(E.type==="throw")throw E.arg;return E.type==="break"||E.type==="continue"?this.next=E.arg:E.type==="return"?(this.rval=this.arg=E.arg,this.method="return",this.next="end"):E.type==="normal"&&C&&(this.next=C),_},finish:function(E){for(var C=this.tryEntries.length-1;C>=0;--C){var w=this.tryEntries[C];if(w.finallyLoc===E)return this.complete(w.completion,w.afterLoc),Tt(w),_}},catch:function(E){for(var C=this.tryEntries.length-1;C>=0;--C){var w=this.tryEntries[C];if(w.tryLoc===E){var F=w.completion;if(F.type==="throw"){var P=F.arg;Tt(w)}return P}}throw new Error("illegal catch attempt")},delegateYield:function(E,C,w){return this.delegate={iterator:vr(E),resultName:C,nextLoc:w},this.method==="next"&&(this.arg=l),_}},n}(t.exports);try{regeneratorRuntime=e}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})(Q);var ye=Q.exports,On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ru="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",lu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Bt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ae="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Pt="{caption}\u5FC5\u586B",ys="\u8BF7\u8F93\u5165\u6807\u9898",ms="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",vs="\u8BF7\u8F93\u5165\u884C\u6807\u9898",gs="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",bs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Cs="\u8BF7\u7ED1\u5B9A\u8868\u5355",Es="\u8BF7\u7ED1\u5B9A\u5217\u8868",ws="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Is="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ss="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",_s="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",As="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Rs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ts="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Bs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ps="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ds="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Fs="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Os="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",xs="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ks="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ms="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ls="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ns="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",$s="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Vs="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",js="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Hs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",qs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Us="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ws="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Gs="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",zs="\u8BF7\u9009\u62E9\u7701",Ks="\u8BF7\u9009\u62E9\u5E02",Xs="\u8BF7\u9009\u62E9\u533A",Qs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Js="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Zs="\u8BF7\u8F93\u5165\u5217\u5BBD",Ys="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ps="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ed="\u8BF7\u9009\u62E9\u63A7\u4EF6",td="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",nd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",id="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ud="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ad="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",rd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ld="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",od="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",cd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",fd="\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",yd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",md="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",vd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",gd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",bd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ed="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",wd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Id="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Sd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",_d="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Ad="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Rd="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Td={isNotNumber:On,isNotString:ru,isNotObject:lu,isNotArray:Bt,isNotBoolean:Ae,runtimeRequired:Pt,pleaseEnterCaption:ys,pleaseEnterCaptionTip:ms,pleaseEnterRowCaption:vs,pleaseEnterPlaceholder:gs,pleaseEnterFieldCode:bs,pleaseEnterForm:Cs,pleaseEnterList:Es,pleaseEnterProcess:ws,pleaseEnterLabel:Is,pleaseEnterValue:Ss,bizKeyNotBindFiled:_s,pleaseSelectOneField:As,pleaseEnterNumberRange:Rs,pleaseEnterAValueGreaterThanMin:Ts,pleaseEnterAValueLessThanMax:Bs,numberRangeSetError:Ps,stringRangeError:Ds,attachmentMaxSize:Fs,pleaseEnterTotalScoreSetting:Os,theTotalScoreMustNotBeLessThan1:xs,scoreDefaultValueRange:ks,attachmentLimitError:Ms,PleaseReselectTheOptionalQuantity:Ls,TheMaximumLengthIsGreaterThanTheMinimumLength:Ns,TheMinimumLengthIsGreaterThanTheMaximumLength:$s,PleaseSelectTheCorrectOptionSettings:Vs,optionIdIsRepeat:js,optionIsRequired:Hs,pleaseEnterDataCode:qs,pleaseEnterValueFieldCode:Us,pleaseEnterSvcCode:Ws,pleaseBindAtLeastOneDisplayValue:Gs,pleaseSelectProvince:zs,pleaseSelectCity:Ks,pleaseSelectDistrict:Xs,limitRowsCannotBeLessThan0:Qs,TheNumberOfRowsCannotBeLessThanMinRows:Js,pleaseEnterColumnWidth:Zs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ys,pleaseCompleteAllRulesAndConditions:ps,pleaseSelectControl:ed,pleaseSelectAtLeastOneColumn:td,pleaseSelectFillBackMode:nd,pleaseSelectDashboard:id,rootNodeIsRequired:ud,theViewNameCannotBeEmpty:ad,pleaseSelectOcrType:rd,pleaseSelectAtLeastOneFieldToFillIn:ld,pleaseChooseAtLeastOne:od,pleaseEnterButtonContent:cd,pleaseEnterDataCodeInDataSetting:sd,pleaseEnterValueFieldCodeInDataSetting:dd,pleaseEnterSvcCodeInDataSetting:fd,pleaseBindAtLeastOneDisplayValueInDataSetting:hd,rootNodeIsRequiredInDataSetting:yd,pleaseEnterMaxHeight:md,pleaseEnter:vd,pleaseEnterWatermark:gd,pleaseEnterFileName:bd,pleaseUploadAtLeastOnePrintTemplate:Cd,pleaseAssignBusiness:Ed,pleaseAssignExternal:wd,pleaseEnterAliasCode:Id,pleaseSelectDataCode:Sd,pleaseSelectSvcCode:_d,pleaseSelectJoinFieldCode:Ad,pleaseSelectMainFieldCode:Rd},Bd="Please enter a number",Pd="Please enter a string",Dd="Please enter an object",Fd="Please enter an array",Od="Please enter a boolean",xd="{caption} Required",kd="Please enter the title",Md="Please enter the bubble prompt",Ld="Please enter the row title",Nd="Please enter the prompt text",$d="Please bind data items",Vd="Please bind the form",jd="Please bind the list",Hd="Please bind the process",qd="Please enter the displayed value",Ud="Please enter the stored value",Wd="The document number is not bound to the data item",Gd="Please select at least one display field",zd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Kd="Please enter a value greater than or equal to {min}",Xd="Please enter a value less than or equal to {max}",Qd="The value range is set incorrectly",Jd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Zd="The attachment size must be between 0MB and 1000MB",Yd="Please fill in the total score setting",pd="The total score cannot be less than 1",ef="The default value must be between {min} and {max}",tf="The number of attachments uploaded must be between {min} and {max}",nf="Please re-select the optional quantity",uf="The maximum length of the control must be greater than the minimum length",af="The minimum length of the control must be less than the maximum length",rf="Please select the correct option setting",lf="Option ID cannot be repeated",of="Please enter at least one option",cf="Please bind the data source",sf="Please bind the stored value",df="Please bind the service",ff="At least one display value must be bound",hf="Please select a province",yf="Please select a city",mf="Please select a district",vf="The minimum number of lines to fill in cannot be less than 0",gf="The number of rows cannot be less than {min} rows",bf="Please enter the column width",Cf="Please set the logical relationship of all rule conditions",Ef="Please complete all rules and conditions",wf="please select control",If="Please select the dashboard",Sf="View name cannot be empty",_f="Please select recognition type",Af="Please select at least one field to fill in",Rf="Please select at least one",Tf="Please enter the button title",Bf="Please bind the business model in the data settings",Pf="Please bind storage values in data settings",Df="Please bind the service in the data settings",Ff="Please bind at least one display value in the data settings",Of="Please select the root node in the data settings",xf="Please enter the maximum height",kf="The input content cannot be empty",Mf="Watermark cannot be empty",Lf="File name cannot be empty",Nf="Please upload at least one printing template!\uFF01",$f="Please select a specific business department",Vf="Please select a specified external organization",jf="Please enter a sub table alias",Hf="Please select the associated table to set the business model",qf="Please select the association table to set the binding service",Uf="Select associated sub table fields",Wf="Please select the associated main table field",Gf={isNotNumber:Bd,isNotString:Pd,isNotObject:Dd,isNotArray:Fd,isNotBoolean:Od,runtimeRequired:xd,pleaseEnterCaption:kd,pleaseEnterCaptionTip:Md,pleaseEnterRowCaption:Ld,pleaseEnterPlaceholder:Nd,pleaseEnterFieldCode:$d,pleaseEnterForm:Vd,pleaseEnterList:jd,pleaseEnterProcess:Hd,pleaseEnterLabel:qd,pleaseEnterValue:Ud,bizKeyNotBindFiled:Wd,pleaseSelectOneField:Gd,pleaseEnterNumberRange:zd,pleaseEnterAValueGreaterThanMin:Kd,pleaseEnterAValueLessThanMax:Xd,numberRangeSetError:Qd,stringRangeError:Jd,attachmentMaxSize:Zd,pleaseEnterTotalScoreSetting:Yd,theTotalScoreMustNotBeLessThan1:pd,scoreDefaultValueRange:ef,attachmentLimitError:tf,PleaseReselectTheOptionalQuantity:nf,TheMaximumLengthIsGreaterThanTheMinimumLength:uf,TheMinimumLengthIsGreaterThanTheMaximumLength:af,PleaseSelectTheCorrectOptionSettings:rf,optionIdIsRepeat:lf,optionIsRequired:of,pleaseEnterDataCode:cf,pleaseEnterValueFieldCode:sf,pleaseEnterSvcCode:df,pleaseBindAtLeastOneDisplayValue:ff,pleaseSelectProvince:hf,pleaseSelectCity:yf,pleaseSelectDistrict:mf,limitRowsCannotBeLessThan0:vf,TheNumberOfRowsCannotBeLessThanMinRows:gf,pleaseEnterColumnWidth:bf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Cf,pleaseCompleteAllRulesAndConditions:Ef,pleaseSelectControl:wf,pleaseSelectDashboard:If,theViewNameCannotBeEmpty:Sf,pleaseSelectOcrType:_f,pleaseSelectAtLeastOneFieldToFillIn:Af,pleaseChooseAtLeastOne:Rf,pleaseEnterButtonContent:Tf,pleaseEnterDataCodeInDataSetting:Bf,pleaseEnterValueFieldCodeInDataSetting:Pf,pleaseEnterSvcCodeInDataSetting:Df,pleaseBindAtLeastOneDisplayValueInDataSetting:Ff,rootNodeIsRequiredInDataSetting:Of,pleaseEnterMaxHeight:xf,pleaseEnter:kf,pleaseEnterWatermark:Mf,pleaseEnterFileName:Lf,pleaseUploadAtLeastOnePrintTemplate:Nf,pleaseAssignBusiness:$f,pleaseAssignExternal:Vf,pleaseEnterAliasCode:jf,pleaseSelectDataCode:Hf,pleaseSelectSvcCode:qf,pleaseSelectJoinFieldCode:Uf,pleaseSelectMainFieldCode:Wf},zf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Xf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zf="{caption}\u5FC5\u9808",Yf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",th="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ih="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ah="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ch="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",dh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",yh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vh="\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",bh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ch="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Eh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wh="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ih="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Sh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_h="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ah="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Rh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Th="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ph="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Dh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Fh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Oh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Mh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Nh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",$h="please select control",Vh="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jh="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Hh="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qh="\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",Uh="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wh="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",zh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Kh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Xh="\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",Qh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Jh="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zh="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Yh="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ph="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ey="\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",ty="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ny="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",iy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",ay="\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",ry="\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",oy={isNotNumber:zf,isNotString:Kf,isNotObject:Xf,isNotArray:Qf,isNotBoolean:Jf,runtimeRequired:Zf,pleaseEnterCaption:Yf,pleaseEnterCaptionTip:pf,pleaseEnterRowCaption:eh,pleaseEnterPlaceholder:th,pleaseEnterFieldCode:nh,pleaseEnterForm:ih,pleaseEnterList:uh,pleaseEnterProcess:ah,pleaseEnterLabel:rh,pleaseEnterValue:lh,bizKeyNotBindFiled:oh,pleaseSelectOneField:ch,pleaseEnterNumberRange:sh,pleaseEnterAValueGreaterThanMin:dh,pleaseEnterAValueLessThanMax:fh,numberRangeSetError:hh,stringRangeError:yh,attachmentMaxSize:mh,pleaseEnterTotalScoreSetting:vh,theTotalScoreMustNotBeLessThan1:gh,scoreDefaultValueRange:bh,attachmentLimitError:Ch,PleaseReselectTheOptionalQuantity:Eh,TheMaximumLengthIsGreaterThanTheMinimumLength:wh,TheMinimumLengthIsGreaterThanTheMaximumLength:Ih,PleaseSelectTheCorrectOptionSettings:Sh,optionIdIsRepeat:_h,optionIsRequired:Ah,pleaseEnterDataCode:Rh,pleaseEnterValueFieldCode:Th,pleaseEnterSvcCode:Bh,pleaseBindAtLeastOneDisplayValue:Ph,pleaseSelectProvince:Dh,pleaseSelectCity:Fh,pleaseSelectDistrict:Oh,limitRowsCannotBeLessThan0:xh,TheNumberOfRowsCannotBeLessThanMinRows:kh,pleaseEnterColumnWidth:Mh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Lh,pleaseCompleteAllRulesAndConditions:Nh,pleaseSelectControl:$h,pleaseSelectDashboard:Vh,theViewNameCannotBeEmpty:jh,pleaseSelectOcrType:Hh,pleaseSelectAtLeastOneFieldToFillIn:qh,pleaseChooseAtLeastOne:Uh,pleaseEnterButtonContent:Wh,pleaseEnterDataCodeInDataSetting:Gh,pleaseEnterValueFieldCodeInDataSetting:zh,pleaseEnterSvcCodeInDataSetting:Kh,pleaseBindAtLeastOneDisplayValueInDataSetting:Xh,rootNodeIsRequiredInDataSetting:Qh,pleaseEnterMaxHeight:Jh,pleaseEnter:Zh,pleaseEnterWatermark:Yh,pleaseEnterFileName:ph,pleaseUploadAtLeastOnePrintTemplate:ey,pleaseAssignBusiness:ty,pleaseAssignExternal:ny,pleaseEnterAliasCode:iy,pleaseSelectDataCode:uy,pleaseSelectSvcCode:ay,pleaseSelectJoinFieldCode:ry,pleaseSelectMainFieldCode:ly},cy={zhCN:Td,enUS:Gf,jaJP:oy},Cr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Cr||(Cr={}));var Er;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Er||(Er={}));var sy="zh-CN";function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wr;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(wr||(wr={}));var R;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.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"})(R||(R={}));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 ue;ue={},de(ue,b.ARRAY,R.ARRAY_COLUMN),de(ue,b.AUTO_NUMBER,R.AUTO_NUMBER_COLUMN),de(ue,b.DECIMAL,R.DECIMAL_COLUMN),de(ue,b.DEPARTMENTS,R.DEPARTMENT_COLUMN),de(ue,b.FILE,R.FILE_COLUMN),de(ue,b.IMAGE,R.IMAGE_COLUMN),de(ue,b.ADDRESS,R.LOCATION_COLUMN),de(ue,b.EMPLOYEES,R.EMPLOYEE_COLUMN),de(ue,b.TEXT,R.TEXT_COLUMN),de(ue,b.TIMESCOPE,R.TIMESCOPE_COLUMN),de(ue,b.TIMESTAMP,R.TIMESTAMP_COLUMN),de(ue,b.VARCHAR,R.VARCHAR_COLUMN),de(ue,b.RELATION,R.VARCHAR_COLUMN);var Oe;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Oe||(Oe={}));var Ir="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",dy=Ir+"0123456789";function Re(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?Ir:dy,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function fy(t){if(Array.isArray(t))return ou(t)}function hy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function xn(t,e,n){return yy()?xn=Reflect.construct:xn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&Ft(d,l.prototype),d},xn.apply(null,arguments)}function Dt(t){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dt(t)}function _r(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ft(t,e)}function my(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function by(t,e){return e&&(Cy(e)==="object"||typeof e=="function")?e:hy(t)}function Ft(t,e){return Ft=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ft(t,e)}function Ar(t){return fy(t)||vy(t)||Ey(t)||gy()}var Cy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ey(t,e){if(!!t){if(typeof t=="string")return ou(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 ou(t,e)}}function cu(t){var e=typeof Map=="function"?new Map:void 0;return cu=function(u){if(u===null||!my(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return xn(u,arguments,Dt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Ft(a,u)},cu(t)}function wy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Rr(t){var e=wy();return function(){var u=Dt(t),a;if(e){var r=Dt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return by(this,a)}}var su=console;function Iy(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=su).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ar(a)))}function Tr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=su).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(Ar(a)))}function Sy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var du=function(t){_r(n,t);var e=Rr(n);function n(u){Sr(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?Sy(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(cu(Error)),_y=function(t){_r(n,t);var e=Rr(n);function n(u){Sr(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(du);function Br(t){throw new du(t)}function Pr(t){throw new _y(t)}function Ay(t){su.error(new du(t))}var Ry=Object.prototype.toString;function Dr(t,e){return Ry.call(t)==="[object "+e+"]"}function Ty(t){return Dr(t,"String")}function By(t){return Dr(t,"Promise")}var Py=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),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 u=this.getMessageData();By(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,r,l,o){if(a!==void 0){var s=a[r];if(!(l===o.length-1&&!Ty(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var r=n[a];return r!==void 0?String(r):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=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 Dy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Fy(t,e,n){return e&&Fr(t.prototype,e),n&&Fr(t,n),t}var f=function(){function t(){Dy(this,t)}return Fy(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sy;return new Py({locale:n,messages:cy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function Oy(t,e,n){var u=e.replace(/\[(\d)]/g,function(r,l){return"."+l}).split("."),a=!1;return u.reduce(function(r,l,o,s){var d=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,l)){Iy("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),r,r);return}return o===s.length-1&&!Object.is(d[l],n)&&(d[l]=n,a=!0),d[l]}},t),a}var xy={exports:{}};(function(t){(function(e){var n=function(v,_,A){if(!d(_)||h(_)||g(_)||S(_)||s(_))return _;var k,x=0,te=0;if(m(_))for(k=[],te=_.length;x<te;x++)k.push(n(v,_[x],A));else{k={};for(var L in _)Object.prototype.hasOwnProperty.call(_,L)&&(k[v(L,A)]=n(v,_[L],A))}return k},u=function(v,_){_=_||{};var A=_.separator||"_",k=_.split||/(?=[A-Z])/;return v.split(k).join(A)},a=function(v){return T(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,A){return A?A.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},r=function(v){var _=a(v);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(v,_){return u(v,_).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},d=function(v){return v===Object(v)},m=function(v){return o.call(v)=="[object Array]"},h=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},S=function(v){return o.call(v)=="[object Boolean]"},T=function(v){return v=v-0,v===v},I=function(v,_){var A=_&&"process"in _?_.process:_;return typeof A!="function"?v:function(k,x){return A(k,v,x)}},B={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(v,_){return n(I(a,_),v)},decamelizeKeys:function(v,_){return n(I(l,_),v,_)},pascalizeKeys:function(v,_){return n(I(r,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(W)})(xy);var Or={};Object.defineProperty(Or,"__esModule",{value:!0});function fu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:fu(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:fu(u)}return e}}var ky=Or.default=fu;function xe(t){if(t!==void 0)return typeof t=="object"?ky(t):t}function My(t){return Object.prototype.toString.call(t)==="[object Object]"}function hu(t){return Array.isArray(t)}function Ly(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function yu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Ny(t){if(Array.isArray(t))return yu(t)}function xr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function $y(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){xr(r,u,a,l,o,"next",s)}function o(s){xr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Vy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function jy(t,e,n){return e&&kr(t.prototype,e),n&&kr(t,n),t}function Hy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function mu(t){return Ny(t)||Hy(t)||Uy(t)||qy()}function Uy(t,e){if(!!t){if(typeof t=="string")return yu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yu(t,e)}}var Wy=function(){function t(){Vy(this,t),this._events=new Map,this.debug=!1}return jy(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return $y(ye.mark(function o(){var s,d,m,h,g,S,T,I,B,v;return ye.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(s=l._events.get(n),d=[],!s){A.next=42;break}m=s.slice(),h=!0,g=!1,S=void 0,A.prev=5,T=m[Symbol.iterator]();case 7:if(h=(I=T.next()).done){A.next=28;break}if(B=I.value,s.includes(B)){A.next=11;break}return A.abrupt("continue",25);case 11:return A.prev=11,l.debug&&Tr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(mu(a))),A.next=15,B.apply(null,mu(a));case 15:if(v=A.sent,l.debug&&Tr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(mu(a),[v])),d.push(v),v!==!1){A.next=20;break}return A.abrupt("break",28);case 20:A.next=25;break;case 22:A.prev=22,A.t0=A.catch(11),Ay(String(A.t0)+":"+String(A.t0.stack));case 25:h=!0,A.next=7;break;case 28:A.next=34;break;case 30:A.prev=30,A.t1=A.catch(5),g=!0,S=A.t1;case 34:A.prev=34,A.prev=35,!h&&T.return!=null&&T.return();case 37:if(A.prev=37,!g){A.next=40;break}throw S;case 40:return A.finish(37);case 41:return A.finish(34);case 42:return A.abrupt("return",d);case 43:case"end":return A.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}(),Gy=[];new Set(Gy.map(function(t){return t.Designer.controlType}));function Mr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function be(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vu(t,e)}function zy(t,e){return e&&(Ky(e)==="object"||typeof e=="function")?e:Mr(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},vu(t,e)}var Ky=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xy(){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 Ce(t){var e=Xy();return function(){var u=kn(t),a;if(e){var r=kn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return zy(this,a)}}var Ie=function t(e){D(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"",this.aliasCode=e==null?void 0:e.aliasCode},Lr=function t(e){D(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},gu=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:240;var l;return a.widthType=(l=u==null?void 0:u.widthType)!==null&&l!==void 0?l:"auto",a}return n}(Lr),Qy=function t(e){D(this,t),this.pc=new gu(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new gu(e==null?void 0:e.mobile):new gu({width:130,minWidth:180})},Jy=function t(e){D(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var u;this.customOptions=(u=e==null?void 0:e.customOptions)!==null&&u!==void 0?u:[]},yt=function t(e){D(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},Zy=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;a=e.call(this,u);var r;return a.primaryControlId=(r=u==null?void 0:u.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(yt),Nr=function t(e){D(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},bu=function t(e){D(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Nr(l)}))!==null&&r!==void 0?r:[]},Yy=function t(e){D(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:b.VARCHAR},py=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;a=e.call(this,u);var r;a.title=(r=u==null?void 0:u.title)!==null&&r!==void 0?r:"";var l;a.svcCode=(l=u==null?void 0:u.svcCode)!==null&&l!==void 0?l:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(yt),em=function t(e){D(this,t);var n,u;this.type="sublist-page",this.formBind=new yt(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new Yy(l)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(l){return new py(l)}))!==null&&r!==void 0?r:[]},tm=function t(e){D(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},Ot=function t(e){D(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},$r=function t(e){D(this,t),this.type="conditions";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re();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;if(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)){var l=this;e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=l.children)===null||s===void 0||s.push(d)}else{var m,h=new Cu(o);(m=l.children)===null||m===void 0||m.push(h)}})}},Cu=function t(e){D(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new tm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ot(e==null?void 0:e.rightVariableBo)},nm=function t(e){D(this,t);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind);var u;this.relationFields=(u=e==null?void 0:e.relationFields)!==null&&u!==void 0?u:[]},le=function t(e){D(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Eu=function t(e){D(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},im=function t(e){D(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function wu(t){var e,n,u,a,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(s){return s.children!==void 0?new $r(s):new Cu(s)}))!==null&&r!==void 0?r:[];var l;this.viewFilters=(l=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new $r(s):new Cu(s)}))!==null&&l!==void 0?l:[];var o;this.orders=(o=(u=t)===null||u===void 0||(a=u.orders)===null||a===void 0?void 0:a.map(function(s){return new im(s)}))!==null&&o!==void 0?o:[]}var ne=function t(e){D(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";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;if(this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)){var l=this;e==null||e.displayBoList.map(function(m){var h;(h=l.displayBoList)===null||h===void 0||h.push(new Eu(m))})}var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var d;this.svcCode=(d=e==null?void 0:e.svcCode)!==null&&d!==void 0?d:"",wu.call(this,e)},Iu=function t(e){D(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.displayBoList=(u=e==null?void 0:e.displayBoList)!==null&&u!==void 0?u:[]},ke=function t(e){D(this,t);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var u;this.color=(u=e==null?void 0:e.color)!==null&&u!==void 0?u:"primary";var a;this.command=(a=e==null?void 0:e.command)!==null&&a!==void 0?a:"view";var r;this.confirmMessage=(r=e==null?void 0:e.confirmMessage)!==null&&r!==void 0?r:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var d;this.needConfirm=(d=e==null?void 0:e.needConfirm)!==null&&d!==void 0?d:!1;var m;this.openType=(m=e==null?void 0:e.openType)!==null&&m!==void 0?m:"modal";var h;this.priorityProcess=(h=e==null?void 0:e.priorityProcess)!==null&&h!==void 0?h:!0},Vr=function t(e){D(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Eu(l)}))!==null&&r!==void 0?r:[]},Mn=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a,r;a=e.call(this,u);var l;return a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(o){return new Vr(o)}))!==null&&l!==void 0?l:[],a}return n}(ne),um=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a,r;a=e.call(this,u);var l;a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(s){return new Vr(s)}))!==null&&l!==void 0?l:[];var o;return a.formCode=(o=u==null?void 0:u.formCode)!==null&&o!==void 0?o:"",a}return n}(ne),jr=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;a=e.call(this,u),a.rootNode=new Ot(u==null?void 0:u.rootNode);var r;return a.filterCode=(r=u==null?void 0:u.filterCode)!==null&&r!==void 0?r:"",a}return n}(Mn),Hr=function t(e){D(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new le(l)}))!==null&&r!==void 0?r:[]},qr=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;return a=e.call(this,u),wu.call(Mr(a),u),a}return n}(Hr),Ur=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;a=e.call(this,u);var r;a.mode=(r=u==null?void 0:u.mode)!==null&&r!==void 0?r:"current";var l;return a.multiple=(l=u==null?void 0:u.multiple)!==null&&l!==void 0?l:!1,a}return n}(Hr),Wr=function t(e){D(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},am=function t(e){D(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function Te(t){var e;return(e=t==null?void 0:t.map(function(n){return new am(n)}))!==null&&e!==void 0?e:[]}var Su=function t(){D(this,t)},rm=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;return a=e.call(this),a.amount=new Ie(u==null?void 0:u.amount),a.currency=new Ie(u==null?void 0:u.currency),a}return n}(Su),lm=function t(e){D(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:Ln.CNY},om=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;return a=e.call(this),a.min=new Ie(u==null?void 0:u.min),a.max=new Ie(u==null?void 0:u.max),a}return n}(Su),cm=function t(e){D(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},sm=function t(e){D(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},dm=function(t){be(n,t);var e=Ce(n);function n(u){D(this,n);var a;return a=e.call(this),a.result=new Ie(u==null?void 0:u.result),a.unit=new Ie(u==null?void 0:u.unit),a}return n}(Su),fm=function t(e){D(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},Ln;(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"})(Ln||(Ln={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(c||(c={}));var _u;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(_u||(_u={}));var Me=function t(e){D(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},hm=function t(e){D(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:Re(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Nr(l)}))!==null&&r!==void 0?r:[],wu.call(this,e)},ym=function t(e){D(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"},mm=function t(e){D(this,t);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var u;this.optType=(u=e==null?void 0:e.optType)!==null&&u!==void 0?u:""};function vm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Au(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gm(){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 Nn(t,e,n){return gm()?Nn=Reflect.construct:Nn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&kt(d,l.prototype),d},Nn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function bm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kt(t,e)}function Cm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Em(t,e){return e&&(wm(e)==="object"||typeof e=="function")?e:vm(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},kt(t,e)}var wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ru(t){var e=typeof Map=="function"?new Map:void 0;return Ru=function(u){if(u===null||!Cm(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Nn(u,arguments,xt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),kt(a,u)},Ru(t)}function Im(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sm(t){var e=Im();return function(){var u=xt(t),a;if(e){var r=xt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Em(this,a)}}var K=function t(e){Au(this,t),this.isHide={type:"boolean"}},We=function(t){bm(n,t);var e=Sm(n);function n(u){return Au(this,n),e.call(this)}return n}(Ru(Array)),J=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Au(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new ym(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};J.Rules=K,J.RuntimeRules=We;function Se(){return Se=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},Se.apply(this,arguments)}function _m(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Tu(t){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(t)}function $n(t,e){return $n=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},$n(t,e)}function Am(){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 Vn(t,e,n){return Am()?Vn=Reflect.construct:Vn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&$n(d,l.prototype),d},Vn.apply(null,arguments)}function Rm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Bu(t){var e=typeof Map=="function"?new Map:void 0;return Bu=function(u){if(u===null||!Rm(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Vn(u,arguments,Tu(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),$n(a,u)},Bu(t)}var Tm=/%[sdj%]/g,Gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Gr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function Pu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function fe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var l=String(a).replace(Tm,function(o){if(o==="%%")return"%";if(u>=r)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return l}return a}function Bm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function X(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Bm(e)&&typeof t=="string"&&!t)}function Pm(t,e,n){var u=[],a=0,r=t.length;function l(o){u.push.apply(u,o),a++,a===r&&n(u)}t.forEach(function(o){e(o,l)})}function zr(t,e,n){var u=0,a=t.length;function r(l){if(l&&l.length){n(l);return}var o=u;u=u+1,o<a?e(t[o],r):n([])}r([])}function Dm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Kr=function(t){_m(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(Bu(Error));function Fm(t,e,n,u){if(e.first){var a=new Promise(function(h,g){var S=function(B){return u(B),B.length?g(new Kr(B,Pu(B))):h()},T=Dm(t);zr(T,n,S)});return a.catch(function(h){return h}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],m=new Promise(function(h,g){var S=function(I){if(d.push.apply(d,I),s++,s===o)return u(d),d.length?g(new Kr(d,Pu(d))):h()};l.length||(u(d),h()),l.forEach(function(T){var I=t[T];r.indexOf(T)!==-1?zr(I,n,S):Pm(I,n,S)})});return m.catch(function(h){return h}),m}function Xr(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 Qr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=Se(Se({},t[n]),u):t[n]=u}}return t}function Jr(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||X(e,r||t.type))&&u.push(fe(a.messages.required,t.fullField))}function Om(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(fe(a.messages.whitespace,t.fullField))}var Du={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(Du.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Du.url)},hex:function(e){return typeof e=="string"&&!!e.match(Du.hex)}};function xm(t,e,n,u,a){if(t.required&&e===void 0){Jr(t,e,n,u,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;r.indexOf(l)>-1?Mt[l](e)||u.push(fe(a.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&u.push(fe(a.messages.types[l],t.fullField,t.type))}function km(t,e,n,u,a){var r=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,m=null,h=typeof e=="number",g=typeof e=="string",S=Array.isArray(e);if(h?m="number":g?m="string":S&&(m="array"),!m)return!1;S&&(d=e.length),g&&(d=e.replace(s,"_").length),r?d!==t.len&&u.push(fe(a.messages[m].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(fe(a.messages[m].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(fe(a.messages[m].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(fe(a.messages[m].range,t.fullField,t.min,t.max))}var mt="enum";function Mm(t,e,n,u,a){t[mt]=Array.isArray(t[mt])?t[mt]:[],t[mt].indexOf(e)===-1&&u.push(fe(a.messages[mt],t.fullField,t[mt].join(", ")))}function Lm(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(fe(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||u.push(fe(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var O={required:Jr,whitespace:Om,type:xm,range:km,enum:Mm,pattern:Lm};function Nm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e,"string")&&!t.required)return n();O.required(t,e,u,r,a,"string"),X(e,"string")||(O.type(t,e,u,r,a),O.range(t,e,u,r,a),O.pattern(t,e,u,r,a),t.whitespace===!0&&O.whitespace(t,e,u,r,a))}n(r)}function $m(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&O.type(t,e,u,r,a)}n(r)}function Vm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&(O.type(t,e,u,r,a),O.range(t,e,u,r,a))}n(r)}function jm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&O.type(t,e,u,r,a)}n(r)}function Hm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),X(e)||O.type(t,e,u,r,a)}n(r)}function qm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&(O.type(t,e,u,r,a),O.range(t,e,u,r,a))}n(r)}function Um(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&(O.type(t,e,u,r,a),O.range(t,e,u,r,a))}n(r)}function Wm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();O.required(t,e,u,r,a,"array"),e!=null&&(O.type(t,e,u,r,a),O.range(t,e,u,r,a))}n(r)}function Gm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&O.type(t,e,u,r,a)}n(r)}var zm="enum";function Km(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a),e!==void 0&&O[zm](t,e,u,r,a)}n(r)}function Xm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e,"string")&&!t.required)return n();O.required(t,e,u,r,a),X(e,"string")||O.pattern(t,e,u,r,a)}n(r)}function Qm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e,"date")&&!t.required)return n();if(O.required(t,e,u,r,a),!X(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),O.type(t,o,u,r,a),o&&O.range(t,o.getTime(),u,r,a)}}n(r)}function Jm(t,e,n,u,a){var r=[],l=Array.isArray(e)?"array":typeof e;O.required(t,e,u,r,a,l),n(r)}function Fu(t,e,n,u,a){var r=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(X(e,r)&&!t.required)return n();O.required(t,e,u,l,a,r),X(e,r)||O.type(t,e,u,l,a)}n(l)}function Zm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();O.required(t,e,u,r,a)}n(r)}var Lt={string:Nm,method:$m,number:Vm,boolean:jm,regexp:Hm,integer:qm,float:Um,array:Wm,object:Gm,enum:Km,pattern:Xm,date:Qm,url:Fu,hex:Fu,email:Fu,required:Jm,any:Zm};function Ou(){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 xu=Ou();function Le(t){this.rules=null,this._messages=xu,this.define(t)}Le.prototype={messages:function(e){return e&&(this._messages=Qr(Ou(),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,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var r=e,l=n,o=u;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(I){var B,v=[],_={};function A(k){if(Array.isArray(k)){var x;v=(x=v).concat.apply(x,k)}else v.push(k)}for(B=0;B<I.length;B++)A(I[B]);v.length?_=Pu(v):(v=null,_=null),o(v,_)}if(l.messages){var d=this.messages();d===xu&&(d=Ou()),Qr(d,l.messages),l.messages=d}else l.messages=this.messages();var m,h,g={},S=l.keys||Object.keys(this.rules);S.forEach(function(I){m=a.rules[I],h=r[I],m.forEach(function(B){var v=B;typeof v.transform=="function"&&(r===e&&(r=Se({},r)),h=r[I]=v.transform(h)),typeof v=="function"?v={validator:v}:v=Se({},v),v.validator=a.getValidationMethod(v),v.field=I,v.fullField=v.fullField||I,v.type=a.getType(v),!!v.validator&&(g[I]=g[I]||[],g[I].push({rule:v,value:h,source:r,field:I}))})});var T={};return Fm(g,l,function(I,B){var v=I.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&I.value),v.field=I.field;function A(te,L){return Se(Se({},L),{},{fullField:v.fullField+"."+te})}function k(te){te===void 0&&(te=[]);var L=te;if(Array.isArray(L)||(L=[L]),!l.suppressWarning&&L.length&&Le.warning("async-validator:",L),L.length&&v.message!==void 0&&(L=[].concat(v.message)),L=L.map(Xr(v)),l.first&&L.length)return T[v.field]=1,B(L);if(!_)B(L);else{if(v.required&&!I.value)return v.message!==void 0?L=[].concat(v.message).map(Xr(v)):l.error&&(L=[l.error(v,fe(l.messages.required,v.field))]),B(L);var Z={};if(v.defaultField)for(var me in I.value)I.value.hasOwnProperty(me)&&(Z[me]=v.defaultField);Z=Se(Se({},Z),I.rule.fields);for(var ve in Z)if(Z.hasOwnProperty(ve)){var Pe=Array.isArray(Z[ve])?Z[ve]:[Z[ve]];Z[ve]=Pe.map(A.bind(null,ve))}var ft=new Le(Z);ft.messages(l.messages),I.rule.options&&(I.rule.options.messages=l.messages,I.rule.options.error=l.error),ft.validate(I.value,I.rule.options||l,function(De){var we=[];L&&L.length&&we.push.apply(we,L),De&&De.length&&we.push.apply(we,De),B(we.length?we:null)})}}var x;v.asyncValidator?x=v.asyncValidator(v,I.value,k,I.source,l):v.validator&&(x=v.validator(v,I.value,k,I.source,l),x===!0?k():x===!1?k(v.message||v.field+" fails"):x instanceof Array?k(x):x instanceof Error&&k(x.message)),x&&x.then&&x.then(function(){return k()},function(te){return k(te)})},function(I){s(I)})},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(fe("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?Lt.required:Lt[this.getType(e)]||!1}},Le.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},Le.warning=Gr,Le.messages=xu,Le.validators=Lt;var Ym={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 pm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Le(t);return n.messages(Object.assign(Ym,e)),n}var ev=new Wy;function ku(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function tv(t){if(Array.isArray(t))return t}function nv(t){if(Array.isArray(t))return ku(t)}function Zr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Yr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Zr(r,u,a,l,o,"next",s)}function o(s){Zr(r,u,a,l,o,"throw",s)}l(void 0)})}}function iv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function uv(t,e,n){return e&&pr(t.prototype,e),n&&pr(t,n),t}function av(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function el(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function tl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function rv(){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 lv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){av(t,a,n[a])})}return t}function ov(t){return tv(t)||tl(t)||il(t,i)||rv()}function Mu(t){return nv(t)||tl(t)||il(t)||lv()}function il(t,e){if(!!t){if(typeof t=="string")return ku(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ku(t,e)}}var j=function(){function e(n){var u=this;iv(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=al,this.removeSetting=ul,this._callControlHooks("preInstance",n);var a=el(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,o=a.controlType,s=a.controlFieldType,d=a.controlEventKeys,m=a.controlCustomEvents,h=a.name,g=a.setting;r&&l&&o||Pr("The ".concat(h," controlName,controlIcon,controlType is not define"));var S;this.id=(S=n==null?void 0:n.id)!==null&&S!==void 0?S:Re(10),this.name=r,this.icon=l;var T;this.type=(T=n==null?void 0:n.type)!==null&&T!==void 0?T:o,this.props=new J(n==null?void 0:n.props,(el(this,e)?this.constructor:void 0).controlName);var I;this.controlType=(I=n==null?void 0:n.controlType)!==null&&I!==void 0?I:"base",this.setting=xe(g);var B;this.fieldType=(B=n==null?void 0:n.fieldType)!==null&&B!==void 0?B:s,this.eventKeys=xe(d),this.customEvents=xe(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return uv(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}},{key:"_callControlHooks",value:function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,o=ov(a),s=o[0],d=o.slice(1);return(l=ev).emit.apply(l,[s,this].concat(Mu(d)))}},{key:"preUpdate",value:function(u,a){this._callControlHooks("preUpdateProps",u,a)}},{key:"postUpdate",value:function(u,a){this._callControlHooks("postUpdateProps",u,a)}},{key:"updateProps",value:function(u,a){this.preUpdate(u,a),Oy(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return Yr(ye.mark(function a(){var r,l,o;return ye.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return r=nl({},u.rules),d.next=3,u._callControlHooks("preValidate",r);case 3:return l=d.sent,o=l[l.length-1],d.abrupt("return",o===!1?void 0:o);case 6:case"end":return d.stop()}},a)}))()}},{key:"validate",value:function(u,a){var r=this;return Yr(ye.mark(function l(){var o,s,d;return ye.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,r.preValidate();case 2:return o=h.sent,s=o!==void 0?o:nl({},r.rules),Array.isArray(a)&&a.forEach(function(g){s.hasOwnProperty(g)&&delete s[g]}),d=pm(s,u),h.prev=6,h.next=9,d.validate(r.props);case 9:return h.abrupt("return",!0);case 12:throw h.prev=12,h.t0=h.catch(6),h.t0.control||(h.t0.control=r),h.t0;case 16:case"end":return h.stop()}},l,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,o=this.props,s=o.dataBind,d=o.datasourceBind,m=o.optionConfig,h=o.caption,g=o.required,S=o.maxLength,T=o.options,I=o.encrypted,B=o.encryptedMode;if(!(!a&&!s&&!d)){var v={parentId:u,fieldType:a,controlId:r,caption:h,type:l,props:{}};switch(s&&(v.dataBind=s),m){case"datasource":case void 0:d&&(v.datasourceBind=d);break;case"custom":v.props.options=T;break}return g!==void 0&&(v.required=g),S!==void 0&&(v.maxLength=S),I!==void 0&&(v.encrypted=I),B!==void 0&&(v.encryptedMode=B),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:xe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Mu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();j.controlName="\u63A7\u4EF6",j.controlIcon="icon",j.controlType="control",j.controlEventKeys=[],j.controlCustomEvents=[],j.setting=[],j.__is_control__=!0,j.removeSettingItem=ul,j.updateSettingItem=al;function ul(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a,r=typeof u!="string",l=(a=e.setting)===null||a===void 0?void 0:a.findIndex(function(d){return d.key===(r?u.key:u)});if(l!==-1){var o,s;r?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(d){return!u.hideItems.includes(d)}):e.setting.splice(l,1),r&&!((s=e.setting[l].showItems)===null||s===void 0?void 0:s.length)&&e.setting.splice(l,1)}})}function al(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(a){var r=n.setting.find(function(d){return d.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Mu(e.showItems))}}}})}function cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function sv(t,e,n){return e&&rl(t.prototype,e),n&&rl(t,n),t}function dv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var Y=function(){function e(n){cv(this,e),this.customEvents=[],this.parent=null;var u=dv(this,e)?this.constructor:void 0,a=u.controlType,r=u.controlFieldType,l=u.name,o=u.controlCustomEvents;a||Pr("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:Re(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new J(n==null?void 0:n.props),this.customEvents=o;var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base";var h;this.fieldType=(h=n==null?void 0:n.fieldType)!==null&&h!==void 0?h:r;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:_u.UNKNOWN}return sv(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var a=new u(this.props);return Array.from(a)}return[]}}]),e}();Y.controlType="control",Y.__is_control__=!0,Y.controlCustomEvents=[];function Lu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message: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,u,a){u.length===0&&a(f.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,u,a){var r=u.map(function(o){return o.value}),l=Ly(r);r.length!==l.length?a(f.getMessage("optionIdIsRepeat")):a()},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,u,a){u.length===0&&a(f.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},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 jn(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(a,r,l){r.length===0&&l(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},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 fv(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function ll(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function Un(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nu(t,e)}function hv(t,e){return e&&(yv(e)==="object"||typeof e=="function")?e:ll(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Nu(t,e)}var yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wn(t){var e=mv();return function(){var u=qn(t),a;if(e){var r=qn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return hv(this,a)}}var ie=function(t){Un(n,t);var e=Wn(n);function n(u){Hn(this,n);var a;a=e.call(this,u),a.dataBind={},a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.isHideCaption={type:"boolean"},a.labelPosition={type:"enum",enum:["top","left"]},a.defaultState={type:"enum",enum:["default","readonly"]},a.required={type:"boolean"},a.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(fv(u.dataBind))a.dataBind={type:"object",required:!0,fields:xe(r),message:f.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:xe(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(K),H=function(t){Un(n,t);var e=Wn(n);function n(u){Hn(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(We),M=function(t){Un(n,t);var e=Wn(n);function n(u){Hn(this,n);var a;a=e.call(this,u);var r;a.caption=(r=u==null?void 0:u.caption)!==null&&r!==void 0?r:"";var l;a.isHideCaption=(l=u==null?void 0:u.isHideCaption)!==null&&l!==void 0?l:!1;var o;a.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;a.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;a.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var m;a.labelPosition=(m=u==null?void 0:u.labelPosition)!==null&&m!==void 0?m:"top";var h;a.placeholder=(h=u==null?void 0:u.placeholder)!==null&&h!==void 0?h:"";var g;a.required=(g=u==null?void 0:u.required)!==null&&g!==void 0?g:!1;var S;a.requiredMessage=(S=u==null?void 0:u.requiredMessage)!==null&&S!==void 0?S:"",a.dataBind=new Ie(u==null?void 0:u.dataBind);var T;return a.defaultValue=(T=u==null?void 0:u.defaultValue)!==null&&T!==void 0?T:"",a}return n}(J);M.Rules=ie,M.RuntimeRules=H;var vt=function(t){Un(n,t);var e=Wn(n);function n(u){Hn(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Lu.call(ll(a),u),a}return n}(ie);function vv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function bv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function Cv(t,e){return e&&(Ev(e)==="object"||typeof e=="function")?e:vv(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},$u(t,e)}var Ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function wv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Iv(t){var e=wv();return function(){var u=Gn(t),a;if(e){var r=Gn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Cv(this,a)}}var N=function(t){bv(n,t);var e=Iv(n);function n(u){gv(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new M(u==null?void 0:u.props),a}return n}(j);N.controlEventKeys=["on_change","on_focus","on_blur"];function Sv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(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&&Vu(t,e)}function Rv(t,e){return e&&(Tv(e)==="object"||typeof e=="function")?e:Sv(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Vu(t,e)}var Tv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Pv(t){var e=Bv();return function(){var u=zn(t),a;if(e){var r=zn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Rv(this,a)}}var $=function(t){Av(n,t);var e=Pv(n);function n(u){_v(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new M(u==null?void 0:u.props),a}return n}(Y);function Dv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function Ov(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ju(t,e)}function xv(t,e){return e&&(kv(e)==="object"||typeof e=="function")?e:Dv(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ju(t,e)}var kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Lv(t){var e=Mv();return function(){var u=Kn(t),a;if(e){var r=Kn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return xv(this,a)}}var q=function(t){Ov(n,t);var e=Lv(n);function n(u){return Fv(this,n),e.call(this,u)}return n}(J);function Hu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Nv(t){if(Array.isArray(t))return Hu(t)}function $v(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Vv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ol(t){return Nv(t)||$v(t)||jv(t)||Vv()}function jv(t,e){if(!!t){if(typeof t=="string")return Hu(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 Hu(t,e)}}function Hv(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function cl(t,e){t.parent=e,Hv(t,"parent")}function qv(t,e){t.forEach(function(n){cl(n,e)})}var sl=Symbol("targetKey");function dl(t){var e;return(e=t[sl])!==null&&e!==void 0?e:t}function fl(t,e){return qv(t,e),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),o=2;o<r;o++)l[o-2]=arguments[o];var s;return a===sl?u:(s=Reflect).get.apply(s,[u,a].concat(ol(l)))},set:function(u,a,r){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var d;if(hu(t)&&a==="length"&&r===t.length)return!0;var m=(d=Reflect).set.apply(d,[u,a,r].concat(ol(o)));return My(r)&&cl(r,e),m}})}function _e(t,e,n,u){var a=u!=null?u:t,r=fl(dl(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return r},set:function(o){r=fl(dl(o),a)},enumerable:!0})}function qu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Uv(t){if(Array.isArray(t))return qu(t)}function hl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yl(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Wv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){yl(r,u,a,l,o,"next",s)}function o(s){yl(r,u,a,l,o,"throw",s)}l(void 0)})}}function Gv(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 u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function zv(t,e,n){return e&&ml(t.prototype,e),n&&ml(t,n),t}function Kv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?gt=Reflect.get:gt=function(a,r,l){var o=eg(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},gt(t,e,n||t)}function Ne(t){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ne(t)}function Xv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function Qv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Jv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Zv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yv(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Kv(t,a,n[a])})}return t}function pv(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:hl(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Uu(t,e)}function eg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ne(t),t!==null););return t}function vl(t){return Uv(t)||Jv(t)||ng(t)||Zv()}var tg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ng(t,e){if(!!t){if(typeof t=="string")return qu(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 qu(t,e)}}function ig(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ug(t){var e=ig();return function(){var u=Ne(t),a;if(e){var r=Ne(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return pv(this,a)}}var ag=1e4,U=function(e){Xv(u,e);var n=ug(u);function u(a){Gv(this,u);var r;r=n.call(this,a),r.controlType="layout";var l=Qv(this,u)?this.constructor:void 0,o=l.excludes,s=l.childrenMaxLength;return r.props=new q(a==null?void 0:a.props),_e(hl(r),"children",a==null?void 0:a.children),r.excludes=xe(o),r.childrenMaxLength=s,r}return zv(u,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,l){var o=this,s=this,d=function(){return gt(Ne(u.prototype),"validate",o)};return Wv(ye.mark(function m(){return ye.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,d().call(s,r,l);case 2:return g.next=4,Promise.all(s.children.map(function(S){return S.validate(r,l)}));case 4:return g.abrupt("return",!0);case 5:case"end":return g.stop()}},m)}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=gt(Ne(u.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(s,d){var m=d.toDataBindModel(r);if(Array.isArray(m)){var h=m.filter(function(g){return!!g});return vl(s).concat(vl(h))}return m&&s.push(m),s},o)}},{key:"toSchema",value:function(){var r=gt(Ne(u.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var s=o.toSchema();return s});return Yv({},r,{children:l})}}]),u}(j);U.excludes=!1,U.childrenMaxLength=ag;function gl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function lg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wu(t,e)}function og(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:gl(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Wu(t,e)}var cg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function dg(t){var e=sg();return function(){var u=Xn(t),a;if(e){var r=Xn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return og(this,a)}}var G=function(t){lg(n,t);var e=dg(n);function n(u){rg(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new q(u==null?void 0:u.props),_e(gl(a),"children",u==null?void 0:u.children),a}return n}(Y);function Gu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(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&&zu(t,e)}function yg(t,e){return e&&(mg(e)==="object"||typeof e=="function")?e:Gu(t)}function zu(t,e){return zu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},zu(t,e)}var mg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function gg(t){var e=vg();return function(){var u=Qn(t),a;if(e){var r=Qn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return yg(this,a)}}var Jn=function(t){hg(n,t);var e=gg(n);function n(u,a){fg(this,n);var r;return r=e.call(this,a),_e(Gu(r),"headers",a==null?void 0:a.headers,u),_e(Gu(r),"footers",a==null?void 0:a.footers,u),r}return n}(J);function Ku(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function bg(t){if(Array.isArray(t))return Ku(t)}function bl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cl(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Cg(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Cl(r,u,a,l,o,"next",s)}function o(s){Cl(r,u,a,l,o,"throw",s)}l(void 0)})}}function Eg(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 u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function wg(t,e,n){return e&&El(t.prototype,e),n&&El(t,n),t}function Ig(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?bt=Reflect.get:bt=function(a,r,l){var o=Tg(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},bt(t,e,n||t)}function $e(t){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$e(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&&Xu(t,e)}function _g(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ag(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Ig(t,a,n[a])})}return t}function Rg(t,e){return e&&(Bg(e)==="object"||typeof e=="function")?e:bl(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Xu(t,e)}function Tg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=$e(t),t!==null););return t}function Il(t){return bg(t)||_g(t)||Pg(t)||Ag()}var Bg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pg(t,e){if(!!t){if(typeof t=="string")return Ku(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ku(t,e)}}function 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 u=$e(t),a;if(e){var r=$e(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Rg(this,a)}}var Qu=function(t){Sg(n,t);var e=Fg(n);function n(u){Eg(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Jn(bl(a),u==null?void 0:u.props),a}return wg(n,[{key:"validate",value:function(a,r){var l=this,o=this,s=function(){return bt($e(n.prototype),"validate",l)};return Cg(ye.mark(function d(){return ye.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,s().call(o,a);case 2:return h.next=4,Promise.all(o.props.headers.map(function(g){return g.validate(a,r)}));case 4:return h.abrupt("return",!0);case 5:case"end":return h.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=bt($e(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(o,s){var d=s.toDataBindModel(l);if(Array.isArray(d)){var m=d.filter(function(h){return!!h});return Il(o).concat(Il(m))}return d&&o.push(d),o},r)}},{key:"toSchema",value:function(){var a,r,l=bt($e(n.prototype),"toSchema",this).call(this),o=this.props.headers.map(function(d){return d.toSchema()}),s=(a=this.props)===null||a===void 0||(r=a.footers)===null||r===void 0?void 0:r.map(function(d){if(d)return d.toSchema()});return wl({},l,{props:wl({},this.props,{headers:o,footers:s})})}}]),n}(j);Qu.controlFieldType=b.LIST;function Ju(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sl(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function xg(t,e,n){return e&&Sl(t.prototype,e),n&&Sl(t,n),t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function kg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zu(t,e)}function Mg(t,e){return e&&(Lg(e)==="object"||typeof e=="function")?e:Ju(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Zu(t,e)}var Lg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ng(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $g(t){var e=Ng();return function(){var u=Zn(t),a;if(e){var r=Zn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Mg(this,a)}}var _l=function(t){kg(n,t);var e=$g(n);function n(u){Og(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Jn(Ju(a),u==null?void 0:u.props),_e(Ju(a),"children",u==null?void 0:u.children),a}return xg(n,[{key:"length",get:function(){return this.children.length}}]),n}(Y);function Al(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yu(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 pu(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 Vg(t,e){return e&&(jg(e)==="object"||typeof e=="function")?e:Al(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ea(t,e)}var jg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ta(t){var e=Hg();return function(){var u=Yn(t),a;if(e){var r=Yn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Vg(this,a)}}var Be=function(t){pu(n,t);var e=ta(n);function n(u){Yu(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}(K),z=function(t){pu(n,t);var e=ta(n);function n(u){Yu(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:150,a.widthType=(u==null?void 0:u.widthType)||"auto";var l;a.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var o;a.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",a.autoWidth=new Lr(u==null?void 0:u.autoWidth),a.dataBind=new Ie(u==null?void 0:u.dataBind);var s;a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan;var d;return a.autoHeight=(d=u==null?void 0:u.autoHeight)!==null&&d!==void 0?d:!1,a}return n}(J);z.Rules=Be;var Rl=function(t){pu(n,t);var e=ta(n);function n(u){Yu(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Lu.call(Al(a),u),a}return n}(Be);function qg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function Wg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function Gg(t,e){return e&&(zg(e)==="object"||typeof e=="function")?e:qg(t)}function na(t,e){return na=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},na(t,e)}var zg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Xg(t){var e=Kg();return function(){var u=pn(t),a;if(e){var r=pn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Gg(this,a)}}var p=function(t){Wg(n,t);var e=Xg(n);function n(u){Ug(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new z(u==null?void 0:u.props),a}return n}(j);function Qg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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&&ia(t,e)}function Yg(t,e){return e&&(pg(e)==="object"||typeof e=="function")?e:Qg(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ia(t,e)}var pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function e0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function t0(t){var e=e0();return function(){var u=ei(t),a;if(e){var r=ei(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Yg(this,a)}}var ee=function(t){Zg(n,t);var e=t0(n);function n(u){Jg(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new z(u==null?void 0:u.props),a}return n}(Y);function n0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(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&&ua(t,e)}function a0(t,e){return e&&(r0(e)==="object"||typeof e=="function")?e:n0(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ua(t,e)}var r0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function l0(){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 o0(t){var e=l0();return function(){var u=ti(t),a;if(e){var r=ti(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return a0(this,a)}}var aa=function(t){u0(n,t);var e=o0(n);function n(u){i0(this,n);var a;return a=e.call(this,u),a.dataBind=new Ie(u==null?void 0:u.dataBind),a}return n}(q);function c0(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 ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(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&&ra(t,e)}function f0(t,e){return e&&(h0(e)==="object"||typeof e=="function")?e:c0(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ra(t,e)}var h0=function(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 m0(t){var e=y0();return function(){var u=ni(t),a;if(e){var r=ni(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return f0(this,a)}}var v0=function(t){d0(n,t);var e=m0(n);function n(u){s0(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new aa(u==null?void 0:u.props),a}return n}(U);function g0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function C0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&la(t,e)}function E0(t,e){return e&&(w0(e)==="object"||typeof e=="function")?e:g0(t)}function la(t,e){return la=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},la(t,e)}var w0=function(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 S0(t){var e=I0();return function(){var u=ii(t),a;if(e){var r=ii(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return E0(this,a)}}var _0=function(t){C0(n,t);var e=S0(n);function n(u){b0(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new aa(u==null?void 0:u.props),a}return n}(G);function A0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(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&&oa(t,e)}function B0(t,e){return e&&(P0(e)==="object"||typeof e=="function")?e:A0(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},oa(t,e)}var P0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};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 u=ui(t),a;if(e){var r=ui(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return B0(this,a)}}var ca=function(t){T0(n,t);var e=F0(n);function n(u){return R0(this,n),e.call(this,u)}return n}(q);function O0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function k0(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 M0(t,e){return e&&(L0(e)==="object"||typeof e=="function")?e:O0(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},sa(t,e)}var L0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function N0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $0(t){var e=N0();return function(){var u=ai(t),a;if(e){var r=ai(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return M0(this,a)}}var V0=function(t){k0(n,t);var e=$0(n);function n(u){x0(this,n);var a;return a=e.call(this,u),a.controlType="wrap",a.props=new ca(u==null?void 0:u.props),a}return n}(U);function j0(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(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&&da(t,e)}function U0(t,e){return e&&(W0(e)==="object"||typeof e=="function")?e:j0(t)}function da(t,e){return da=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},da(t,e)}var W0=function(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 z0(t){var e=G0();return function(){var u=ri(t),a;if(e){var r=ri(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return U0(this,a)}}var K0=function(t){q0(n,t);var e=z0(n);function n(u){H0(this,n);var a;return a=e.call(this,u),a.controlType="wrap",a.props=new ca(u==null?void 0:u.props),a}return n}(G);function Ge(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class fa extends J{constructor(e){super(e);var n,u,a,r,l;this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57"}}class Tl extends j{static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}Tl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class X0 extends Y{static get controlType(){return"text"}constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}var Bl={Designer:Tl,Runtime:X0,Property:fa};class ha extends J{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class ya extends j{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}ya.controlEventKeys=["on_click"],ya.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Q0 extends Y{static get controlType(){return"link"}constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}var Pl={Designer:ya,Runtime:Q0,Property:ha};class ae extends J{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",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.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1,this.optObj=new mm((m=e==null?void 0:e.optObj)!=null?m:{})}}class re extends j{static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}constructor(e){super(e);this.props=new ae(e==null?void 0:e.props)}}re.controlEventKeys=["on_click","on_click_finish"],re.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class he extends Y{static get controlType(){return"button"}constructor(e){super(e);this.props=new ae(e==null?void 0:e.props)}}var Dl={Designer:re,Runtime:he,Property:ae},Ve=(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))(Ve||{}),Fl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Fl||{}),Ol=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Ol||{});class li{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Re(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var ma=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ma||{});class oi{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:Re(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var va=(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))(va||{});class ga{constructor(e){var n,u,a,r,l,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Ot((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new Ot((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Ot((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class xl{constructor(e){var n,u,a,r,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new ga(s)))!=null?a:[new ga],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class ba{constructor(e){var n,u,a,r,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:Re(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ca{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class kl{constructor(e){var n,u,a,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Ca(e==null?void 0:e.watermark),this.autoRename=new Ca(e==null?void 0:e.autoRename)}}const Ml=480;function Nt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Ll{constructor(e){var n,u,a,r,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(l=e.rules)!=null?l:[]}}class Nl{constructor(e){var n,u,a;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var $l=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))($l||{}),Ea=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ea||{}),ci=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(ci||{}),je=(t=>(t.ALL="all",t.ASSIGN="assign",t))(je||{}),wa=(t=>(t.ALL="all",t.ADMIN="admin",t))(wa||{});class Ia extends J{constructor(e){super(e);var n,u;this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:va.SOLID}}class Vl extends j{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new Ia(e==null?void 0:e.props)}}Vl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class J0 extends Y{static get controlType(){return"divider"}constructor(e){super(e);this.props=new Ia(e==null?void 0:e.props)}}var jl={Designer:Vl,Runtime:J0,Property:Ia};class Z0 extends K{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(Ve.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 si extends J{constructor(e){super(e);var n,u,a,r;this.dataBind=new Ie(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ve.ShowSubmitUser,Ve.ShowSubmitDept,Ve.ShowSubmitTime,Ve.ShowCurrentApprovar,Ve.ShowTitle],this.caption=(a=(u=e==null?void 0:e.caption)!=null?u:Ct==null?void 0:Ct.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}si.Rules=Z0;class Ct extends j{static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}constructor(e){super(e);this.props=new si(e==null?void 0:e.props)}}Ct.controlFieldType=b.AUTO_NUMBER,Ct.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Y0 extends Y{static get controlType(){return"title"}constructor(e){super(e);this.props=new si(e==null?void 0:e.props)}}var Hl={Designer:Ct,Runtime:Y0,Property:si};class p0 extends K{constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class di extends ae{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:$t.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:$t.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}di.Rules=p0;class $t extends re{static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}$t.controlEventKeys=["on_click","on_click_finish"],$t.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 eb extends he{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}var ql={Designer:$t,Runtime:eb,Property:di};class tb extends K{constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class fi extends ae{constructor(e){super(e);var n,u,a,r,l,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:Vt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Vt.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}fi.Rules=tb;class Vt extends re{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new fi(e==null?void 0:e.props)}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.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 nb extends he{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new fi(e==null?void 0:e.props)}}var Ul={Designer:Vt,Runtime:nb,Property:fi};class Sa extends ae{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:jt.controlIcon}}class jt extends re{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"}constructor(e){super(e);this.props=new Sa(e==null?void 0:e.props)}}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 ib extends he{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new Sa(e==null?void 0:e.props)}}var Wl={Designer:jt,Runtime:ib,Property:Sa};class _a extends ae{constructor(e){super(e);var n,u,a,r,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Ht.controlName,this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system",this.templateList=(l=(r=e==null?void 0:e.templateList)==null?void 0:r.map(o=>new ba(o)))!=null?l:[new ba({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ht extends re{static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new _a(e==null?void 0:e.props)}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 ub extends he{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new _a(e==null?void 0:e.props)}}var Gl={Designer:Ht,Runtime:ub,Property:_a};class Aa extends ae{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:qt.controlIcon}}class qt extends re{static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new Aa(e==null?void 0:e.props)}}qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ab extends he{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new Aa(e==null?void 0:e.props)}}var zl={Designer:qt,Runtime:ab,Property:Aa};class rb{constructor(e){this.dataCode=e.dataCode}}class Ra extends ae{constructor(e){super(e);var n,u,a,r,l;this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ut.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(o=>new rb(o)))!=null?r:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class Ut extends re{static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new Ra(e==null?void 0:e.props)}}Ut.controlEventKeys=["on_click","on_click_finish"],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:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class lb extends he{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new Ra(e==null?void 0:e.props)}}var Kl={Designer:Ut,Runtime:lb,Property:Ra};function hi(){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 ob extends K{constructor(e){super(e);this.fillPayload={type:"object",fields:Fe({},hi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Fe({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},hi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class yi extends ae{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Wt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new qr(e==null?void 0:e.fillPayload),this.formBind=new Zy(e==null?void 0:e.formBind),this.fillBack=new Ur(e==null?void 0:e.fillBack)}}yi.Rules=ob;class Wt extends re{static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new yi(e==null?void 0:e.props)}}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:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class cb extends he{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new yi(e==null?void 0:e.props)}}var Xl={Designer:Wt,Runtime:cb,Property:yi};class sb extends K{constructor(e){super(e);this.fillPayload={type:"object",fields:Fe({},hi())},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:Fe({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},hi())}}}class mi extends ae{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Gt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Gt.controlIcon,this.fillPayload=new qr(e==null?void 0:e.fillPayload),this.listPageBind=new bu(e==null?void 0:e.listPageBind),this.fillBack=new Ur(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new Iu(e==null?void 0:e.selectedContentConfig)}}mi.Rules=sb;class Gt extends re{static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}Gt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class db extends he{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}var Ql={Designer:Gt,Runtime:db,Property:mi};class fb extends K{constructor(e){super(e)}}class hb extends We{constructor(e){super(e)}}class zt extends J{constructor(e){super(e)}}zt.Rules=fb,zt.RuntimeRules=hb;class Jl extends j{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}}Jl.setting=[];class yb extends Y{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}}var Zl={Designer:Jl,Runtime:yb,Property:zt};class mb extends K{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 vi extends J{constructor(e){super(e);var n,u,a,r,l,o;this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}vi.Rules=mb;class Yl extends j{static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}Yl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class vb extends Y{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}var pl={Designer:Yl,Runtime:vb,Property:vi};class gb extends K{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 gi extends J{constructor(e){super(e);var n,u,a;this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(u=e==null?void 0:e.viewList)==null?void 0:u.map(r=>new hm(r)))!=null?a:[]}}gi.Rules=gb;class eo extends j{static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new gi(e==null?void 0:e.props)}}eo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class bb extends Y{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new gi(e==null?void 0:e.props)}}var to={Designer:eo,Runtime:bb,Property:gi};class Cb extends K{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,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class bi extends ae{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h;this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.controlName,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",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(h=(m=e==null?void 0:e.fillList)==null?void 0:m.map(g=>new le(g)))!=null?h:[]}}bi.Rules=Cb;class Et extends re{static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Eb extends he{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}var no={Designer:Et,Runtime:Eb,Property:bi};class wb extends K{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,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ci extends ae{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h;this.caption=(n=e==null?void 0:e.caption)!=null?n:wt.controlName,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",this.content=(o=e==null?void 0:e.content)!=null?o:wt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:wt.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(h=(m=e==null?void 0:e.fillList)==null?void 0:m.map(g=>new le(g)))!=null?h:[]}}Ci.Rules=wb;class wt extends re{static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ib extends he{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}var io={Designer:wt,Runtime:Ib,Property:Ci};class Sb extends K{constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ei extends ae{constructor(e){super(e);var n,u,a,r,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:Kt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Kt.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new Ll(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Ei.Rules=Sb;class Kt extends re{static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}Kt.controlEventKeys=["on_click","on_click_finish"],Kt.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 _b extends he{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}var uo={Designer:Kt,Runtime:_b,Property:Ei};class Ta extends ae{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Xt.controlIcon}}class Xt extends re{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"}constructor(e){super(e);this.props=new Ta(e==null?void 0:e.props)}}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 Ab extends he{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new Ta(e==null?void 0:e.props)}}var ao={Designer:Xt,Runtime:Ab,Property:Ta};class Rb extends K{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 wi extends J{constructor(e){super(e);var n,u,a,r,l;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}wi.Rules=Rb;class Ii extends j{static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}Ii.controlEventKeys=["on_click"],Ii.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Tb extends Y{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}var ro={Designer:Ii,Runtime:Tb,Property:wi};class Ba extends J{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.content=(n=e==null?void 0:e.content)!=null?n:Qt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Qt.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(m=e==null?void 0:e.isLoading)!=null?m:!1}}class Qt extends j{static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}Qt.controlEventKeys=["on_click"],Qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Bb extends Y{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}var lo={Designer:Qt,Runtime:Bb,Property:Ba},Pb=Object.freeze({__proto__:null,Text:Bl,Link:Pl,Button:Dl,Divider:jl,Title:Hl,CreateFormListButton:ql,BatchSubmissionListButton:Ul,SubmissionRecordListButton:Wl,ExportListButton:Gl,ExportRecordListButton:zl,ImportRecordListButton:Kl,FormSelectButton:Xl,ListSelectButton:Ql,Pagination:Zl,Dashboard:pl,ListViewSelect:to,TextOcrButton:no,InvoiceCheckButton:io,BatchPrintListButton:uo,BatchPrintRecordListButton:ao,OperationButton:ro,BatchDeleteButton:lo});class Db extends ie{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 Fb extends H{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 It extends M{constructor(e){super(e);var n,u,a,r,l,o,s;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new Wr(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:St.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}It.Rules=Db,It.RuntimeRules=Fb;class St extends N{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}constructor(e){super(e);this.props=new It(e==null?void 0:e.props)}}St.controlEventKeys=["on_change","on_input","on_focus","on_blur"],St.controlFieldType=b.VARCHAR,St.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class oo extends ${static get controlType(){return"input"}constructor(e){super(e);this.props=new It(e==null?void 0:e.props)}}oo.controlFieldType=b.VARCHAR;var co={Designer:St,Runtime:oo,Property:It};class Ob extends vt{constructor(e){super(e);this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class xb extends H{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Jt extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T;this.options=Te((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=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(m=e==null?void 0:e.caption)!=null?m:Zt.controlName,this.defaultValue=(h=e==null?void 0:e.defaultValue)!=null?h:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(S=e==null?void 0:e.defaultShowOptions)!=null?S:!0,this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var B;(B=this.multistageFilling)==null||B.push(new le(I))}))}}Jt.Rules=Ob,Jt.RuntimeRules=xb;class Zt extends N{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=b.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class so extends ${static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}}so.controlFieldType=b.ARRAY;var fo={Designer:Zt,Runtime:so,Property:Jt};class kb extends vt{constructor(e){super(e)}}class Si extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.options=Te((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=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(m=e==null?void 0:e.caption)!=null?m:Yt.controlName,this.defaultValue=(h=e==null?void 0:e.defaultValue)!=null?h:"",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(S=>{var T;(T=this.multistageFilling)==null||T.push(new le(S))}))}}Si.Rules=kb;class Yt extends N{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new Si(e==null?void 0:e.props)}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=b.VARCHAR,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class ho extends ${static get controlType(){return"radio"}constructor(e){super(e);this.props=new Si(e==null?void 0:e.props)}}ho.controlFieldType=b.VARCHAR;var yo={Designer:Yt,Runtime:ho,Property:Si};class Mb extends ie{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,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Lb extends H{constructor(e){super(e);this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class pt extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(m=e==null?void 0:e.unitPosition)!=null?m:"right",this.unit=(h=e==null?void 0:e.unit)!=null?h:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:en.controlName,this.placeholder=(S=e==null?void 0:e.placeholder)!=null?S:"\u8BF7\u8F93\u5165",this.defaultValue=(T=e==null?void 0:e.defaultValue)!=null?T:"",this.regularRules=new Wr(e==null?void 0:e.regularRules)}}pt.Rules=Mb,pt.RuntimeRules=Lb;class en extends N{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new pt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=b.DECIMAL,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class mo extends ${static get controlType(){return"number"}constructor(e){super(e);this.props=new pt(e==null?void 0:e.props)}}mo.controlFieldType=b.DECIMAL;var vo={Designer:en,Runtime:mo,Property:pt};class Pa extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Oe.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.caption=(l=e==null?void 0:e.caption)!=null?l:_i.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(m=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(S=>new li(S)))!=null?m:[],this.allowDateRange=(h=e==null?void 0:e.allowDateRange)!=null?h:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class _i extends N{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new Pa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}_i.controlFieldType=b.TIMESTAMP,_i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class go extends ${static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new Pa(e==null?void 0:e.props)}}go.controlFieldType=b.TIMESTAMP;var bo={Designer:_i,Runtime:go,Property:Pa};class Nb extends H{constructor(e){super(e);this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Ai extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.dataBind=new om(e==null?void 0:e.dataBind),this.defaultValue=new cm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Oe.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=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:Ri.controlName,this.limitDateList=(g=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(S=>new li(S)))!=null?g:[]}}Ai.RuntimeRules=Nb;class Ri extends N{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Ai(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}Ri.controlFieldType=b.TIMESCOPE,Ri.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Co extends ${static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Ai(e==null?void 0:e.props)}}Co.controlFieldType=b.TIMESCOPE;var Eo={Designer:Ri,Runtime:Co,Property:Ai};class $b extends ie{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 Vb extends H{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 tn extends M{constructor(e){super(e);var n,u,a,r,l,o;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:nn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}tn.Rules=$b,tn.RuntimeRules=Vb;class nn extends N{static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.TEXT,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class wo extends ${static get controlType(){return"textarea"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}wo.controlFieldType=b.TEXT;var Io={Designer:nn,Runtime:wo,Property:tn};class jb extends ie{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 Hb extends H{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 un extends M{constructor(e){super(e);var n,u,a,r,l;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:an.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}un.Rules=jb,un.RuntimeRules=Hb;class an extends N{static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=b.TEXT,an.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class So extends ${static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}So.controlFieldType=b.TEXT;var _o={Designer:an,Runtime:So,Property:un};class qb extends vt{constructor(e){super(e)}}class Ti extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h;this.options=Te((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=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Bi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,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(g=>{var S;(S=this.multistageFilling)==null||S.push(new le(g))})),this.canViewForm=(m=e==null?void 0:e.canViewForm)!=null?m:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new yt(e==null?void 0:e.formBind)}}Ti.Rules=qb;class Bi extends N{static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}Bi.controlFieldType=b.VARCHAR,Bi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Ao extends ${static get controlType(){return"select"}constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}Ao.controlFieldType=b.VARCHAR;var Ro={Designer:Bi,Runtime:Ao,Property:Ti};class Ub extends vt{constructor(e){super(e)}}class Wb extends H{constructor(e){super(e);this[0].type="array"}}class rn extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.options=Te((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=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Pi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var g;(g=this.multistageFilling)==null||g.push(new le(h))})),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 yt(e==null?void 0:e.formBind)}}rn.Rules=Ub,rn.RuntimeRules=Wb;class Pi extends N{static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}}Pi.controlFieldType=b.ARRAY,Pi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class To extends ${static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}}To.controlFieldType=b.ARRAY;var Bo={Designer:Pi,Runtime:To,Property:rn};class Gb extends H{constructor(e){super(e);this[0].type="array"}}class Di extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Fi.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(m=e==null?void 0:e.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var g;(g=this.multistageFilling)==null||g.push(new le(h))}))}}Di.RuntimeRules=Gb;class Fi extends N{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}constructor(e){super(e);this.props=new Di(e==null?void 0:e.props)}}Fi.controlFieldType=b.EMPLOYEES,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Po extends ${static get controlType(){return"employee"}constructor(e){super(e);this.props=new Di(e==null?void 0:e.props)}}Po.controlFieldType=b.EMPLOYEES;var Do={Designer:Fi,Runtime:Po,Property:Di};const zb=10485760,Kb=104857600,Xb=1048576e3;class Qb extends ie{constructor(e){super(e);this.maxSize={type:"number",min:0,max:Xb,message:f.getMessage("attachmentMaxSize")}}}class Jb extends H{constructor(e){super(e);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 _t extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.resultShowType=(a=e==null?void 0:e.resultShowType)!=null?a:"simple",this.attachmentAccept=(r=e==null?void 0:e.attachmentAccept)!=null?r:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:Kb,this.caption=(d=e==null?void 0:e.caption)!=null?d:At.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u4E0A\u4F20\u9644\u4EF6"}}_t.Rules=Qb,_t.RuntimeRules=Jb;class At extends N{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new _t(e==null?void 0:e.props)}}At.controlEventKeys=["on_change"],At.controlFieldType=b.FILE,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Da extends ${static get controlType(){return"attachment"}constructor(e){super(e);this.props=new _t(e==null?void 0:e.props)}}Da.controlFieldType=b.FILE;var Fo={Designer:At,Runtime:Da,Property:_t};const Oo=class extends At{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){super(t);var e,n,u,a;this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Oo.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let Fa=Oo;Fa.controlFieldType=b.IMAGE,Fa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Zb extends Da{static get controlType(){return"image"}constructor(e){super(e);var n,u,a,r,l,o;this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class Yb extends _t{constructor(e){super(e)}}var xo={Designer:Fa,Runtime:Zb,Property:Yb};class pb extends vt{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,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class eC extends H{constructor(e){super(e);this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Fn(Fe({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class ln extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new rm(e==null?void 0:e.dataBind),this.datasourceBind=new ne((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Eu({value:"name"})]}),this.defaultValue=new lm((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Ln.CNY}),this.options=Te(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:on.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(h=e==null?void 0:e.submitSelectCurrency)!=null?h:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}ln.Rules=pb,ln.RuntimeRules=eC;class on extends N{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new ln(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=b.MONEY,on.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ko extends ${static get controlType(){return"amount"}constructor(e){super(e);this.props=new ln(e==null?void 0:e.props)}}ko.controlFieldType=b.MONEY;var Mo={Designer:on,Runtime:ko,Property:ln};class tC extends ie{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 nC extends H{constructor(e){super(e);this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class cn extends M{constructor(e){super(e);var n,u,a,r,l,o,s;this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:ma.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(l=(r=e==null?void 0:e.explain)==null?void 0:r.map(d=>new oi(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new oi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:sn.controlName}}cn.Rules=tC,cn.RuntimeRules=nC;class sn extends N{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new cn(e==null?void 0:e.props)}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 u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new oi);this.props.explain.push(...a)}}super.postUpdate(e,n)}}sn.controlEventKeys=["on_change","on_click"],sn.controlFieldType=b.DECIMAL,sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lo extends ${static get controlType(){return"score"}constructor(e){super(e);this.props=new cn(e==null?void 0:e.props)}}Lo.controlFieldType=b.DECIMAL;var No={Designer:sn,Runtime:Lo,Property:cn};class iC extends H{constructor(e){super(e);if(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 Oi extends M{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:xi.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new sm((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}Oi.RuntimeRules=iC;class xi extends N{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}}xi.controlFieldType=b.ADDRESS,xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class $o extends ${static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}}$o.controlFieldType=b.ADDRESS;var Vo={Designer:xi,Runtime:$o,Property:Oi};class uC extends H{constructor(e){super(e);this[0].type="array"}}class ki extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(m=e==null?void 0:e.caption)!=null?m:dn.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\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(S=>{var T;(T=this.multistageFilling)==null||T.push(new le(S))}))}}ki.RuntimeRules=uC;class dn extends N{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}dn.controlName="\u90E8\u95E8",dn.controlFieldType=b.DEPARTMENTS,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class jo extends ${static get controlType(){return"department"}constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}}jo.controlFieldType=b.DEPARTMENTS;var Ho={Designer:dn,Runtime:jo,Property:ki};class Oa extends M{constructor(e){super(e);var n,u,a;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:fn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class fn extends N{static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Oa(e==null?void 0:e.props)}}fn.controlEventKeys=["on_change"],fn.controlFieldType=b.AUTO_NUMBER,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class qo extends ${static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Oa(e==null?void 0:e.props)}}qo.controlFieldType=b.AUTO_NUMBER;var Uo={Designer:fn,Runtime:qo,Property:Oa};class aC extends ie{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 rC extends H{constructor(e){super(e);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 hn extends M{constructor(e){super(e);var n,u,a,r,l,o,s;this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new dm(e==null?void 0:e.dataBind),this.defaultValue=new fm(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:yn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}hn.Rules=aC,hn.RuntimeRules=rC;class yn extends N{static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}constructor(e){super(e);this.props=new hn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}yn.controlEventKeys=["on_change"],yn.controlFieldType=b.CALC,yn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Wo extends ${static get controlType(){return"calc"}constructor(e){super(e);this.props=new hn(e==null?void 0:e.props)}}Wo.controlFieldType=b.CALC;var Go={Designer:yn,Runtime:Wo,Property:hn};class lC extends H{constructor(e){super(e);this[0].type="array",this.push({validator(n,u){return e.required&&u.every(r=>!r)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Mi extends M{constructor(e){super(e);var n,u,a,r,l,o;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:Li.controlName}}Mi.RuntimeRules=lC;class Li extends N{static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}}Li.controlFieldType=b.DECIMAL_RANGE,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zo extends ${static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}}zo.controlFieldType=b.DECIMAL_RANGE;var Ko={Designer:Li,Runtime:zo,Property:Mi};class oC extends H{constructor(e){super(e);this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Ni extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:Oe.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(m=e==null?void 0:e.placeholderEnd)!=null?m:"\u7ED3\u675F\u65E5\u671F",this.caption=(h=e==null?void 0:e.caption)!=null?h:$i.controlName,this.limitDateList=(S=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(T=>new li(T)))!=null?S:[]}}Ni.RuntimeRules=oC;class $i extends N{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}}$i.controlFieldType=b.ARRAY,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Xo extends ${static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}}Xo.controlFieldType=b.ARRAY;var Qo={Designer:$i,Runtime:Xo,Property:Ni};class cC extends ie{constructor(e){super(e);this.dataBind={type:"any"}}}class sC extends H{constructor(e){super(e);this[0].type="any"}}class mn extends M{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}mn.Rules=cC,mn.RuntimeRules=sC;class vn extends N{static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new mn(e==null?void 0:e.props)}}vn.controlFieldType=b.ANY,vn.controlEventKeys=[],vn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Jo extends ${static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new mn(e==null?void 0:e.props)}}Jo.controlFieldType=b.ANY;var Zo={Designer:vn,Runtime:Jo,Property:mn};class dC extends vt{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")}]}}]}}class Vi extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m;this.options=Te((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new bu(e==null?void 0:e.listPageBind),this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:gn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Iu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var g;(g=this.multistageFilling)==null||g.push(new le(h))})),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 yt(e==null?void 0:e.formBind)}}Vi.Rules=dC;class gn extends N{static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}gn.controlFieldType=b.VARCHAR,gn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],gn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Yo extends ${static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}Yo.controlFieldType=b.VARCHAR;var po={Designer:gn,Runtime:Yo,Property:Vi};class xa extends It{constructor(e){super(e)}}class ec extends St{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new xa(e==null?void 0:e.props)}}ec.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class tc extends ${static get controlType(){return"search-input"}constructor(e){super(e);this.props=new xa(e==null?void 0:e.props)}}tc.controlFieldType=b.VARCHAR;var nc={Designer:ec,Runtime:tc,Property:xa};class fC extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],jn.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 hC extends H{constructor(e){super(e);this[0].type="array"}}class bn extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T,I,B,v,_,A,k;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(d=e==null?void 0:e.isShowFilterItem)!=null?d:!1,this.isShowIncludeSub=(m=e==null?void 0:e.isShowIncludeSub)!=null?m:!1,this.isDefaultCheckSub=(h=e==null?void 0:e.isDefaultCheckSub)!=null?h:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(S=e==null?void 0:e.defaultCollapseLevel)!=null?S:1,this.datasourceBind=new jr((T=e==null?void 0:e.datasourceBind)!=null?T:{attributes:He.controlCustomAttributes}),this.filterItemDatasourceBind=new jr((I=e==null?void 0:e.filterItemDatasourceBind)!=null?I:{attributes:He.controlCustomAttributes}),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(A=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(x=>new le(x)))!=null?A:[],this.defaultValue=(k=e==null?void 0:e.defaultValue)!=null?k:[]}}bn.Rules=fC,bn.RuntimeRules=hC;class He extends N{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}]}constructor(e){super(e);this.props=new bn(e==null?void 0:e.props)}}He.controlEventKeys=["on_change","on_click"],He.controlFieldType=b.ARRAY,He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class ic extends ${static get controlType(){return"tree"}constructor(e){super(e);this.props=new bn(e==null?void 0:e.props)}}ic.controlFieldType=b.ARRAY;var uc={Designer:He,Runtime:ic,Property:bn};class yC extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},jn.call(this,e,Rt.controlCustomAttributes),e.externalType===je.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class mC extends H{constructor(e){super(e);this[0].type="array"}}class Cn extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T,I;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Rt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Mn((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Rt.controlCustomAttributes}),this.datasourceType=(h=e==null?void 0:e.datasourceType)!=null?h:Ea.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:wa.ADMIN,this.externalType=(S=e==null?void 0:e.externalType)!=null?S:je.ALL,this.externalScope=(T=e==null?void 0:e.externalScope)!=null?T:[],this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var v;(v=this.multistageFilling)==null||v.push(new le(B))}))}}Cn.Rules=yC,Cn.RuntimeRules=mC;class Rt extends N{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}]}constructor(e){super(e);this.props=new Cn(e==null?void 0:e.props)}}Rt.controlFieldType=b.EMPLOYEES,Rt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class ac extends ${static get controlType(){return"employee2"}constructor(e){super(e);this.props=new Cn(e==null?void 0:e.props)}}ac.controlFieldType=b.EMPLOYEES;var rc={Designer:Rt,Runtime:ac,Property:Cn};class vC extends ie{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,u,a)=>(n[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&hu(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&u.signatureType.includes("company")&&hu(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class ji extends M{constructor(e){super(e);var n,u,a,r,l,o;this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new xl(e==null?void 0:e.signatureConfig)}}ji.Rules=vC;class En extends N{static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new ji(e==null?void 0:e.props)}}En.controlEventKeys=["on_click","on_click_finish"],En.controlFieldType=b.VARCHAR,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class lc extends ${static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new ji(e==null?void 0:e.props)}}lc.controlFieldType=b.VARCHAR;var oc={Designer:En,Runtime:lc,Property:ji};class gC extends ie{constructor(e){super(e);this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class bC extends H{constructor(e){super(e);this[0].type="array"}}class wn extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S;this.caption=(n=e==null?void 0:e.caption)!=null?n:In.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(m=e==null?void 0:e.canDelete)!=null?m:!1,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:zb,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new kl(e==null?void 0:e.wpsSetting),this.revisionsMode=(S=e==null?void 0:e.revisionsMode)!=null?S:!1}}wn.Rules=gC,wn.RuntimeRules=bC;class In extends N{static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}constructor(e){super(e);this.props=new wn(e==null?void 0:e.props)}}In.controlEventKeys=["on_change","on_wps_open"],In.controlFieldType=b.FILE,In.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class cc extends ${static get controlType(){return"wps"}constructor(e){super(e);this.props=new wn(e==null?void 0:e.props)}}cc.controlFieldType=b.FILE;var sc={Designer:In,Runtime:cc,Property:wn};class CC extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},jn.call(this,e,ze.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class EC extends H{constructor(e){super(e);this[0].type="array"}}class Sn extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T,I,B;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(m=e==null?void 0:e.caption)!=null?m:ze.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Mn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(S=e==null?void 0:e.datasourceType)!=null?S:ci.INTERNAL,this.businessScope=(T=e==null?void 0:e.businessScope)!=null?T:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:je.ALL,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new le(v))}))}}Sn.Rules=CC,Sn.RuntimeRules=EC;class ze extends N{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new Sn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ze.controlName="\u90E8\u95E8",ze.controlFieldType=b.DEPARTMENTS,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class dc extends ${static get controlType(){return"department2"}constructor(e){super(e);this.props=new Sn(e==null?void 0:e.props)}}dc.controlFieldType=b.DEPARTMENTS;var fc={Designer:ze,Runtime:dc,Property:Sn};class wC extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},jn.call(this,e,Ke.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class IC extends H{constructor(e){super(e);this[0].type="array"}}class _n extends M{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g,S,T,I,B,v,_,A;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.listPageBind=new bu(e==null?void 0:e.listPageBind),this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(m=e==null?void 0:e.caption)!=null?m:Ke.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new um((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(S=e==null?void 0:e.datasourceType)!=null?S:ci.INTERNAL,this.businessScope=(T=e==null?void 0:e.businessScope)!=null?T:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:je.ALL,this.organizingFunction=(B=e==null?void 0:e.organizingFunction)!=null?B:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Iu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(k=>{var x;(x=this.multistageFilling)==null||x.push(new le(k))}))}}_n.Rules=wC,_n.RuntimeRules=IC;class Ke extends N{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new _n(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"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 ${static get controlType(){return"organization-selection"}constructor(e){super(e);this.props=new _n(e==null?void 0:e.props)}}hc.controlFieldType=b.DEPARTMENTS;var yc={Designer:Ke,Runtime:hc,Property:_n},SC=Object.freeze({__proto__:null,Input:co,Checkbox:fo,Radio:yo,Number:vo,DatePicker:bo,DateRange:Eo,Textarea:Io,RichText:_o,Select:Ro,SelectMultiple:Bo,Employee:Do,Image:xo,Attachment:Fo,Amount:Mo,Score:No,Address:Vo,Department:Ho,AutoNumber:Uo,Calc:Go,SearchNumberRange:Ko,SearchDateRange:Qo,VueFormItem:Zo,SelectRelation:po,SearchInput:nc,Tree:uc,Employee2:rc,ElectronicSignature:oc,WPS:sc,Department2:fc,OrganizationSelection:yc});class mc extends U{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}mc.excludes=[R.GRID];class _C extends G{static get controlType(){return"grid"}constructor(e){super(e)}}var vc={Designer:mc,Runtime:_C,Property:q};const AC=24;class Xe extends q{constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:AC,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class An extends U{static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new Xe(e==null?void 0:e.props)}}An.excludes=[R.COL,R.CARD_GROUP,R.SUBTABLE,R.SUBTABLE_COLUMN,R.DIVIDER],An.childrenMaxLength=1;class ka extends G{static get controlType(){return"col"}constructor(e){super(e);this.props=new Xe(e==null?void 0:e.props)}}var gc={Designer:An,Runtime:ka,Property:Xe};class Hi extends q{constructor(e){super(e);var n,u;this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class qi extends U{static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}qi.excludes=[R.ROW],qi.setting=[{key:"col-setting",visible:!0}];class bc extends G{static get controlType(){return"row"}constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}var Cc={Designer:qi,Runtime:bc,Property:Hi};const RC=4;class Ui extends qi{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)}}Ui.excludes=[R.GRID_ROW],Ui.setting=[],Ui.childrenMaxLength=RC;class TC extends bc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class BC extends Hi{constructor(e){super(e)}}var Ec={Designer:Ui,Runtime:TC,Property:BC};class PC extends q.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Wi extends q{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Wi.Rules=PC;class Ma extends U{static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new Wi(e==null?void 0:e.props)}}Ma.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Ma.excludes=[R.CARD_GROUP];class DC extends G{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new Wi(e==null?void 0:e.props)}}var wc={Designer:Ma,Runtime:DC,Property:Wi};class FC extends K{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 Gi extends q{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new Qy(e==null?void 0:e.metaAutoWidth)}}Gi.Rules=FC;class Ee extends U{constructor(e){super(e);this.props=new Gi(e==null?void 0:e.props)}}Ee.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Ee.controlType="subtable-column",Ee.controlIcon="subtable-column",Ee.childrenMaxLength=1,Ee.excludes=[R.SUBTABLE,R.SUBTABLE_COLUMN,R.ROW,R.COL,R.CARD_GROUP,R.DIVIDER,R.TEXT],Ee.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Ic extends G{constructor(e){super(e);this.props=new Gi(e==null?void 0:e.props)}}Ic.controlType="subtable-column";var Sc={Designer:Ee,Runtime:Ic,Property:Gi};class La extends q{constructor(e){super(e)}}class Qe extends U{constructor(e){super(e);this.props=new La(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=[R.SUBTABLE,R.SUBTABLE_COLUMN,R.SUBTABLE_ROW,R.ROW,R.COL,R.CARD_GROUP,R.DIVIDER,R.TEXT],Qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class OC extends G{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new La(e==null?void 0:e.props)}}var _c={Designer:Qe,Runtime:OC,Property:La};class Na extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h;this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(m=e==null?void 0:e.timestampDateType)!=null?m:Oe.DATE,this.departmentDisplayLevel=(h=e==null?void 0:e.departmentDisplayLevel)!=null?h:1}}class Je extends U{constructor(e){super(e);this.props=new Na(e==null?void 0:e.props)}}Je.controlName="\u5217\u8868\u5355\u5143\u683C",Je.controlType="gridtable-column",Je.controlIcon="gridtable-column",Je.childrenMaxLength=1,Je.excludes=[R.GRID_TABLE,R.GRID_TABLE_COLUMN,R.ROW,R.COL,R.CARD_GROUP,R.DIVIDER,R.TEXT],Je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Ac extends G{constructor(e){super(e);this.props=new Na(e==null?void 0:e.props)}}Ac.controlType="gridtable-column";var Rc={Designer:Je,Runtime:Ac,Property:Na};class $a extends q{constructor(e){super(e);var n,u;this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(u=e==null?void 0:e.colGap)!=null?u:24}}class Va extends U{static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}constructor(e){super(e);this.props=new $a(e==null?void 0:e.props)}}Va.excludes=[R.GRID_LAYOUT_CONTAINER,R.CARD_GROUP,R.TAB],Va.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class xC extends G{static get controlType(){return"grid-layout-container"}constructor(e){super(e);this.props=new $a(e==null?void 0:e.props)}}var Tc={Designer:Va,Runtime:xC,Property:$a};class ja extends q{constructor(e){super(e);var n;this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class kC extends K{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class zi extends q{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName}}zi.Rules=kC;class Rn extends U{static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}constructor(e){super(e);this.props=new zi(e==null?void 0:e.props)}}Rn.excludes=[R.TAB],Rn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class MC extends G{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new zi(e==null?void 0:e.props)}}var Bc={Designer:Rn,Runtime:MC,Property:zi};class Tn extends U{static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}constructor(e){super(e);var n;this.props=new ja(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Rn,new Rn]}}Tn.excludes=[R.TAB],Tn.controlEventKeys=["on_change_tab"],Tn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class LC extends G{static get controlType(){return"tab"}constructor(e){super(e);this.props=new ja(e==null?void 0:e.props)}}var Pc={Designer:Tn,Runtime:LC,Property:ja};class Dc extends q{constructor(e){super(e)}}class Fc extends U{static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new Dc({}),this.children=(e==null?void 0:e.children)||[new An({props:new Xe({span:12})}),new An({props:new Xe({span:12})})]}}Fc.excludes=[R.GRID_ROW,R.ROW,R.GRID,R.SUBTABLE,R.TAB,R.TOOLBOX];class NC extends G{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new ka({props:new Xe({span:12})}),new ka({props:new Xe({span:12})})]}}var Oc={Designer:Fc,Runtime:NC,Property:Dc};class $C extends We{constructor(e){super(e);this.push({type:"object",fields:{}})}}class VC extends K{constructor(e){super(e);if(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")}}}}]}}]),Lu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Bn extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h,g;this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new em(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new nm(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(d=e==null?void 0:e.selectionType)!=null?d:"multiple",this.isFixedHeader=(m=e==null?void 0:e.isFixedHeader)!=null?m:!1,this.isShowSelection=(h=e==null?void 0:e.isShowSelection)!=null?h:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType}}Bn.Rules=VC,Bn.RuntimeRules=$C;class Ki extends U{static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new Bn(e==null?void 0:e.props)}}Ki.excludes=[R.ROW],Ki.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"],Ki.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:"super-setting",visible:!0}];class jC extends G{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new Bn(e==null?void 0:e.props)}}var xc={Designer:Ki,Runtime:jC,Property:Bn};class HC extends We{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Xi extends q{constructor(e){super(e);var n,u,a,r,l,o;this.save=new Me((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Me((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Me((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Me((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Me(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new ne(e==null?void 0:e.datasourceBind)}}Xi.RuntimeRules=HC;class kc extends U{static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Xi(e==null?void 0:e.props)}}kc.excludes=[];class qC extends G{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Xi(e==null?void 0:e.props)}}var Mc={Designer:kc,Runtime:qC,Property:Xi};class UC extends U{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class WC extends G{static get controlType(){return"page"}constructor(e){super(e)}}class GC extends q{constructor(e){super(e);var n;this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Lc={Designer:UC,Runtime:WC,Property:GC};class zC extends U{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class KC extends G{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class XC extends q{constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Nl(e==null?void 0:e.flexConfig)}}var Nc={Designer:zC,Runtime:KC,Property:XC};class QC extends U{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class JC extends G{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class ZC extends q{constructor(e){super(e)}}var $c={Designer:QC,Runtime:JC,Property:ZC};class YC extends U{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class pC extends G{static get controlType(){return"position"}constructor(e){super(e)}}class eE extends q{constructor(e){super(e);var n,u,a,r;this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Vc={Designer:YC,Runtime:pC,Property:eE};class Ha extends q{constructor(e){super(e);var n,u,a;this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(u=e==null?void 0:e.opacity)!=null?u:!0,this.align=(a=e==null?void 0:e.align)!=null?a:"right"}}class qa extends U{static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}constructor(e){super(e);var n;this.props=new Ha((n=e==null?void 0:e.props)!=null?n:{})}}qa.excludes=[],qa.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class tE extends G{static get controlType(){return"action-bar"}constructor(e){super(e);var n;this.props=new Ha((n=e==null?void 0:e.props)!=null?n:{})}}var jc={Designer:qa,Runtime:tE,Property:Ha},nE=Object.freeze({__proto__:null,Grid:vc,Col:gc,Row:Cc,GridRow:Ec,CardGroup:wc,SubTableColumn:Sc,SubTableRow:_c,GridTableColumn:Rc,GridLayoutContainer:Tc,Tab:Pc,TabPane:Bc,Toolbox:Oc,ListView:xc,DataView:Mc,Page:Lc,AdvancedContainer:Nc,PositioningContainer:$c,Position:Vc,ActionBar:jc});class iE extends K{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 uE extends We{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,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class Pn extends Jn{constructor(e,n){super(e,n);var u,a,r,l,o,s,d,m,h,g,S,T,I,B,v,_,A,k,x,te,L,Z,me,ve,Pe,ft,De,we,Tt;this.caption=(u=n==null?void 0:n.caption)!=null?u:Qi.controlName,this.isHideCaption=(a=n==null?void 0:n.isHideCaption)!=null?a:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(l=n==null?void 0:n.labelPosition)!=null?l:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(m=n==null?void 0:n.maxHeight)!=null?m:Ml,this.printMode=(h=n==null?void 0:n.printMode)!=null?h:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.maxRows=(S=n==null?void 0:n.maxRows)!=null?S:null,this.defaultRows=(T=n==null?void 0:n.defaultRows)!=null?T:1,this.datasourceBind=new ne(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(B=n==null?void 0:n.canDelete)!=null?B:!0,this.canCheck=(v=n==null?void 0:n.canCheck)!=null?v:!1,this.canEdit=(_=n==null?void 0:n.canEdit)!=null?_:!1,this.canImport=(A=n==null?void 0:n.canImport)!=null?A:!1,this.canExport=(k=n==null?void 0:n.canExport)!=null?k:!1,this.canClear=(x=n==null?void 0:n.canClear)!=null?x:!0,this.serverPagination=(te=n==null?void 0:n.serverPagination)!=null?te:!1,this.isShowCaptionTip=(L=n==null?void 0:n.isShowCaptionTip)!=null?L:!1,this.captionTip=(Z=n==null?void 0:n.captionTip)!=null?Z:"",this.mobileShowType=(me=n==null?void 0:n.mobileShowType)!=null?me:"list",this.mobileDefaultNum=(ve=n==null?void 0:n.mobileDefaultNum)!=null?ve:10,this.dataStorageDoc=(Pe=n==null?void 0:n.dataStorageDoc)!=null?Pe:new Jy,this.fixedColumn=(ft=n==null?void 0:n.fixedColumn)!=null?ft:[],this.mobileRowCaption=(De=n==null?void 0:n.mobileRowCaption)!=null?De:"\u660E\u7EC6",this.mobileIsTile=(we=n==null?void 0:n.mobileIsTile)!=null?we:!1,this.isPaste=(Tt=n==null?void 0:n.isPaste)!=null?Tt:!1}}Pn.Rules=iE,Pn.RuntimeRules=uE;class Qi extends Qu{static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}constructor(e){super(e);var n,u;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 Ee,new Ee,new Ee]),((u=e==null?void 0:e.props)==null?void 0:u.footers)===void 0&&(this.props.footers=[])}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new Ee,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Qi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Qi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class aE extends _l{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new Pn(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Br("Method not implemented.")}getChildrenFormControl(){return[]}}var Hc={Designer:Qi,Runtime:aE,Property:Pn};class Ua extends Jn{constructor(e,n){super(e,n);var u,a,r,l;this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0}}class rE extends Be{constructor(e){super(e);this.caption.required=!1}}class Ji extends z{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(l=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}Ji.Rules=rE;class Ze extends p{constructor(e){super(e);this.props=new Ji(e==null?void 0:e.props)}}Ze.controlType="order-column",Ze.controlName="\u5E8F\u53F7",Ze.controlIcon="order-column",Ze.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Wa extends ee{constructor(e){super(e);this.props=new Ji(e==null?void 0:e.props)}}Wa.controlType="order-column",Wa.controlFieldType=b.DECIMAL;var qc={Designer:Ze,Runtime:Wa,Property:Ji};class Ga extends z{constructor(e){super(e);var n,u,a,r,l,o;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=e==null?void 0:e.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Ye.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ye extends p{constructor(e){super(e);this.props=new Ga(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return Fn(Fe({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return br(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}Ye.controlType="operation-column",Ye.controlName="\u64CD\u4F5C",Ye.controlIcon="operation-column",Ye.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class za extends ee{constructor(e){super(e);this.props=new Ga(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}za.controlType="operation-column",za.controlFieldType=b.FILE;var Uc={Designer:Ye,Runtime:za,Property:Ga};class Wc extends Qu{static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}constructor(e){super(e);var n;this.props=new Ua(this,e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ze,new Ye]),((n=e==null?void 0:e.props)==null?void 0:n.footers)===void 0&&(this.props.footers=[])}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return Fn(Fe({},e),{children:n})}validate(e,n){var u=a=>super[a];return br(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}Wc.setting=[{key:"list-fixed-header",visible:!0}];class lE extends _l{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new Ua(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Br("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Gc={Designer:Wc,Runtime:lE,Property:Ua},oE=Object.freeze({__proto__:null,SubTable:Hc,GridTable:Gc});class cE extends Rl{constructor(e){super(e);Ge.call(this,e)}}class Zi extends z{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Te((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1}}Zi.Rules=cE;class pe extends p{constructor(e){super(e);this.props=new Zi(e==null?void 0:e.props)}}pe.controlType="varchar-column",pe.controlName="\u77ED\u6587\u672C",pe.controlIcon="varchar-column",pe.controlFieldType=b.VARCHAR,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Ka extends ee{constructor(e){super(e);this.props=new Zi(e==null?void 0:e.props)}}Ka.controlType="varchar-column",Ka.controlFieldType=b.VARCHAR;var zc={Designer:pe,Runtime:Ka,Property:Zi};class sE extends Be{constructor(e){super(e);Ge.call(this,e)}}class Yi extends z{constructor(e){super(e);var n,u,a,r;this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption)}}Yi.Rules=sE;class et extends p{constructor(e){super(e);this.props=new Yi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}et.controlType="text-column",et.controlName="\u957F\u6587\u672C",et.controlIcon="text-column",et.controlFieldType=b.TEXT,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Xa extends ee{constructor(e){super(e);this.props=new Yi(e==null?void 0:e.props)}}Xa.controlType="text-column",Xa.controlFieldType=b.TEXT;var Kc={Designer:et,Runtime:Xa,Property:Yi};class dE extends Be{constructor(e){super(e);Ge.call(this,e)}}class pi extends z{constructor(e){super(e);var n,u,a,r,l,o,s;this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Te((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption)}}pi.Rules=dE;class tt extends p{constructor(e){super(e);this.props=new pi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}tt.controlType="decimal-column",tt.controlName="\u6570\u503C",tt.controlIcon="decimal-column",tt.controlFieldType=b.DECIMAL,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Qa extends ee{constructor(e){super(e);this.props=new pi(e==null?void 0:e.props)}}Qa.controlType="decimal-column",Qa.controlFieldType=b.DECIMAL;var Xc={Designer:tt,Runtime:Qa,Property:pi};class fE extends Be{constructor(e){super(e);Ge.call(this,e)}}class eu extends z{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Oe.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:nt.controlName}}eu.Rules=fE;class nt extends p{constructor(e){super(e);this.props=new eu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}nt.controlType="timescope-column",nt.controlName="\u65E5\u671F\u533A\u95F4",nt.controlIcon="timescope-column",nt.controlFieldType=b.TIMESCOPE,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ja extends ee{constructor(e){super(e);this.props=new eu(e==null?void 0:e.props)}}Ja.controlType="timescope-column",Ja.controlFieldType=b.TIMESCOPE;var Qc={Designer:nt,Runtime:Ja,Property:eu};class hE extends Be{constructor(e){super(e);Ge.call(this,e)}}class tu extends z{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Oe.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:it.controlName}}tu.Rules=hE;class it extends p{constructor(e){super(e);this.props=new tu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}it.controlType="timestamp-column",it.controlName="\u65E5\u671F",it.controlIcon="timestamp-column",it.controlFieldType=b.TIMESTAMP,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Za extends ee{constructor(e){super(e);this.props=new tu(e==null?void 0:e.props)}}Za.controlType="timestamp-column",Za.controlFieldType=b.TIMESTAMP;var Jc={Designer:it,Runtime:Za,Property:tu};class yE extends Rl{constructor(e){super(e)}}class nu extends z{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Te((a=e==null?void 0:e.options)!=null?a:[{}])}}nu.Rules=yE;class ut extends p{constructor(e){super(e);this.props=new nu(e==null?void 0:e.props)}}ut.controlType="array-column",ut.controlName="\u6570\u7EC4",ut.controlIcon="array-column",ut.controlFieldType=b.ARRAY,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Ya extends ee{constructor(e){super(e);this.props=new nu(e==null?void 0:e.props)}}Ya.controlType="array-column",Ya.controlFieldType=b.ARRAY;var Zc={Designer:ut,Runtime:Ya,Property:nu};class pa extends z{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class at extends p{constructor(e){super(e);this.props=new pa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:u}=this.props;n.props.displayLevel=u}return n}}at.controlType="department-column",at.controlName="\u90E8\u95E8",at.controlIcon="department-column",at.controlFieldType=b.DEPARTMENTS,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class er extends ee{constructor(e){super(e);this.props=new pa(e==null?void 0:e.props)}}er.controlType="department-column",er.controlFieldType=b.DEPARTMENTS;var Yc={Designer:at,Runtime:er,Property:pa};class mE extends Be{constructor(e){super(e);Ge.call(this,e)}}class iu extends z{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption)}}iu.Rules=mE;class rt extends p{constructor(e){super(e);this.props=new iu(e==null?void 0:e.props)}}rt.controlType="auto-number-column",rt.controlName="\u81EA\u52A8\u7F16\u53F7",rt.controlIcon="auto-number-column",rt.controlFieldType=b.AUTO_NUMBER,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class tr extends ee{constructor(e){super(e);this.props=new iu(e==null?void 0:e.props)}}tr.controlType="auto-number-column",tr.controlFieldType=b.AUTO_NUMBER;var pc={Designer:rt,Runtime:tr,Property:iu};class nr extends z{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends p{constructor(e){super(e);this.props=new nr(e==null?void 0:e.props)}}lt.controlType="file-column",lt.controlName="\u9644\u4EF6",lt.controlIcon="file-column",lt.controlFieldType=b.FILE,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ir extends ee{constructor(e){super(e);this.props=new nr(e==null?void 0:e.props)}}ir.controlType="file-column",ir.controlFieldType=b.FILE;var es={Designer:lt,Runtime:ir,Property:nr};class ur extends z{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName}}class ot extends p{constructor(e){super(e);this.props=new ur(e==null?void 0:e.props)}}ot.controlType="image-column",ot.controlName="\u56FE\u7247",ot.controlIcon="image-column",ot.controlFieldType=b.IMAGE,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ar extends ee{constructor(e){super(e);this.props=new ur(e==null?void 0:e.props)}}ar.controlType="image-column",ar.controlFieldType=b.IMAGE;var ts={Designer:ot,Runtime:ar,Property:ur};class rr extends z{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName}}class ct extends p{constructor(e){super(e);this.props=new rr(e==null?void 0:e.props)}}ct.controlType="people-column",ct.controlName="\u4EBA\u5458",ct.controlIcon="people-column",ct.controlFieldType=b.EMPLOYEES,ct.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class lr extends ee{constructor(e){super(e);this.props=new rr(e==null?void 0:e.props)}}lr.controlType="people-column",lr.controlFieldType=b.EMPLOYEES;var ns={Designer:ct,Runtime:lr,Property:rr};class vE extends Be{constructor(e){super(e);Ge.call(this,e)}}class uu extends z{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:st.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption)}}uu.Rules=vE;class st extends p{constructor(e){super(e);this.props=new uu(e==null?void 0:e.props)}}st.controlType="location-column",st.controlName="\u5730\u5740",st.controlIcon="location-column",st.controlFieldType=b.ADDRESS,st.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class or extends ee{constructor(e){super(e);this.props=new uu(e==null?void 0:e.props)}}or.controlType="location-column",or.controlFieldType=b.ADDRESS;var is={Designer:st,Runtime:or,Property:uu};class cr extends z{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const gE=1;class qe extends p{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new cr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),this.excludes=xe(n),this.childrenMaxLength=u}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:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return Fn(Fe({},e),{children:this.children.map(n=>n.toSchema())})}}qe.controlType="custom-column",qe.controlName="\u81EA\u5B9A\u4E49",qe.controlIcon="custom-column",qe.excludes=[],qe.childrenMaxLength=gE,qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class us extends ee{constructor(e){super(e);this.props=new cr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}us.controlType="custom-column";var as={Designer:qe,Runtime:us,Property:cr};class sr extends z{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.datasourceBind=new Mn((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Ue.controlCustomAttributes})}}class Ue extends p{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new sr(e==null?void 0:e.props)}}Ue.controlType="employee-column",Ue.controlName="\u4EBA\u5458",Ue.controlIcon="employee-column",Ue.controlFieldType=b.EMPLOYEES,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class dr extends ee{constructor(e){super(e);this.props=new sr(e==null?void 0:e.props)}}dr.controlType="employee-column",dr.controlFieldType=b.EMPLOYEES;var rs={Designer:Ue,Runtime:dr,Property:sr};class fr extends z{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:dt.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ke(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class dt extends p{constructor(e){super(e);this.props=new fr(e==null?void 0:e.props)}}dt.controlType="approval-status-column",dt.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",dt.controlIcon="approval-status-column",dt.excludes=[],dt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}];class ls extends ee{constructor(e){super(e);this.props=new fr(e==null?void 0:e.props)}}ls.controlType="approval-status-column";var os={Designer:dt,Runtime:ls,Property:fr},bE=Object.freeze({__proto__:null,VarcharColumn:zc,TextColumn:Kc,DecimalColumn:Xc,TimescopeColumn:Qc,TimestampColumn:Jc,ArrayColumn:Zc,DepartmentColumn:Yc,AutoNumberColumn:pc,FileColumn:es,ImageColumn:ts,PeopleColumn:ns,LocationColumn:is,CustomColumn:as,OrderColumn:qc,OperationColumn:Uc,EmployeeColumn:rs,ApprovalStatusColumn:os});class CE extends We{constructor(e){super(e);this.push({type:"object",fields:{}})}}class au extends aa{constructor(e){super(e);var n,u,a,r,l,o,s,d,m,h;this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.viewType=(a=e==null?void 0:e.viewType)!=null?a:"mini",this.search=new Me((r=e==null?void 0:e.search)!=null?r:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Me((l=e==null?void 0:e.cancel)!=null?l:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(g=>new Me(g)),this.queryTypeMap=(d=e==null?void 0:e.queryTypeMap)!=null?d:[],this.childMinWidth=(m=e==null?void 0:e.childMinWidth)!=null?m:230,this.colGap=(h=e==null?void 0:e.colGap)!=null?h:24}}au.RuntimeRules=CE;class hr extends v0{constructor(e){super(e);this.props=new au(e==null?void 0:e.props)}}hr.controlType="simple-search",hr.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:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class cs extends _0{constructor(e){super(e);var n;this.props=new au(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}cs.controlType="simple-search";var ss={Designer:hr,Runtime:cs,Property:au},EE=Object.freeze({__proto__:null,SimpleSearch:ss});class yr extends ca{constructor(e){super(e);var n;this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class wE extends V0{static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}constructor(e){super(e);this.props=new yr(e==null?void 0:e.props)}}class IE extends K0{static get controlType(){return"grid-layout-wrap"}constructor(e){super(e);this.props=new yr(e==null?void 0:e.props)}}function FE(t){return t}var SE={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},ds={Designer:wE,Runtime:IE,Property:yr,Setting:SE},_E=Object.freeze({__proto__:null,GridLayoutWrap:ds});y.ActionBar=jc,y.Address=Vo,y.AdvancedContainer=Nc,y.Amount=Mo,y.ApprovalStatusColumn=os,y.ArrayColumn=Zc,y.AssignType=je,y.Attachment=Fo,y.AutoNumber=Uo,y.AutoNumberColumn=pc,y.BatchDeleteButton=lo,y.BatchPrintListButton=uo,y.BatchPrintRecordListButton=ao,y.BatchSubmissionListButton=Ul,y.Button=Dl,y.Calc=Go,y.CardGroup=wc,y.Checkbox=fo,y.Col=gc,y.CreateFormListButton=ql,y.CustomColumn=as,y.DATE_CONFIG_TYPE=Fl,y.DATE_LIMIT_TYPE=Ol,y.Dashboard=pl,y.DataView=Mc,y.DatePicker=bo,y.DateRange=Eo,y.DecimalColumn=Xc,y.Department=Ho,y.Department2=fc,y.DepartmentColumn=Yc,y.DepartmentType=ci,y.Divider=jl,y.ElectronicSignature=oc,y.ElectronicSignatureConfig=xl,y.Employee=Do,y.Employee2=rc,y.EmployeeColumn=rs,y.EncryptTypeEnum=$l,y.Explain=oi,y.ExportListButton=Gl,y.ExportRecordListButton=zl,y.ExportTemplate=ba,y.FileColumn=es,y.FlexStyleConfig=Nl,y.FormSelectButton=Xl,y.Grid=vc,y.GridLayoutContainer=Tc,y.GridLayoutWrap=ds,y.GridRow=Ec,y.GridTable=Gc,y.GridTableColumn=Rc,y.Image=xo,y.ImageColumn=ts,y.ImportRecordListButton=Kl,y.Input=co,y.InternalType=wa,y.InvoiceCheckButton=io,y.LINE_STYLE=va,y.LimitDate=li,y.Link=Pl,y.ListSelectButton=Ql,y.ListView=xc,y.ListViewSelect=to,y.LocationColumn=is,y.Number=vo,y.OperationButton=ro,y.OperationColumn=Uc,y.OrderColumn=qc,y.OrganizationSelection=yc,y.OrganizeType=Ea,y.Page=Lc,y.Pagination=Zl,y.PeopleColumn=ns,y.Position=Vc,y.PositioningContainer=$c,y.PrintTemplate=Ll,y.Radio=yo,y.RichText=_o,y.Row=Cc,y.SCORE_TYPE=ma,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Ml,y.Score=No,y.SearchDateRange=Qo,y.SearchInput=nc,y.SearchNumberRange=Ko,y.Select=Ro,y.SelectMultiple=Bo,y.SelectRelation=po,y.SimpleSearch=ss,y.SubTable=Hc,y.SubTableColumn=Sc,y.SubTableRow=_c,y.SubmissionRecordListButton=Wl,y.Tab=Pc,y.TabPane=Bc,y.Text=Bl,y.TextColumn=Kc,y.TextOcrButton=no,y.Textarea=Io,y.TimescopeColumn=Qc,y.TimestampColumn=Jc,y.Title=Hl,y.TitleConfigEnum=Ve,y.Toolbox=Oc,y.Tree=uc,y.UndersignedPerson=ga,y.VarcharColumn=zc,y.VueFormItem=Zo,y.WPS=sc,y.WPSSetting=kl,y.WpsOperationItem=Ca,y.baseControls=Pb,y.columnControls=bE,y.formControls=SC,y.initExpression=Nt,y.layoutControls=nE,y.listControls=oE,y.searchControls=EE,y.wrapControls=_E,Object.defineProperty(y,"__esModule",{value:!0})});